Repository navigation
Tasks Detailed View - #17940
Tasks Detailed View#17940
Conversation
|
Merged! |
|
@thienlnam there's space while showing skeleton because of TaskHeader. can we avoid this? skeleton.mov |
|
I think that's just because we're returning true that it's a task report for all chat reports. It shouldn't happen for regular chat reports since it won't exist. Please let me know if that's an incorrect assumption though |
Correct. Not sure how task report will look finally but I think we can tackle skeleton part for task report after that page is fully implemented, so out of scope for this PR. |
|
For sure! Agreed 👍 |
|
keyboard issue on mSafari: msafari-bug.movI think this can also be out of scope as it's know mSafari issue |
|
Auto focus doesn't work on android. I think this one can be fixed here. Can you please apply same approach as in #17953? android.mov |
|
@0xmiroslav Nice catch, thanks - I updated it please let me know. My android emulator is currently broken |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
0xmiroslav
left a comment
There was a problem hiding this comment.
Looks great, tests well 🎉
@grgia all yours!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 1.3.10-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀
|
| const errors = {}; | ||
|
|
||
| if (_.isEmpty(values.title)) { | ||
| errors.title = props.translate('common.error.fieldRequired'); |
There was a problem hiding this comment.
This introduced a small "regression" in #19023.
This error label should have been Please enter a title instead of This field is required
| if (_.isEmpty(values.description)) { | ||
| errors.description = props.translate('common.error.fieldRequired'); | ||
| } |
There was a problem hiding this comment.
This introduced a regression in #19022, the description field is optional and should allow empty inputs.
| // Implementing in https://github.com/Expensify/App/issues/16858 | ||
| onSelected: () => {}, | ||
| }); | ||
| } |
There was a problem hiding this comment.
✋ Coming from #19631
This introduces a regression where the user non-assignee, or not owner, can still see the action button and press it.
| <ScreenWrapper | ||
| includeSafeAreaPaddingBottom={false} | ||
| onEntryTransitionEnd={() => inputRef.current && inputRef.current.focus()} | ||
| > |
There was a problem hiding this comment.
We should have added shouldEnableMaxHeight here otherwise the submit button would be behind the keyboard (Coming from #22661).
Details
Fixed Issues
This sets up routing for the tasks detailed view - there is no functionality implemented here as those will be added in future PRS.
Part of #17468
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Offline tests
Same as online tests
QA Steps
Can't test this bc task reports don't exist yet
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
Screen.Recording.2023-04-26.at.4.35.00.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-04-26.at.4.42.17.PM.mov
Mobile Web - Safari
Screen.Recording.2023-04-26.at.4.50.42.PM.mov
Desktop
Screen.Recording.2023-04-26.at.4.40.40.PM.mov
iOS
Screen.Recording.2023-04-26.at.4.49.48.PM.mov
Android