Open shawnborton opened 1 week ago
Job added to Upwork: https://www.upwork.com/jobs/~0116b9010289ce564f
Triggered auto assignment to @adelekennedy (NewFeature
), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External
)
@shawnborton
use combined RBR + button pattern when needed. Our buttons already support having an icon in them, we'd just pass the RBR icon plus a color
Maybe it is not implemented in staging, right? Now, all the button have "View" title.
This is new feature.
don't use bold for the report title, use the same font as everywhere else
We can update this style: https://github.com/Expensify/App/blob/b021195b864211efbaaefe188226b2830b91b7d8/src/styles/index.ts#L5030-L5034 to:
reportListItemTitle: {
color: theme.text,
fontSize: variables.fontSizeNormal,
},
reportListItemBoldTitle: {
color: theme.text,
fontSize: variables.fontSizeNormal,
fontWeight: FontUtils.fontWeight.bold,
},
<Text style={[styles.reportListItemTitle]}>{reportItem?.reportName}</Text>
With this change, the bold is removed and the font size is 15px.
remove the HR line that is above the expenses and below the title remove X grouped expenses text
move the expense type icon to the left of the row
use a more subtle style for view button
We can update the View button's style: https://github.com/Expensify/App/blob/b021195b864211efbaaefe188226b2830b91b7d8/src/components/SelectionList/Search/TransactionListItemRow.tsx#L161
style={[styles.w100]}
innerStyles={{backgroundColor: 'transparent'}}
textStyles={{color: '#007bff'}}
The hover, press styles can be updated in PR.
use combined RBR + button pattern when needed. Our buttons already support having an icon in them, we'd just pass the RBR icon plus a color
{text, icon, iconFill}
data from the current item.
<Button
...
remove the X grouped expenses text
don't use bold for the title or amount
use combined RBR button
We can create a new function to get the {text, icon, iconFill}
data from the current item.
Then update: https://github.com/Expensify/App/blob/b021195b864211efbaaefe188226b2830b91b7d8/src/components/SelectionList/Search/ReportListItem.tsx#L148-L155 to:
<ExpenseItemHeaderNarrow
...
buttonText={buttonText}
icon={icon}
iconFill={iconFill} />
Then, update: https://github.com/Expensify/App/blob/b021195b864211efbaaefe188226b2830b91b7d8/src/components/SelectionList/Search/ExpenseItemHeaderNarrow.tsx#L50-L56 to:
<Button
...
text={buttonText}
icon={icon}
iconFill={iconFill} />
Maybe it is not implemented in staging, right? Now, all the button have "View" title.
Yeah, none of this is on staging. But what I meant by that comment was that our buttons have a prop where they can take an icon, so we get buttons that look like this:
So I'm saying we can pass in the "dot indicator" icon we have, but also pass in a color (danger red) for it, too.
@sobitneupane one proposal to review above
@luacmartins, @sobitneupane, @adelekennedy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@sobitneupane Do you mind prioritizing this one when you're online. These are important polish items we'd like to get in product and stress test as soon as we reasonably can.
Thanks for the proposal @dominictb
Overall your proposal looks good to me. I think we should prioritize moving on to the PR, where we can address the minor details.
π π π C+ reviewed
Current assignee @luacmartins is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.
π£ @dominictb π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
ETA: PR will be up in a day or two.
Quick comment since we just started working on the PR. @shawnborton didn't we agree to remove tags on mobile, and in addition the folder icon for categories since only a category will appear on that line moving forward?
Yup, but I think we should do that as a separate GH? Maybe even consider doing the Merchant/Description idea too where we show the Description in place of Merchant if no Merchant is available on mobile?
@luacmartins, @sobitneupane, @adelekennedy, @dominictb Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Cool, we can go that route too.
Any update on PR @dominictb?
@sobitneupane I am working on it and PR will be opened in a few hours.
About the feature:
use combined RBR + button pattern when needed. Our buttons already support having an icon in them, we'd just pass the RBR icon plus a color
action === 'paid` || action === 'done'
, we display like:@shawnborton @luacmartins When does the button display as below?
Ah, I guess we haven't implemented the red dots yet for violations so I think we can skip that part for now. @luacmartins does that sound right? When do we plan to add violations here?
@sobitneupane PR https://github.com/Expensify/App/pull/44674 is ready, and based on the comment above, we can skip:
use combined RBR + button pattern when needed. Our buttons already support having an icon in them, we'd just pass the RBR icon plus a color
Violations are blocked on the migration to Auth, so whenever that project is ready.
I agree that we don't need to worry about them in the meantime though
We're finding that the bold report title style and "X grouped expenses" feels a bit jarring when we show grouped expenses on the Search page. To help make this page feel more consistent, we'd like to make the following changes on Desktop Search for grouped expenses:
That gives us something like this for desktop:
For mobile, we'll take a few similar approaches:
Also note: we'll want to make sure this PR gets merged first since it has some font changes we'll want here
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sobitneupane