Repository navigation
[No QA] Docs updates for E/A#100147 Domain group Preferred Workspace search and label fixes - #100742
Conversation
…I labels Co-authored-by: Jakub Steć <jakubstec@users.noreply.github.com>
|
@MelvinBot mark this PR as ready for review |
Concierge reviewer checklist:
For more detailed instructions on completing this checklist, see How do I review a HelpDot PR as a Concierge Team member? |
|
@situchan @VictoriaExpensify One of you needs to 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] |
|
🤖 Done — this PR is now Ready for review. One thing to fix before a reviewer picks it up: the Since this is a docs-only change to view run · no recording available |
| ## What the Default group for new members setting does | ||
|
|
||
| Enable this if you want all new domain members to be automatically added to this group. Setting a Default Group ensures new employees receive the correct permissions immediately. | ||
| Enable this if you want all new domain members to be automatically added to this group. Setting a default group ensures new employees receive the correct permissions immediately. |
There was a problem hiding this comment.
Naming consistency: This setting is referred to as "Default group for new members" in the heading on line 71, but here it is called "a default group." Use the exact UI label consistently (per HELPSITE_NAMING_CONVENTIONS.md: use the exact text shown in the product UI and do not shorten labels).
There was a problem hiding this comment.
Setting a default group for new members outlines the learning objective, but Default Group is the actual name of the function. I don't think this needs updating
| 4. If you administer 12 or more workspaces, a **Search** field is shown above the list. Type part of a workspace name to filter the list. | ||
| 5. Click the workspace you want to use. | ||
|
|
||
| The list shows only the workspaces you administer. If a search returns nothing, **No results found** is shown, so clear the search and try a different name. |
There was a problem hiding this comment.
Deterministic writing / vague phrasing: "If a search returns nothing, No results found is shown, so clear the search and try a different name." Consider bolding the exact empty-state label only and stating the action plainly, e.g. "If no matches are found, No results found appears. Clear the Search field and try a different name." Keep instructions literal and action-oriented (HELP_AUTHORING_GUIDELINES.md Step Formatting; HELPSITE_NAMING_CONVENTIONS.md Deterministic Writing).
| Enable this to prevent members from creating or removing workspaces. **Restrict expense workspace creation/removal** ensures centralized workspace management and prevents employees from creating additional workspaces outside the company’s approved setup. | ||
|
|
||
| ## What Preferred workspace does | ||
| ## What Preferred Workspace does |
There was a problem hiding this comment.
Naming consistency: This heading standardizes to "Preferred Workspace" (title case), but the related heading "What Expensify Card preferred workspace does" (line 91) still uses lowercase "preferred workspace." Match the exact UI casing consistently across both headings (HELPSITE_NAMING_CONVENTIONS.md: match capitalization exactly).
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 375616ee74
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| ## Which workspaces appear on the Preferred Workspace page? | ||
|
|
||
| No. Preferred workspace applies to new expenses and reports going forward. | ||
| Only the workspaces you administer. If a workspace is missing, ask a Workspace Admin of that workspace to add you as an admin. |
There was a problem hiding this comment.
Document the current preferred-workspace exception
When editing a group whose configured preferred workspace the domain admin no longer administers, that workspace still appears in the picker: BaseDomainGroupPreferredWorkspacePage passes the selected policy ID to createAdminPoliciesSelector (src/pages/domain/Groups/BaseDomainGroupPreferredWorkspacePage.tsx:71), which exempts that policy from the admin-role filter (src/selectors/Policy.ts:490-492). It also counts toward the 12-item search threshold, so both this “only” claim and the FAQ's administered-workspace count are inaccurate in that scenario; document that the current selection may also appear and that the threshold is based on displayed items.
Useful? React with 👍 / 👎.
HelpDot Documentation ReviewOverall AssessmentThis PR refines the Domain Groups article: it corrects UI labels to match the product (e.g. New group, Restrict default login selection, Strictly enforce workspace rules), normalizes Preferred Workspace capitalization, fixes the navigation flow, and adds a new task-based section plus FAQs covering the Preferred Workspace selector and its Search behavior. The changes align well with the governance files and improve accuracy, consistency, and retrievability. Scores Summary
Key Findings
Recommendations
Files Reviewed
Note: Detailed line-by-line feedback has been provided as inline comments. |
|
🚀 Deployed to staging by https://github.com/stephanieelliott in version: 9.4.92-0 🚀
|
|
@jakubstec Can I check it off the list?
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.4.92-8 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Follow-up help site update for #100147, which added a search field to both domain group Preferred Workspace selectors (shown when the admin administers 12 or more workspaces, per
CONST.STANDARD_LIST_ITEM_LIMIT).The NewDot article Create and Manage Domain Groups described the Preferred Workspace setting but never documented how to actually set one, so there was nowhere for the new search behavior to live. While updating it, several UI labels in the article no longer matched the product.
Documents the new search behavior
## How to set a Preferred Workspace for a Domain Groupwith the real click path, including the Search field, the No results found state, and a note that the same flow applies while creating a group.<!-- SCREENSHOT: -->suggestion perdocs/HELP_AUTHORING_GUIDELINES.mdsection 8.Corrects UI labels that no longer match the product
Every label below was verified against
src/languages/en.tsonmain:Also corrects the navigation step — Domains is a tab next to Workspaces, not something you scroll to below the workspaces list — and notes that Expensify Card preferred workspace requires Expensify Cards to be set up on the domain.
Heading structure still complies with
docs/HELP_AUTHORING_GUIDELINES.md: one#title plus# FAQ,##for everything else, and every##starts with an action verb or question word.Fixed Issues
$ #100135
PROPOSAL: N/A
Tests
// TODO: The human co-author must fill out the tests you ran before marking this PR as "ready for review"
// Please describe what tests you performed that validates your changed worked.
Offline tests
N/A — documentation-only change.
QA Steps
// TODO: The human co-author must fill out the QA tests you ran before marking this PR as "ready for review".
// Please describe what QA needs to do to validate your changes and what areas do they need to test for regressions.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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
@jakubstec, please review the files changed and confirm they reflect the current behavior. Then post a new comment saying
@MelvinBot mark this PR as ready for review.