Repository navigation
Conversation
…rule Co-authored-by: Krishna <Krishna2323@users.noreply.github.com>
54 tasks done
3 tasks
Contributor
|
Consolidating to #101958 to avoid conflicts |
truph01
pushed a commit
to truph01/App
that referenced
this pull request
Sep 28, 2026
…nsify/workspaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
Help site follow-up to #100241, which restored the Require company cards for all purchases toggle on the workspace Rules page.
docs/articles/new-expensify/workspaces/Workspace-Rules.mddescribed the rule as being gated on a connected company card feed. That is not how the toggle behaves. InIndividualExpenseRulesSectionRevamp.tsx:140— and identically in the pre-revampIndividualExpenseRulesSection.tsx:211— the row is unlocked byareCompanyCardsEnabled || areExpensifyCardsEnabled, the More features toggles. No feed needs to be connected, and the Expensify Card counts too. I confirmed this in the app: on a brand-new Control workspace with zero card feeds, the toggle was present and switched on with no lock and no error.Three corrections, all in one article:
HELPSITE_NAMING_CONVENTIONS.md.Every UI label used here was read off the live app: More features, Company cards, Expensify Card, Rules, Require company cards for all purchases, and its subtitle. The article's existing "Company card purchases required" violation name matches
en.ts:10360and was left alone.Note on scope: the revamped Rules page (with the General tab and the Collect-plan upgrade lock) is still behind the
rulesRevampbeta, so this article continues to describe the generally available Rules page. The gating correction above applies to both.Fixed Issues
$ #100218
PROPOSAL:
Tests
// TODO: The human co-author must fill out the tests they ran before marking this PR as "ready for review".
// This PR changes only Markdown under
docs/articles, so there is no app behavior to test — please confirm the article renders correctly and the wording matches what you see in the product.Offline tests
N/A — documentation only.
QA Steps
// TODO: The human co-author must fill out the QA steps before marking this PR as "ready for review", or add "[No QA]" to the title.
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
@Krishna2323, 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.