-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-07-26] [$250] mWeb splash screen displays the iconmark logo at a very small size #44624
Comments
Triggered auto assignment to @adelekennedy ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb splash screen displays the iconmark logo at a very small size. What is the root cause of that problem?Size is set to 52x52 for devices with width 479 px and less. Lines 91 to 96 in 937c418
What changes do you think we should make in order to solve the problem?We can update the width and height to some value decided by the design team.
Else, we can also use the same size on all devices. Then, we'll not need the max-width or min-width conditional items. |
CC: @shawnborton |
I kind of think the best solution is to just get rid of any mobile-only styles here and just use the same thing we use on desktop. |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb splash screen displays the iconmark logo at a very small size What is the root cause of that problem?We have different svg sizes defined for small screens here Lines 91 to 96 in 937c418
What changes do you think we should make in order to solve the problem?We should have the same logo size for all devices, we will: Remove the width limit for the desktop size svg style here: Lines 84 to 89 in 937c418
Remove the mobile size svg style here: Line 91 in 937c418
|
@adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01a88bc54afc480cd3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
made external - let's goooo |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb splash screen displays the iconmark logo at a very small size What is the root cause of that problem?The iconmark logo appears very small because the width (52px) and height (52px) values set in the media query for screens with a max-width of 479px. Lines 91 to 96 in 937c418
What changes do you think we should make in order to solve the problem?The iconmark logo should resize with each screen to avoid the iconmark logo being too big or too small. // App/blob/main/web/index.html#L90
+.splash-logo {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ text-align: center;
+}
// App/blob/main/web/index.html#L91
@media screen and (max-width: 479px) {
.splash-logo > svg {
- width: 52px;
+ width: 50%;
- height: 52px;
+ height: 50%;
+ max-width: 208px;
}
}
POCScreen.Recording.2024-07-02.at.23.59.46.movWhat alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.splash screen displays the iconmark logo at a very small size What is the root cause of that problem?These two styles change the size of the icon based on screen size. The icon's size should be constant for any screen size. Lines 84 to 96 in 937c418
What changes do you think we should make in order to solve the problem?These two styles should be removed and replaced with one style that covers all screen sizes. This change will address this bug and ensure a consistent UX going forward. Remove lines 84-96 and replace it with:
|
📣 @Mmore35! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@ShridharGoel's proposal LGTM! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@ahmedGaber93 Why did you choose a proposal with hard-coded width and height? It's not good because it doesn't resize well on small devices. |
I don't think we need to make it resizable based on screen dimensions like what we do in medium and large screen on web, the icon size is fixed, and the green background fit the screen |
While a fixed solution might be okay, I believe a responsive icon mark logo will improve the user experience, making it feel more like a native platform. |
I really don't think we need multiple sizes for this. I think the size we already use on desktop/web will look great on mobile, and this way we don't need to maintain multiple sizes across devices. |
@grgia bump for assignment |
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ShridharGoel 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ShridharGoel @grgia @ahmedGaber93 @adelekennedy this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@ShridharGoel please let me know when PR is ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.9-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-26. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
payment due next week - @ahmedGaber93 will you fill out the checklist when you have a moment? |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
This a small change in the icon size. I think no need for regression test. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.3-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719557303345799
Action Performed:
Expected Result:
Splash screen icon mark logo should be same across all platform
Actual Result:
mWeb splash screen displays the iconmark logo at a very small size when compared with native app
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @adelekennedyThe text was updated successfully, but these errors were encountered: