-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 #11768] [$8000] The Back ⌘[ and Forward ⌘] shortcuts keys are not working as expected when navigating via RHN (Right Hand Navigation) #8657
Comments
Triggered auto assignment to @strepanier03 ( |
Current assignee @parasharrajat is eligible for the Exported assigner, not assigning anyone new. |
Current assignee @NikkiWines is eligible for the Exported assigner, not assigning anyone new. |
It is js coding issue |
@Salehmrcp Can you post a proposal? Please look at CONTRIBUTING.md for more. |
I have submitted a proposal in upwork- under name hwaida mohamed
I looked also at the file
…On Mon, 18 Apr 2022, 9:31 am Rajat Parashar, ***@***.***> wrote:
@Salehmrcp <https://github.com/Salehmrcp> Can you post a proposal? Please
look at CONTRIBUTING.md for me.
—
Reply to this email directly, view it on GitHub
<#8657 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYNXU5ELOQ7UUOTJRB34MLDVFUFTHANCNFSM5TRSIXKQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Salehmrcp, per the guidelines here you need to do the following:
|
Thanks nikki
But I can not even write the solution before I am hired
My upwork link is here
https://www.upwork.com/freelancers/~010501fb0f15f0e713?viewMode=1
Kindly hire me first to start
…On Mon, 18 Apr 2022, 6:35 pm Nikki Wines, ***@***.***> wrote:
@Salehmrcp <https://github.com/Salehmrcp>, per the guidelines here
<https://github.com/Expensify/App/blob/main/CONTRIBUTING.md#propose-a-solution-for-the-job>
you need to do the following:
After you reproduce the issue, make a proposal for your solution and post
it as a comment in the corresponding GitHub issue (linked in the Upwork
job). Your solution proposal should include a brief technical explanation
of the changes you will make.
—
Reply to this email directly, view it on GitHub
<#8657 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYNXU5GDKBOE3NC2RKMRAELVFWFNJANCNFSM5TRSIXKQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Proposal
We can safely provide
- defaultStatus={this.state.defaultStatus}
+ defaultStatus="open"
App/src/libs/Navigation/CustomActions.js Lines 106 to 113 in ad637d3
- const hasDrawerhistory = _.find(state.history || [], h => h.type === 'drawer');
+ const isDrawerInHistory = _.some(history || [], h => h.type === 'drawer');
+ if (!isDrawerInHistory) {
+ history.push({
+ type: 'drawer',
+ status: 'closed',
+ });
+ }
Result:navigation.mp4 |
@parasharrajat I may not be correct here but the original issue has problem with shortcut key when we navigate with search page. But later on @rushatgabhane has identified another bug (this one) that was working previously #4612 (comment) If you are not satisfied with my proposal let me know I will add more context to it and explain the root cause. Thank you |
ProposalWe mapping history state this line but not use it for drawer check. So it can be skip 1 person when click from list and not push to history list. App/src/libs/Navigation/CustomActions.js Line 101 in ad637d3
we don't use the mapping we did before Solutionif we change like this this can be fix problem App/src/libs/Navigation/CustomActions.js Line 105 in ad637d3
const hasDrawerhistory = _.find(history || [], h => h.type === 'drawer'); Screen-Recording-2022-04-24-at-13.19.35.mp4 |
Root cause:Let's add App/src/libs/Navigation/CustomActions.js Line 114 in ad637d3 As we can see that drawer object is alternatively added and hence
The drawer status does not change in these navigation. It should check against App/src/libs/Navigation/CustomActions.js Line 105 in ad637d3
|
@metehanozyurt Could you please not edit? You can create a new comment or else it won't be fair for other contributer you keep editing and claim to be the first to propose a better solution. Thanks |
ofcourse @mdneyazahmad it can be visible first proposal and edited version("video upload"). both version before your last message. When i see your commit after upload image i didnt touch anything. Sorry for the time conflict. I was also looking. Thank you |
I am sorry @metehanozyurt I was unaware about the this feature (we can see edited history). |
The reason I added a static
defaultstatus.mp4 |
Snagging this now that I'm in the tracking issue. |
See the tracking issue for the latest. |
Still holding. |
Still held as this initiative goes through the design process. |
Still holding on the larger react navigation project. |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
Still on hold for the larger navigation re-write. |
Same as above. |
Still on hold for navigation. No ETA. |
Same same |
Still on hold. |
Still on hold |
Coming off hold very soon! |
Ok I'm coming back to this one now but we don't officially support this type of keyboard navigation so I'm closing. Keyboard navigation is a new feature and one day will be an initiative. |
Quick clarification: Based on the Contributor+ work @parasharrajat did to review and manage this issue, he's eligible for a 25% payment as a result. |
Additionally, this issue is eligible and approved and payment on NewDot. |
[BELOW IS THE PROCESS OF BEING EDITED/UPDATED AND IS ON HOLD]
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Breaking this off from #4612, that issue will be focused solely on LeftHandNav (LHN) and this one is for the navigation in RHN (or RHP - Pane)
Action Performed:
Expected Result:
When we open reports from RHN, Back ⌘[ and Forward ⌘] shortcuts should work and navigate through the previously navigated conversations in the main/focused chat view. ie. if I visit chats with Joanie, Alex then Daniel, I expect ⌘[ to take me from my chat with Daniel back to Alex then ⌘[ again back to Joanie. Most-everywhere else the back/forward actions follow a standard flow.
RHN contains navigating via Search Page, New Chat Page, or any other modal.
Back
⌘[
and Forward⌘]
shortcuts should work and navigate through the previously navigated conversations in the main/focused chat view. ie. if I visit chats with Joanie, Alex then Daniel, I expect⌘[
to take me from my chat with Daniel back to Alex then⌘[
again back to Joanie. Most-everywhere else the back/forward actions follow a standard flow.Actual Result:
Shortcuts are not working as expected.
Workaround:
User has to manually navigate through the conversations. ie. If using keyboard navigation you always have to
⌘k
, start typing a name, thenreturn
to navigatePlatform:
Where is this issue occurring?
Version Number: Version 1.1.57-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Unable to get a video atm. Will update with video later.
Other job for LHN navigation issue #4612
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @mallenexpensify https://expensify.slack.com/archives/C01GTK53T8Q/p1628722621224600
The text was updated successfully, but these errors were encountered: