Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Shrink image sizes of attachments in Reply app. #996

Merged
merged 7 commits into from
Aug 22, 2023
Merged

Conversation

jonahwilliams
Copy link
Member

During the investigation of flutter/flutter#132690 , we discovered that the Reply image previews are the fully size 2000x2000 images. The decoding of these images is putting the device under heavy strain which is making it hard to diagnose other performance issues.

@@ -151,6 +151,7 @@ class _ShrineAppState extends State<ShrineApp>

return ScopedModel<AppStateModel>(
model: _model.value,
// ignore: deprecated_member_use
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't think this should be updated now because the framework change has not made it to g3 yet (and it had to be reverted once)

@jonahwilliams
Copy link
Member Author

So how do I update these goldens? I don't see the download button in the Github UI like https://github.com/flutter/gallery/blob/main/test_goldens/README.md shows

@zanderso
Copy link
Member

I see links under the step "Upload goldens if tests fail", but I get auth errors(?) when I click on them. Not sure who is on the right ACLs for this repo. Maybe @HansMuller or @goderbauer know?

@goderbauer
Copy link
Member

I also get auth errors. @guidezpl would probably know how to do this.

@jonahwilliams jonahwilliams merged commit ecfb9e5 into main Aug 22, 2023
14 checks passed
@jonahwilliams jonahwilliams deleted the shrink_images branch August 22, 2023 21:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants