-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2025-02-04] Update the design of the More Features page in the Workspace editor #55390
Comments
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
Triggered auto assignment to @adelekennedy ( |
Looks good to me! Also, porting over a comment from Slack, based on a comment from Shawn on the positioning of
|
🚨 Edited by proposal-police: This proposal was edited at 2025-01-17 10:43:13 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Update the design of the More Features page in the Workspace editor What is the root cause of that problem?New feature What changes do you think we should make in order to solve the problem?
{display: 'grid', gridTemplateColumns: '1fr 1fr', gap: 12}
For the detailed spacing, margin, padding, we need Figma to figure them out in details. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)NA |
Cool, I'll update the OP with a new mock and a note about reordering. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Update the design of the More Features page in the Workspace editor What is the root cause of that problem?New feature What changes do you think we should make in order to solve the problem?
Add on styles/index.ts
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?n/a What alternative solutions did you explore? (Optional)n/a |
ProposalPlease re-state the problem that we are trying to solve in this issue.The current design of the "More Features" page in the Workspace editor is too long and causes valuable features to be tucked further down the page, resulting in reduced visibility and engagement. What is the root cause of that problem?The page layout lacks compactness, with features listed one below the other, requiring excessive scrolling. This layout is not optimized for mobile or tablet users, making the page look lengthy and overwhelming. What changes do you think we should make in order to solve the problem?To address this, we propose the following updates to Grid Layout for Feature Toggles: Implement a grid-based layout for feature toggles to display two toggles per row on desktop and one toggle per row on mobile and tablet. Reorder Sections: Update the order of sections by moving Integrate directly below Spend and placing Earn (Invoices) at the bottom of the page to prioritize higher-value features. General Improvements: Adjust margins, padding, and background colors for individual feature toggles to enhance the visual hierarchy. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Ensure the grid layout renders correctly across all screen sizes: desktop, tablet, and mobile. What alternative solutions did you explore? (Optional)Arcadian Dropdown for Mobile: Introduce dropdowns for mobile views to group and categorize features under expandable sections. This will make the page shorter and help users quickly navigate to specific sections. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Change layout for Workspace more features page. What is the root cause of that problem?New UI changes. What changes do you think we should make in order to solve the problem?I don't think we can use
{
backgroundColor: theme.cardBG,
borderRadius: 16,
paddingHorizontal: 16,
paddingVertical: 20,
minWidth: 400, (prevent option from shrinking from less than this width and wrap to next line).
flexGrow: 1,
flexShrink: 0,
flexBasis: '49%',
maxWidth: shouldUseNarrowLayout? '100%' : '49%' (100% on mobile),
marginTop: 0
} Actual style rules will be done as per mocks and these styles will be converted to styles objects in the styles file. This suggests the way to achieve the layout. 17.01.2025_21.28.10_REC.mp4What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None UI changes. What alternative solutions did you explore? (Optional) |
@parasharrajat , I think we can use the layout grid in React Native Web, and it works perfectly here. |
But not on native. We should also consult internally if we are ready to use grid layout or mix styles patterns based on platform. |
But on native, we don’t need to use it, as we have a different UI for native and web here. On native, we’ll use a column layout, so in my opinion, this won’t be an issue. |
Though I don’t think it’s a major issue whether we use a grid or flexRow, I’ll leave this decision to the internal engineer. |
It is. It is about adopting new patterns and getting consensus. Just like Async await.... if you know, you know what I am saying. Are we comfortable adopting grid layout yet? I believe not yet. As react-native still not follows it and we don't want two many divergence in code base. I would suggest you raise this on Slack and we start a discussion there before moving here. |
@jayeshmangwani Don't approve using something which is not supported on React Native since we will start supporting wide layout for tablets soon. I would personally prefer @parasharrajat advice here. |
@shubham1206agra We’re already using the web-specific display styling. |
Cool, I'll start a discussion on #expensify-open-source to get consensus |
Let's proceed with @parasharrajat's Proposal. Based on the opinions shared on Slack, everyone agrees to use the flexRow layout instead of the grid layout 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @carlosmiceli, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.89-8 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 2025-02-04. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
@jayeshmangwani seems right! |
Payment Summary
BugZero Checklist (@adelekennedy)
|
Contributor: @parasharrajat paid $250 via Upwork |
$250 approved for @jayeshmangwani |
$250 approved for @parasharrajat |
Problem:
Our current design of the
More features
page causes the page to be quite long, which tucks valuable workspace features further down the page and out of sight. We think it may be harming engagement with this page.Solution
Let's update the
More features
page to use a more compact design that brings more features into view, and removes some unnecessary copy.We also want to move
Integrate
to be directly belowSpend
, and moveEarn
(invoices) to the bottom.cc @Expensify/design @JmillsExpensify @trjExpensify @anmurali @danielrvidal
Issue Owner
Current Issue Owner: @adelekennedyThe text was updated successfully, but these errors were encountered: