Open m-natarajan opened 1 week ago
Triggered auto assignment to @adelekennedy (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
mWeb splash screen displays the iconmark logo at a very small size.
Size is set to 52x52 for devices with width 479 px and less.
We can update the width and height to some value decided by the design team.
@media screen and (max-width: 479px) {
.splash-logo > svg {
width: 80px;
height: 80px;
}
}
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.
mWeb splash screen displays the iconmark logo at a very small size
We have different svg sizes defined for small screens here
We should have the same logo size for all devices, we will:
Remove the width limit for the desktop size svg style here: https://github.com/Expensify/App/blob/937c4186409725b57fdaae6ae8e1d8c85a9d52a0/web/index.html#L84-L89
Remove the mobile size svg style here: https://github.com/Expensify/App/blob/937c4186409725b57fdaae6ae8e1d8c85a9d52a0/web/index.html#L91
@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 (External
)
made external - let's goooo
mWeb splash screen displays the iconmark logo at a very small size
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. https://github.com/Expensify/App/blob/937c4186409725b57fdaae6ae8e1d8c85a9d52a0/web/index.html#L91-L96
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;
}
}
splash screen displays the iconmark logo at a very small size
These two styles change the size of the icon based on screen size. The icon's size should be constant for any screen size.
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:
//App/web/index.html#L84
.splash-logo > svg {
width: 104px;
height: 104px;
}
📣 @Mmore35! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Contributor details Your Expensify account email: michaela.coding@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~01a38afc4ef2929c42
✅ 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.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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: @ahmedGaber93