[HOLD for payment 2021-12-27] Keyboard shortcut Modal is drag-gable, inconsistent with other Modals - Reported by: @parasharrajat
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:
- Navigate to app
- Login
- 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
Triggered auto assignment to @sonialiap (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.
Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Lol this is such a goofy bug π Good find @parasharrajat. This makes sense for external so I'm going to make it such.
Triggered auto assignment to @bfitzexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
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;
Triggered auto assignment to @parasharrajat (Exported)
Triggered auto assignment to @luacmartins (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.
As, I reported this and it's a quick one so I would like to solve this. But Manan's proposal looks good.
Proposal
- Change the type of Modal for web to
CONST.MODAL.MODAL_TYPE.CENTERED_UNSWIPEABLEhttps://github.com/Expensify/App/blob/471566cfa0476f2a3708b402effe5f85771ba5fd/src/components/KeyboardShortcutsModal.js#L85
:ribbon: :eyes: :ribbon:
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.
π£ @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 π
I was thinking that I will get first dibs as I reported it. π
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:
@bfitzexpensify I've applied to the job but haven't been hired on Upwork.
@mananjadhav @parasharrajat , I hired you both (different jobs), can you accept the offer then we'll get ya paid on the 27th?
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.
@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.
@mallenexpensify Bump.
Sorry for the delay, please apply here @parasharrajat https://www.upwork.com/jobs/~01e953329d9d0e2915
@mallenexpensify Applied.