fix: user name stay no change when reopen the setting menu after renaming#7828
fix: user name stay no change when reopen the setting menu after renaming#7828
Conversation
Reviewer's Guide by SourceryThis pull request refactors how the user profile is managed and propagated throughout the application, ensuring that updates to the user profile (such as renaming) are immediately reflected in the UI, even after reopening the settings menu. The changes centralize user profile state management within the UserWorkspaceBloc, update all relevant UI components to consume the user profile from the bloc's state, and improve the reactivity of the settings dialog and related widgets. Additionally, the PR introduces workspace type handling in several places, and makes related adjustments in both Flutter and Rust code to support this. Redundant passing of user profile objects as parameters is removed, and event handling is improved to prevent UI staleness. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @appflowy - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Feature Preview
PR Checklist
Summary by Sourcery
Refactor user profile management to improve state handling and synchronization across the application
Bug Fixes:
Enhancements:
Chores: