Add Concierge Anywhere help button to domain editing screens#90118
Add Concierge Anywhere help button to domain editing screens#90118
Conversation
Add shouldDisplayHelpButton to HeaderWithBackButton on domain screens (Initial, Members, Admins, SAML, Settings) to match the pattern used by workspace pages. The SidePanelButton component already handles hiding itself when the side panel is visible on wide screens. Co-authored-by: David Barrett <quinthar@users.noreply.github.com>
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@MelvinBot Please open the PR ready for review, add tests in the PR description that verify the implemented fix and complete all checkboxes in the PR Author Checklist. |
|
Done! I've made the following updates:
|
|
@AndrewGable 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] |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-05-09.at.17.57.27.movSimulator.Screen.Recording.-.iPhone.17.Pro.Max.-.2026-05-09.at.17.54.04.mov |
|
@MelvinBot The following test step is failing on wide screens:
the solution is: in shouldDisplayHelpButton={shouldUseNarrowLayout}as this is how it's supposed to be shown conditionally on wide screens since we already have the help button on the pages themselves, it's not needed in the header of the |
|
The fix makes sense — reverting I can only make code changes when directed by the PR author, an assignee, or an existing co-author. To have me implement this, the PR assignee ( |
|
@MelvinBot The following test step is failing on wide screens:
the solution is: in shouldDisplayHelpButton={shouldUseNarrowLayout}as this is how it's supposed to be shown conditionally on wide screens since we already have the help button on the pages themselves, it's not needed in the header of the |
The DomainInitialPage already has the help button on its sub-pages, so showing it in the header on wide screens is redundant. Restore the shouldUseNarrowLayout condition so it only appears on mobile. Co-authored-by: David Barrett <quinthar@users.noreply.github.com>
|
@stitesExpensify 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] |
|
Reverted |
should become:
and
should become:
and finally, please remove
PR Author Checklist
|
|
Updated the PR description:
|
ikevin127
left a comment
There was a problem hiding this comment.
🟢 LGTM
All changes are correct, safe, and follow existing patterns. No code quality, i18n, responsiveness, reusability, performance, or state‑management issues were identified. The PR is ready to merge ✅
Explanation of Change
Domain editing screens (Initial, Members, Admins, SAML, Settings) were missing the Concierge Anywhere help button that is present on equivalent workspace pages. This was because the
HeaderWithBackButtoncomponents on those screens did not passshouldDisplayHelpButton.This PR adds
shouldDisplayHelpButtonto the four domain screen components that render the main domain headers:DomainInitialPage— changed fromshouldDisplayHelpButton={shouldUseNarrowLayout}toshouldDisplayHelpButton(theSidePanelButtonalready hides itself when the side panel is visible on wide screens, making the narrow-only condition redundant)DomainSamlPage— addedshouldDisplayHelpButtonBaseDomainMembersPage(used by both Members and Admins) — addedshouldDisplayHelpButtonBaseDomainSettingsPage— addedshouldDisplayHelpButtonThis matches the pattern used by workspace pages like
WorkspaceReportsPageandWorkspaceTaxesPage.Fixed Issues
$ #90117
Tests
Offline tests
N/A — this change only toggles a UI prop for showing the help button. No network requests are affected.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
AI Tests
typecheck-tsgo)userSelecterrors unrelated to this PR)