mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #6629] [MERGED] fix: crash on delete button press caused by GoRouter #7497
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#7497
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6629
Author: @rensawamo
Created: 10/27/2024
Status: ✅ Merged
Merged: 10/28/2024
Merged by: @LucasXu0
Base:
main← Head:main📝 Commits (2)
98557a2fix: crash on delete button press caused by GoRouterccf193cfix: gorouter pop📊 Changes
2 files changed (+67 additions, -60 deletions)
View changed files
📝
frontend/appflowy_flutter/lib/mobile/presentation/base/view_page/more_bottom_sheet.dart(+65 -60)📝
frontend/appflowy_flutter/lib/workspace/application/view/view_bloc.dart(+2 -0)📄 Description
I identified an issue where the iOS app would crash due to a GoRouter error when attempting to return to the home screen after deleting a workspace. This pull request includes a fix for the bloc to handle the navigation correctly, ensuring a smooth transition back to the home screen without errors.
IOS app is being released and needs to be resolved as soon as possible!
https://github.com/user-attachments/assets/2b3c793f-5033-4c84-946f-6cf4d24bb42c
Fixes:
https://github.com/user-attachments/assets/16c0cb45-1549-44f8-83fd-75b244241bd8
Resolved GoRouter crash by updating the bloc logic to manage navigation properly upon workspace deletion.
PR Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.