-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
fix: IOU - Disabled tag is greyed in list but disabled category is shown bold in list. #37397
Conversation
…own bold in list. Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
@alitoshmatov Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
I'm still working on this and will probably finish it by the end of the day tomorrow. |
…a2323/issue/36485
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
@alitoshmatov @dangrous, fix_demo_disabled_tag_category.mp4 |
Yeah I think we should probably grey it out, it isn't super clear if it's only the cursor style. We should just do a set of testing to see if there's anywhere else it shows up greyed out unexpectedly - I think overall it's a clearer UI, though. |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
@alitoshmatov @dangrous, The 'greyed out' issue seems to be fixed now, so I reverted all the changes related to it. However, I discovered a similar bug related to disabled categories while testing the fix. In the video below, you can see that the selected category is displayed even if it is disabled. However, when we search for it, it disappears. Additionally, the second bug occurs when we have a selected category (enabled) and we search for it, causing the check icon to disappear. Both issues have the same root cause, and I have made the necessary changes. The reason why we don't want to don't disable the selected tag/category: App/src/libs/OptionsListUtils.ts Lines 1087 to 1090 in 9302ade
category_tag_bugs.mp4 |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
@alitoshmatov, PR is ready, screenshots added. |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
…323/App into krishna2323/issue/36485
@Krishna2323 Can you resolve conflicts |
@alitoshmatov, friendly bump for review. |
@Krishna2323 Can you check recording below, disabled tag is not showing even if it was selected(Feel free to ping me on slack DM whenever needed) Screen.Recording.2024-04-24.at.10.28.20.AM.mov |
…searched. Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
…tion not shown when searched Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
@alitoshmato, ready for a review again, tested thoroughly this time. |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Reviewer Checklist
Screenshots/VideosAndroid: Nativedisabled-tag-android.movAndroid: mWeb ChromeiOS: Nativedisabled-tag-ios.mp4iOS: mWeb Safaridisabled-tag-safari.mp4MacOS: Chrome / Safaridisabled-tag-web.movMacOS: Desktopdisabled-tag-desktop.mov |
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.
Finally! I think we can merge it
@alitoshmatov, Thanks for the review 🤠, I need to fix unit test, will do in a hour. |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
@dangrous, All checks have passed, you can merge after final reviewing. |
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.
@Krishna2323 this looks good, but one question - can you explain the changes that you made to the tests? I get adding isSelected: undefined
but not why the changes on lines 1070,1071,1239,1240.
Thank you!
Explanation for 1239,1240.On the line below, we use App/tests/unit/OptionsListUtilsTest.ts Lines 1300 to 1301 in 2f5173c
App/tests/unit/OptionsListUtilsTest.ts Lines 821 to 826 in 2f5173c
Explanation for 1070,1071.Similar to the above, the medical category is selected, so we need to pass App/tests/unit/OptionsListUtilsTest.ts Lines 1255 to 1268 in 2f5173c
App/tests/unit/OptionsListUtilsTest.ts Lines 1013 to 1021 in 2f5173c
|
@dangrous, friendly bump to check the comment above^ |
Cool! That makes sense to me. |
✋ 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/dangrous in version: 1.4.72-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.72-1 🚀
|
Details
Fixed Issues
$ #36485
PROPOSAL: #36485 (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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4