-
Notifications
You must be signed in to change notification settings - Fork 1
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
Jc2755/refactor challenges journeys #236
base: master
Are you sure you want to change the base?
Conversation
…e numbers - Adjusted progress bar width to dynamically scale based on the number of digits in total points, achievements, etc., providing better visual alignment. - Implemented formatting to shorten large numbers (e.g., 1500 becomes 1.5K) for improved readability.
…UI changes to profile page.
[diff-counting] Significant lines: 284. |
constraints.maxWidth, | ||
height: 13, | ||
alignment: Alignment.centerLeft, | ||
child: Container( |
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.
Instead of having a container with a another container inside of it, the BoxDeocration should be able to be applied to the outer container.
Nice job abstracting out repetitive code. I still see a lot of places where we're using static inputs for attributes like top and height. We can start transitioning these to MediaQuery where relevant to maintain a dynamic UI. I also left a comment about reducing the nesting of Container widgets, which should help make the code cleaner. |
Summary
This pull request is the first step towards implementing abstracting repetitive logic into utility functions to improve reusability and maintainability.
Remaining TODOs: