-
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
Navigate user to report details page when clicked on header in task #24350
Navigate user to report details page when clicked on header in task #24350
Conversation
@BhuvaneshPatil This is missing the change to the members page (the title should show member and not details). Please refer to the thread flow (every option in the report details) to make sure we are not missing any case |
@s77rt Please have a look - I went through slack conversation and here are al the requirements (please add if I am missing anything) -
|
The header of /details should show Details |
Thank you for clarifying @s77rt |
Also before I forget 😅 Remove the task condition here App/src/pages/home/HeaderView.js Line 167 in 774b78c
The header should be clickable no matter the task status |
Update condition will be - disabled={shouldDisableDetailPage} |
updated code @s77rt |
@BhuvaneshPatil In participantAccountIDs: ownerAccountID === assigneeAccountID ? [] : [assigneeAccountID], This is needed so the "Members" option is visible instantly without having to wait for the backend response. |
@s77rt Lines 462 to 464 in 00615f0
or here App/src/pages/home/HeaderView.js Line 136 in 00615f0
This is required because if we add |
Question- Shall add check here if assigneeAccountID is participantAccountIDs: ownerAccountID === assigneeAccountID && !assigneeAccountID ? [] : [assigneeAccountID], |
We shall consult this with @thienlnam as well, because AFAIK |
@s77rt ^ |
Reviewer Checklist
Screenshots/Videos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
Also cc @thienlnam in case you have any concern regarding the optimistic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🚀 Deployed to staging by https://github.com/cristipaval in version: 1.3.54-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/cristipaval in version: 1.3.54-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.54-13 🚀
|
Details
Clicking on header view in task page was taking user to assignee user page and in some cases it was redirecting to empty details page.
Fixed Issues
$ #24144
$ #23296
PROPOSAL: #24144 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Desktop-Chrome.mov
Mobile Web - Chrome
Android.Chromw.mov
Mobile Web - Safari
Mobile-safari.mov
Desktop
Desktop.mov
iOS
IOS.App.mov
Android
Android.App.mov