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 2023-06-02] [$1000] Attachment modal shortcut bugs on native #18268

Closed
luacmartins opened this issue May 2, 2023 · 31 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@luacmartins
Copy link
Contributor

luacmartins commented May 2, 2023

Coming from this comment, we'll address:

Issue 3 - Attachment modal

iOS: Add attachment modal does not navigate based on arrow keys
iOS | Android: Left & Right arrow keys does not work (seems to be duplicate of the issue above)

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01da468373ed9db4e0
  • Upwork Job ID: 1653407518037057536
  • Last Price Increase: 2023-05-02
@luacmartins luacmartins added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 2, 2023
@melvin-bot melvin-bot bot changed the title Attachment modal shortcut bugs on native [$1000] Attachment modal shortcut bugs on native May 2, 2023
@MelvinBot
Copy link

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented May 2, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@MelvinBot
Copy link

Triggered auto assignment to @abekkala (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@luacmartins
Copy link
Contributor Author

@azimgd please comment on this issue so I can assign you

@MelvinBot
Copy link

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 2, 2023
@MelvinBot
Copy link

Triggered auto assignment to @jasperhuangg (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label May 2, 2023
@MelvinBot
Copy link

📣 @rushatgabhane You have been assigned to this job by @luacmartins!
Please apply to this job in Upwork 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 📖

@twisterdotcom
Copy link
Contributor

Ah, I love the ones where I'm just a money man. Keep me posted!

@azimgd
Copy link
Contributor

azimgd commented May 3, 2023

👍 @luacmartins

@MelvinBot
Copy link

📣 @azimgd You have been assigned to this job by @twisterdotcom!
Please apply to this job in Upwork 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 📖

@twisterdotcom
Copy link
Contributor

Assigned ya!

@azimgd
Copy link
Contributor

azimgd commented May 3, 2023

I was able to reproduce "Add attachment modal does not navigate based on arrow keys".

@rushatgabhane Could you connect a hardware keyboard and try to reproduce both, on production Android please.
@luacmartins What should "Left & Right arrow keys" actually do?

@luacmartins
Copy link
Contributor Author

@azimgd left & right should cycle through the attachment list, same as pressing the visual arrows on the screen.

@azimgd
Copy link
Contributor

azimgd commented May 4, 2023

Oh, I don't think that's a bug. It's a feature request, newdot doesn't support that on web.

Only up and down shortcuts are supported right now.
https://github.com/Expensify/App/blob/main/src/components/ArrowKeyFocusManager.js#L39

@twisterdotcom
Copy link
Contributor

I'm confused @azimgd - I wonder why somebody would use up/down keys to move left or right through the attachments.

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label May 4, 2023
@rushatgabhane
Copy link
Member

rushatgabhane commented May 5, 2023

@twisterdotcom that's a new feature and not a bug.
Do we have a P/S for it?

I think new keyboard shortcuts should be handled more holistically. We need to plan and decide all the shortcuts to add.
vs adding them one at a time.

@rushatgabhane
Copy link
Member

Oh wait, @azimgd has already done some work on adding left/right keyboard shortcut.

@twisterdotcom
Copy link
Contributor

I'm confused about where we're at with this now. We agreed here this needs to be done: https://expensify.slack.com/archives/C01GTK53T8Q/p1683208083045299.

Are we just waiting on the PR to be ready?

@twisterdotcom
Copy link
Contributor

Latest update is from 4 hours ago in the PR: #18407 (comment)

@melvin-bot
Copy link

melvin-bot bot commented May 24, 2023

@azimgd, @twisterdotcom, @luacmartins, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick!

@twisterdotcom
Copy link
Contributor

Deployed to staging 10 hours ago: #18407 (comment)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels May 26, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Attachment modal shortcut bugs on native [HOLD for payment 2023-06-02] [$1000] Attachment modal shortcut bugs on native May 26, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented May 26, 2023

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:

  • [@rushatgabhane] The PR that introduced the bug has been identified. Link to the PR:
  • [@rushatgabhane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@rushatgabhane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@rushatgabhane] Determine if we should create a regression test for this bug.
  • [@rushatgabhane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@rushatgabhane
Copy link
Member

rushatgabhane commented May 31, 2023

Checklist not applicable because it's a new feature. But we should create a new regression test

  1. Connect hardware keyboard to mobile
  2. Click search
  3. Arrow up / Arrow down should scroll through the list
  4. Enter should open the selected chat
  5. Open a chat with multiple attachments and click on any recent one
  6. Arrow left / Arrow Right should scroll through attachments

@rushatgabhane
Copy link
Member

Applied to upwork job using account "Satish Gabhane"

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 1, 2023
@twisterdotcom
Copy link
Contributor

@rushatgabhane which Upwork job? I'm only seeing this one which is closed: https://www.upwork.com/ab/applicants/1653543158120652800/job-details

@azimgd
Copy link
Contributor

azimgd commented Jun 2, 2023

@twisterdotcom what's the correct upwork url?

@melvin-bot melvin-bot bot added the Overdue label Jun 5, 2023
@twisterdotcom
Copy link
Contributor

The automated one was this one, but it looks like that was closed for some reason: https://www.upwork.com/jobs/~01da468373ed9db4e0.

Ideally, I'd have found the one @rushatgabhane applied to, but whatever, I've just sent you both an offer to a new job referencing this issue.

Am I right in thinking there's no bonus on this one? We haven't posted a comment like this automatically: #18300 (comment)

@melvin-bot melvin-bot bot removed the Overdue label Jun 5, 2023
@twisterdotcom
Copy link
Contributor

Paid out.

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

7 participants