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 |
|
Also cc @thienlnam in case you have any concern regarding the optimistic |
|
🚀 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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