-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Side Pane Stage 3: Specific help content for different types of reports #58847
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
Side Pane Stage 3: Specific help content for different types of reports #58847
Conversation
I encountered some strange behavior when we try to create a Chat with users we haven't interacted with yet: bug_chat_no_help.mov |
Great! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-03-24.at.10.05.45.movAndroid: mWeb Chrome58847_android_web.moviOS: Native58847_ios_native.mp4iOS: mWeb SafariMacOS: Chrome / Safari58847_web_chome.mp4MacOS: Desktop58847_web_desktop.mov |
@blazejkustra I can still reproduce the issue Help panel is shown on top of the testing preferences dialog repro_bug_58831.mov |
Should be fixed with two latest commit @brunovjk |
@blazejkustra can you merge main here? I cant build Android, but on my lastest main I can. Thank you. |
@blazejkustra I would like to confirm one behavior
bug_58847_android_web.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.
There is this detail above that we need to confirm, but I don't believe it would be a blocker. I couldn't test it on native Android, I think we need to merge the last main to test it. But other than that everything seems good to me!
I'll confirm this with David on slack. We don't need to block on this |
@brunovjk Just merged the newest main for you! |
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.
Thanks @blazejkustra, I was able to test it and it looks fine 🚀
<Text style={[styles.textHeadlineH1, styles.mb4]}>#admins</Text> | ||
<ExpandableHelp | ||
styles={styles} | ||
title="Every workspace automatically receives a special #admins chat room. Every admin is automatically added to this room as a member. The #admins room is used for several purposes:" |
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.
Hmm, is it normal to have all these copies here instead of using the translation keys as everywhere else? The same applies to the other files. Not sure if we are planning to do it later
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.
The side pane is only displayed when English is selected in the settings, so we decided to hardcode the text in these components.
(Eventually everything will be moved to markdown files so it doesn't matter)
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.
@francoisl is on vacation so merging |
✋ 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/pecanoro in version: 9.1.18-0 🚀
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.18-4 🚀
|
Explanation of Change
Design doc: docs.google.com/document/d/1prFcvgUlEGRuL3zE-JH-lhv_BWX2lL2YNw61w4YVnyY/edit?tab=t.0
This update adds contextual help for special reports like #admins rooms and expense reports by replacing generic report IDs with meaningful labels (e.g., /r/:reportID → /r/:admins). The report type is determined using Onyx.
Fixed Issues
$ #58732
$ #58818
$ #58831
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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.webm
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.web.mp4
MacOS: Chrome / Safari
web.mov