-
-
Notifications
You must be signed in to change notification settings - Fork 378
feat: 6119 - show edit shortcut in gallery screens #6499
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
base: develop
Are you sure you want to change the base?
Conversation
Run dart format --set-exit-if-changed . |
@teolemon Does this mean I need to reformat and push again? |
Yes |
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.
I don't understand why you have to hardcode a String.
ImageField is already an enumeration
Also I have some doubts about this icon. |
If you mean what happens when the user opens the photo from the Edit Ingredients screen, it would take you to another Edit Ingredients screen. Would it be preferable to add the capability to track how the user landed on the photo view, so that it would take the user back to the previous page in this particular case? |
In that case, the button shouldn't be visible. |
@g123k Maybe I should change this icon to the one displayed in the product information screen (e.g. mixing bowl for ingredients)? That way the only edit icon in the photo view will be for editing the photo. Or, looking at your Sketch mockup, should I put the edit shortcut in a menu that pops up when selecting the kebab menu in the title bar? |
@teolemon This was your issue. |
The kebab menu would allows craming in Nutri-Patrol as well, and add explicit text in addition to the icon @qq3173732005 @g123k |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6499 +/- ##
==========================================
- Coverage 9.54% 5.74% -3.81%
==========================================
Files 325 511 +186
Lines 16411 30371 +13960
==========================================
+ Hits 1567 1744 +177
- Misses 14844 28627 +13783 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Then I'll implement the kebab menu. Is there an issue for the menu that I can link? |
What
ScreenshotFixes bug(s)Closes: #6119 At the moment, the menu is empty when pulled up from the Front Packaging screen, with the intention that the report and license buttons from the mockup will be added to it. Is that the preferred way to handle that screen? Should I go ahead and add those buttons too? |
Report and license are implemented in another PR. |
What
Screenshot
Fixes bug(s)
Closes: #6119