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-10-07][$250] [Search v2.2] Hide mobile Search nav button + status tabs on scrollDown, but reveal on scrollUp #48019

Closed
luacmartins opened this issue Aug 26, 2024 · 38 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

@luacmartins
Copy link
Contributor

luacmartins commented Aug 26, 2024

Problem
On mobile, the Search page occupies a lot of fixed space between the top workspace switcher, the page navigation button, the status tabs, and the bottom fixed tabs. This doesn't lave a whole lot of vertical space remaining to view the expenses page.

Solution:
Let's make it so that the nav button and status tabs scroll the page with the content, but are revealed as soon as the user scrolls back up. Here is a rough prototype of the action:

CleanShot.2024-08-23.at.13.43.41.mp4

Note that in the prototype, we're scrolling the button + tabs back into view at the same speed as the content, but I could see where it might even make sense to just animate that area back in as soon as we detect "one scroll" going back up.

cc @Expensify/design @luacmartins for visibility. I think this is good #wave-control polish.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ee6fbdd84bda73a1
  • Upwork Job ID: 1828223707737004666
  • Last Price Increase: 2024-08-27
  • Automatic offers:
    • rayane-djouah | Contributor | 103694364
Issue OwnerCurrent Issue Owner: @kadiealexander
@luacmartins luacmartins added Daily KSv2 NewFeature Something to build that is a new item. Hot Pick Ready for an engineer to pick up and run with labels Aug 26, 2024
@luacmartins luacmartins self-assigned this Aug 26, 2024
Copy link

melvin-bot bot commented Aug 26, 2024

Triggered auto assignment to @kadiealexander (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 Aug 26, 2024
@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Aug 27, 2024
@melvin-bot melvin-bot bot changed the title [Search v2.2] Hide mobile Search nav button + status tabs on scrollDown, but reveal on scrollUp [$250] [Search v2.2] Hide mobile Search nav button + status tabs on scrollDown, but reveal on scrollUp Aug 27, 2024
Copy link

melvin-bot bot commented Aug 27, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01ee6fbdd84bda73a1

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 27, 2024
Copy link

melvin-bot bot commented Aug 27, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 27, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 27, 2024
Copy link

melvin-bot bot commented Aug 27, 2024

📣 @rayane-djouah 🎉 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 📖

@nkdengineer
Copy link
Contributor

@luacmartins Can you share the video in OP again, I can't see it in the OP.

@sachinsiddhu112
Copy link

I am unable to see provided video or screenshot.Please provide a video or screenshot of issue.

Copy link

melvin-bot bot commented Aug 27, 2024

📣 @sachinsiddhu112! 📣
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:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@SzymczakJ
Copy link
Contributor

Hey! I’m Jakub Szymczak from Software Mansion, an expert agency, and I’d like to work on this issue!

@luacmartins luacmartins removed the Hot Pick Ready for an engineer to pick up and run with label Aug 27, 2024
@SzymczakJ
Copy link
Contributor

SzymczakJ commented Aug 28, 2024

When working on this issue I got one thought concerning StatusBar during selection mode. I think we shouldn't show it during selection mode:

  1. When clicking on anything on status bar Selection mode is cancelled
Screen.Recording.2024-08-28.at.11.41.03.mov
  1. We have already hidden filters button and Type selector, so it doesn't make sense to give user option to choose Status
  2. It's cluttering the screen
  3. Removing this from selection mode would make this task easier to implement.

I could remove StatusBar from selection mode and put this change in PR that would be linked to this task
WDYT @luacmartins

@shawnborton
Copy link
Contributor

Yeah, I think I agree with that. cc @Expensify/design for thoughts there too, but what you laid out above makes sense to me.

@SzymczakJ
Copy link
Contributor

Screenshot 2024-08-30 at 10 10 24 Reduced padding to 8 and I think it looks neat 😃

@shawnborton
Copy link
Contributor

Can you share a video of that?

@SzymczakJ
Copy link
Contributor

SzymczakJ commented Aug 30, 2024

ios.mov

Here you go

@shawnborton
Copy link
Contributor

Cool, I think we just need to add some padding back to the top of the rows so that we get a larger gap between the status tabs and the rows:
CleanShot 2024-08-30 at 11 48 24@2x

Let me know if that makes sense. We probably need to add like 12px there to make up for the 12px we shaved off from the tabs area.

@SzymczakJ
Copy link
Contributor

Are talking about something like this?

Screen.Recording.2024-08-30.at.18.01.34.mov

@shawnborton
Copy link
Contributor

Yup, that spacing looks correct.

@SzymczakJ
Copy link
Contributor

There was a need for small refactor, but this should be ready for C+ review tomorrow!

@melvin-bot melvin-bot bot added the Overdue label Sep 3, 2024
Copy link

melvin-bot bot commented Sep 3, 2024

@luacmartins, @kadiealexander, @rayane-djouah, @SzymczakJ Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Overdue labels Sep 4, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Sep 27, 2024
Copy link

melvin-bot bot commented Sep 27, 2024

This issue has not been updated in over 15 days. @luacmartins, @kadiealexander, @rayane-djouah, @SzymczakJ eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

Copy link

melvin-bot bot commented Oct 1, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@luacmartins
Copy link
Contributor Author

PR was merged

@rayane-djouah
Copy link
Contributor

PR on production

@rayane-djouah
Copy link
Contributor

Note

The production deploy automation failed: This should be on [HOLD for Payment 2024-10-07] according to #49960 production deploy checklist, confirmed in #48258 (comment)

cc @kadiealexander

@luacmartins luacmartins changed the title [$250] [Search v2.2] Hide mobile Search nav button + status tabs on scrollDown, but reveal on scrollUp [HOLD for Payment 2024-10-07][$250] [Search v2.2] Hide mobile Search nav button + status tabs on scrollDown, but reveal on scrollUp Oct 4, 2024
@luacmartins luacmartins added Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 and removed Reviewing Has a PR in review Monthly KSv2 labels Oct 4, 2024
@kadiealexander
Copy link
Contributor

kadiealexander commented Oct 7, 2024

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:

@kadiealexander
Copy link
Contributor

kadiealexander commented Oct 7, 2024

Payouts due:

Upwork job is here.

@rayane-djouah
Copy link
Contributor

rayane-djouah commented Oct 7, 2024

@kadiealexander, this is a new feature, not a bug.

BugZero Checklist

  • Please propose regression test steps to ensure the new feature will work correctly on production in further releases.

Regression Test Proposal

  • Prerequisites: The account should have many expenses and chats
  • Platforms: Small screens only (Android: Native, Android: mWeb Chrome, iOS: Native, iOS: mWeb Safari)
  1. Go to the Search page.
  2. Scroll through the results.
  3. Verify that the expense type and status bar dynamically hide and show based on the scroll position to provide more screen space for viewing content.
  4. Perform a search that returns few or no results.
  5. Verify that the expense type and status bar remain visible and fixed in place, as there isn’t enough content to necessitate hiding these elements.

Do we agree 👍 or 👎

cc @kadiealexander

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

12 participants