App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-12-27] Keyboard shortcut Modal is drag-gable, inconsistent with other Modals - Reported by: @parasharrajat

Open mvtglobally opened this issue 4 years ago β€’ 24 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Navigate to app
  2. Login
  3. initiate Keyboard shortcut Modal with 'command+?' on Mac or 'ctrl+?' on windows or Linux

Expected Result:

Modal popup should be consistent with other Modals in app.

Actual Result:

Keyboard shortcut Modal is drag-gable on Web. Inconsistent with other Modals in app.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: 1.1.19-0

Reproducible in staging?: Y **Reproducible in production?:Y

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/44479856/146035440-bcd290b8-a618-4310-9c97-9936444d5a20.mp4

Expensify/Expensify Issue URL:

Issue reported by: @parasharrajat Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1638992383386800

View all open jobs on GitHub

mvtglobally avatar Dec 11 '21 04:12 mvtglobally

Triggered auto assignment to @sonialiap (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Dec 11 '21 04:12 MelvinBot

Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Dec 11 '21 04:12 MelvinBot

Lol this is such a goofy bug πŸ˜„ Good find @parasharrajat. This makes sense for external so I'm going to make it such.

TomatoToaster avatar Dec 13 '21 15:12 TomatoToaster

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

MelvinBot avatar Dec 13 '21 15:12 MelvinBot

Proposed Solution:

Small fix. Change the CONST.MODAL.MODAL_TYPE.CENTERED to CONST.MODAL.MODAL_TYPE.CENTERED_UNSWIPEABLE in KeyboardShortcutsModal

const modalType = this.props.isSmallScreenWidth ? CONST.MODAL.MODAL_TYPE.BOTTOM_DOCKED : CONST.MODAL.MODAL_TYPE.CENTERED_UNSWIPEABLE;

mananjadhav avatar Dec 13 '21 18:12 mananjadhav

Upwork posting

@parasharrajat, here's a link for reporting the issue: posting

bfitzexpensify avatar Dec 13 '21 18:12 bfitzexpensify

Triggered auto assignment to @parasharrajat (Exported)

MelvinBot avatar Dec 13 '21 19:12 MelvinBot

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

MelvinBot avatar Dec 13 '21 19:12 MelvinBot

As, I reported this and it's a quick one so I would like to solve this. But Manan's proposal looks good.

Proposal

  1. Change the type of Modal for web to CONST.MODAL.MODAL_TYPE.CENTERED_UNSWIPEABLE https://github.com/Expensify/App/blob/471566cfa0476f2a3708b402effe5f85771ba5fd/src/components/KeyboardShortcutsModal.js#L85

:ribbon: :eyes: :ribbon:

parasharrajat avatar Dec 13 '21 19:12 parasharrajat

Thanks for the proposals! Given that both proposals are identical, we will proceed with @mananjadhav since they posted it first - contributing

Expensify reviews all solution proposals on a first come first serve basis. If you see other contributors have already proposed a solution, you can still provide a solution proposal and we will review it. We look for the earliest provided, best proposed solution that addresses the job.

luacmartins avatar Dec 13 '21 22:12 luacmartins

πŸ“£ @mananjadhav 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 πŸ“–

MelvinBot avatar Dec 13 '21 22:12 MelvinBot

I was thinking that I will get first dibs as I reported it. πŸ™‚

parasharrajat avatar Dec 14 '21 02:12 parasharrajat

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.21-1 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

  • https://github.com/Expensify/App/pull/6753

If no regressions arise, payment will be issued on 2021-12-27. :confetti_ball:

botify avatar Dec 20 '21 11:12 botify

@bfitzexpensify I've applied to the job but haven't been hired on Upwork.

mananjadhav avatar Dec 21 '21 03:12 mananjadhav

@mananjadhav @parasharrajat , I hired you both (different jobs), can you accept the offer then we'll get ya paid on the 27th?

mallenexpensify avatar Dec 23 '21 21:12 mallenexpensify

7 days since deployment. @mananjadhav, paid you and ended the contract β€” thank you!

@parasharrajat still waiting on you to accept the offer here for reporting. I'll check on this again tomorrow, but if there's no action, then @mallenexpensify can you pay and end this later this week? I'll be ooo from tomorrow for the remainder of the week.

bfitzexpensify avatar Dec 27 '21 04:12 bfitzexpensify

@mallenexpensify, I am still awaiting payments for this. I canceled the previous offer. Could you please help me apply again? I can't apply again for the same job.

parasharrajat avatar Jan 07 '22 17:01 parasharrajat

@mallenexpensify Bump.

parasharrajat avatar Jan 07 '22 21:01 parasharrajat

Sorry for the delay, please apply here @parasharrajat https://www.upwork.com/jobs/~01e953329d9d0e2915

mallenexpensify avatar Jan 11 '22 01:01 mallenexpensify

@mallenexpensify Applied.

parasharrajat avatar Jan 11 '22 17:01 parasharrajat