-
Notifications
You must be signed in to change notification settings - Fork 13
Patch group profile image #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a2b934b
refactor: replace relay connection check with delayed relay error sta…
codeswot 44644b4
feat: implement delayed relay error handling and optimize connection …
codeswot 17631fe
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 476f0d9
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot e69e0f0
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 68b926c
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot c7e2a70
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot b6fa9fb
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 4299063
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 3c87763
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot a38954e
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 41aebf7
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot a9f9390
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 36884d1
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot f4c49de
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot bf43723
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot d970a79
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot 7cf323c
Merge branch 'master' of github.com:parres-hq/whitenoise_flutter
codeswot b3f75f3
Add group image path caching and retrieval functionality
codeswot 3cf0bb3
Add group image path handling in GroupChatInfo
codeswot 6c747bc
Refactor GroupChatInfo to manage group image path and subscription li…
codeswot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update groupImagePath when the provider changes.
The listener only calls
_loadMembers()but doesn't updategroupImagePathwhen the groups provider changes. Since group images are loaded in parallel (per the PR description), the cached image path may become available after initialization, and the UI won't reflect the updated image until another rebuild occurs.Apply this diff to update the image path when the provider changes:
_groupsSubscription = ref.listenManual(groupsProvider, (previous, next) { if (mounted) { + setState(() { + groupImagePath = ref.read(groupsProvider.notifier).getCachedGroupImagePath(widget.groupId); + }); _loadMembers(); } });🤖 Prompt for AI Agents