-
-
Notifications
You must be signed in to change notification settings - Fork 368
feat: Add receipt and price icons to prices screen #6421
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?
feat: Add receipt and price icons to prices screen #6421
Conversation
hello @teolemon Ran dart format command and can you please review thanks |
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.
Hey @vinay769
Left some comments
packages/smooth_app/macos/Flutter/GeneratedPluginRegistrant.swift
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6421 +/- ##
==========================================
- Coverage 9.54% 5.84% -3.71%
==========================================
Files 325 490 +165
Lines 16411 29259 +12848
==========================================
+ Hits 1567 1711 +144
- Misses 14844 27548 +12704 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
done with this thanks to @AshAman999 @teolemon please take a look |
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.
Hi @vinay769!
There are conflicts to be fixed, because of recent changes in the master branch.
You should add your IconData
in ProofTypeExtension
.
I'm very worried about the UI.
You're lucky because your screenshots are in English, with small words.
Would you please try with different longer labels? I suggest "Ticket de caisse" and "Etiquette de prix".
packages/smooth_app/macos/Flutter/GeneratedPluginRegistrant.swift
Outdated
Show resolved
Hide resolved
Okay thanks for you valuable feedback @monsieurtanuki i was working on this and get back to you ASAP with great solution |
hello @monsieurtanuki @teolemon
if both the above answer is yes then the UI is ready to merge |
Hi @vinay769! |
hello @monsieurtanuki Would you kindly review the following code and provide feedback for optimization? |
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.
Hi @vinay769!
Please have a look at my comments.
Would you try with 2 rows of radio buttons, instead of 2 columns? Please post the screenshots.
In case my demand is not explicit enough given the polysemous concepts of rows and columns (especially in flutter), let me draw what I intended.
* Column 1 | * Column 2
and
* Row 1 _______________
* Row 2 _______________
packages/smooth_app/macos/Flutter/GeneratedPluginRegistrant.swift
Outdated
Show resolved
Hide resolved
child: RadioListTile<ProofType>( | ||
title: Text(item.getTitle(appLocalizations)), | ||
value: item, | ||
children: <Widget>[ |
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.
You've rolled back the previous code.
Please stick to the previous code unless you have a good reason. Duplicating code is not a good reason.
final BuildContext context, { | ||
required final List<_ProofSource> sources, | ||
}) async { | ||
static Future<_ProofSource?> select(final BuildContext context) async { |
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.
Please stick to the previous code (especially as you've removed bug fixes).
Besides, _ProofSource
has nothing to do with the current PR, therefore I wouldn't expect reviewing that code.
Unless there's a good reason.
Hello @vinay769, You can use the following layout:
This component will be used elsewhere in the app, so don't hesitate to make it generic. |
Thanks @g123k for this. |
Any update on this? |
Hello @g123k, |
What
feat
, for Features enhancing User Experience and User InterfaceScreenshot
Part of