-
Notifications
You must be signed in to change notification settings - Fork 172
Achievements Page Mobile View #2868
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
Conversation
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 double check the diff and do not commit random changes to the repo, I've pushed some reverts to delete all the miscellaneous files and renamings of various files, I'm just left with one question below:
tsconfig.json
Outdated
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.
What's this change for?
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.
Could you provide a screenshot of the UI in the PR description? |
Pull Request Test Coverage Report for Build 8463885828Details
💛 - Coveralls |
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, thanks for working on this! I just have the one comment below:
label="View Hidden Achievements" | ||
onChange={() => changeViewHidden(!viewHidden)} | ||
/> | ||
<div className="achievement-manual-editor"> |
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 are wrapping an achievement-manual-editor
inside an achievement-manual-editor
, is this intentional?
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.
Nope, I have undid this change in a newer commit.
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.
LGTM, thanks!
* updated for mobile * fixed formatting * ran test suites * minor achievement card changes * Revert snapshot change * Remove committed temporary file * Revert unnecessary changes * Remove test coverage file * reverted tsconfig change * made achievement card scrollable * Removed additional div * Add css to achivementcontrol so it would format the page properly * fixed formatting issues --------- Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com> Co-authored-by: sayomaki <sayomayomaki@gmail.com>
Description
Closes #2150
Reorganised the achievements page so that its mobile-friendly. The layout has been adjusted to ensure better readability and interaction on smaller screens. Components are now stacked vertically and wrap properly when the screen size does not allow for horizontal alignment.
Before: There was no mobile display for the achievements page and elements where displayed for landscape view.

After: Elements now stack vertically with each other when reaching mobile breakpoint.

There would be auto scroll for child divs which are larger than their parent divs.

Type of Change
How to Test
Please provide any additional steps or configurations if applicable.
Checklist