Skip to content
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-06-24] [$125] [Search v1] Search page: Show dates for prior year transactions #43209

Closed
JmillsExpensify opened this issue Jun 6, 2024 · 46 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@JmillsExpensify
Copy link

JmillsExpensify commented Jun 6, 2024

Problem

We're on the cusp of launching a v1 Search page, which means it's possible to see transactions from prior years. What I mean by this is that we are now in 2024, and I have a transaction I can find on the Search from back in 2017. The issue is that I have no idea looking at the transaction that it's from that far back.

Here's the New Expensify transaction.
CleanShot 2024-06-06 at 12 16 38@2x

Here's the Expensify Classic transaction
CleanShot 2024-06-06 at 12 17 06@2x

Solution

When looking at a prior year transaction, show the year, in addition to the month and date.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017440ce6c14aca464
  • Upwork Job ID: 1798793329608614800
  • Last Price Increase: 2024-06-06
  • Automatic offers:
    • dukenv0307 | Reviewer | 102671230
    • ShridharGoel | Contributor | 102671233
Issue OwnerCurrent Issue Owner: @greg-schroeder
@JmillsExpensify JmillsExpensify added Daily KSv2 NewFeature Something to build that is a new item. labels Jun 6, 2024
@JmillsExpensify JmillsExpensify changed the title Show dates for prior year transactions Search page: Show dates for prior year transactions Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

Triggered auto assignment to @greg-schroeder (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.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jun 6, 2024
@luacmartins luacmartins changed the title Search page: Show dates for prior year transactions [Search v1] Search page: Show dates for prior year transactions Jun 6, 2024
@JmillsExpensify
Copy link
Author

P.S. We're going to need web and mobile mocks from the design team. I reached out to them.

@luacmartins
Copy link
Contributor

@Expensify/design would love your ideas on how to display this

@shawnborton
Copy link
Contributor

shawnborton commented Jun 6, 2024

I'm thinking it might be best to just make the column wider:
image

Because it doesn't look nearly as good if we stack like OldDot:
image

Mobile seems pretty straight forward:
CleanShot 2024-06-06 at 20 26 37@2x

@shawnborton shawnborton self-assigned this Jun 6, 2024
@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Jun 6, 2024
@luacmartins luacmartins self-assigned this Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

Job added to Upwork: https://www.upwork.com/jobs/~017440ce6c14aca464

@melvin-bot melvin-bot bot changed the title [Search v1] Search page: Show dates for prior year transactions [$250] [Search v1] Search page: Show dates for prior year transactions Jun 6, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 (External)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 6, 2024
@luacmartins luacmartins changed the title [$250] [Search v1] Search page: Show dates for prior year transactions [$125] [Search v1] Search page: Show dates for prior year transactions Jun 6, 2024
Copy link

melvin-bot bot commented Jun 6, 2024

Upwork job price has been updated to $125

@JmillsExpensify
Copy link
Author

Looks dope! I'll go ahead and take this so we can open up to community. cc @luacmartins

@JmillsExpensify
Copy link
Author

Ah...haha you beat me to it.

@ShridharGoel
Copy link
Contributor

ShridharGoel commented Jun 6, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Search page: Show dates for prior year transactions

What is the root cause of that problem?

New change.

What changes do you think we should make in order to solve the problem?

Change column width to w96 at this place:

columnWidth = getWidthStyle(variables.w80);

Change the date format at this place:

const date = TransactionUtils.getCreated(transactionItem, CONST.DATE.MONTH_DAY_YEAR_ABBR_FORMAT);

@dannymcclain
Copy link
Contributor

I agree we should just keep it simple and make the column wider.

@dukenv0307
Copy link
Contributor

Let's go with @ShridharGoel's solution. In the meantime, can you confirm what the width should be? Is w96 good? @dannymcclain @shawnborton

🎀👀🎀 C+ reviewed

Copy link

melvin-bot bot commented Jun 7, 2024

Current assignee @luacmartins is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@shawnborton
Copy link
Contributor

@ShridharGoel why use 96 for the column width? In the mockup we're using 80.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jun 21, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-06-24] [$125] [Search v1] Search page: Show dates for prior year transactions [HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [$125] [Search v1] Search page: Show dates for prior year transactions Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 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-06-28. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jun 21, 2024

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:

  • [@dukenv0307] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@greg-schroeder] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 24, 2024
@dukenv0307
Copy link
Contributor

IMO, It would be fair to increase the bounty 125 - 250 as usual since there're many code changes and discussions cc @luacmartins @ShridharGoel

@luacmartins
Copy link
Contributor

This was a simple change, so I think the current bounty of $125 is applicable here.

@melvin-bot melvin-bot bot added the Overdue label Jun 26, 2024
@shawnborton
Copy link
Contributor

Not overdue, we're holding for payment

@luacmartins luacmartins changed the title [HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [$125] [Search v1] Search page: Show dates for prior year transactions [HOLD for payment 2024-06-24] [$125] [Search v1] Search page: Show dates for prior year transactions Jun 27, 2024
@luacmartins
Copy link
Contributor

PR was deployed to prod on the 17th, so the payment due date is actually the 24th. cc @greg-schroeder

Copy link

melvin-bot bot commented Jun 27, 2024

@shawnborton, @luacmartins, @greg-schroeder, @ShridharGoel, @mountiny, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@greg-schroeder
Copy link
Contributor

Oh. Okay. I'll process this now then

@melvin-bot melvin-bot bot removed the Overdue label Jun 27, 2024
@greg-schroeder
Copy link
Contributor

@ShridharGoel please accept the offer in Upwork so I can pay you, thanks!

@melvin-bot melvin-bot bot added the Overdue label Jul 1, 2024
@greg-schroeder
Copy link
Contributor

bump @ShridharGoel

@melvin-bot melvin-bot bot removed the Overdue label Jul 1, 2024
@greg-schroeder
Copy link
Contributor

Bump @ShridharGoel - moving this to Monthly given no response.

@greg-schroeder greg-schroeder added Monthly KSv2 and removed Daily KSv2 labels Jul 3, 2024
@ShridharGoel
Copy link
Contributor

Accepted, thanks.

@luacmartins luacmartins added Daily KSv2 and removed Monthly KSv2 labels Jul 3, 2024
@luacmartins
Copy link
Contributor

@greg-schroeder seems like the offer was accepted. Can we close this now?

@greg-schroeder
Copy link
Contributor

Yes it does appear it was finally accepted! I'll close it after I confirm payment!

@greg-schroeder
Copy link
Contributor

Paid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
Archived in project
Development

No branches or pull requests

9 participants