Repository navigation
[No QA] Docs updates for E/A#86864 Merchant Rule behavior when applied tag is deleted - #100743
Conversation
Follow-up to #86864. Co-authored-by: truph01 <truph01@users.noreply.github.com>
|
A preview of your ExpensifyHelp changes have been deployed to https://31a364a0.helpdot.pages.dev ⚡️ Updated articles: |
|
@MelvinBot Mark this PR as ready |
Concierge reviewer checklist:
For more detailed instructions on completing this checklist, see How do I review a HelpDot PR as a Concierge Team member? |
|
@brunovjk @truph01 @jliexpensify 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] |
|
🤖 Marked ready for review — I also cleaned up the body before flipping it, since it still carried the placeholders written for you:
One thing to know: |
| - In the **Merchant** section of the **Rules** page, the rule summary no longer lists the tag update. | ||
| - When you open the rule, the **Tag** field is empty. | ||
|
|
||
| To have the rule set a tag again, open the rule, select a value in the **Tag** field, then select **Save rule**. If you recreate a tag with the same name, the rule applies that tag again. Learn how to [create and manage expense tags](/articles/new-expensify/workspaces/Create-and-manage-expense-tags). |
There was a problem hiding this comment.
Step formatting: This recovery flow ("open the rule, select a value in the Tag field, then select Save rule") is a sequential procedure written as inline prose. Per HELP_AUTHORING_GUIDELINES.md Section 4/5, procedural instructions should be sequential numbered steps. Consider converting to a numbered list and keeping the cross-link in a separate explanatory sentence after the steps (Section 7 discourages links inside numbered steps).
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 053ffe87e5
ℹ️ 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".
|
|
||
| ## Why don't all of my tags appear when I select Tag in a Merchant Rule? | ||
|
|
||
| The **Tag** field lists only the tags the rule can apply. Disabled tags are hidden, and on a workspace with multi-level tags, each level lists only the tags available under the levels you already selected. |
There was a problem hiding this comment.
Clarify that a selected disabled tag remains visible
When an existing Merchant Rule already uses a tag that is later disabled, the tag is not hidden: AddTagPage.tsx skips a disabled option only when tag.name !== formTag, preserving the currently selected disabled tag, and the rule summary also treats a tag as present without checking enabled. The blanket statement that disabled tags are hidden therefore gives admins the wrong expectation for this scenario; document the selected-tag exception.
Useful? React with 👍 / 👎.
|
HelpDot Documentation Review Overall Assessment Scores Summary
Key Findings
Recommendations
Files Reviewed
Note: Detailed line-by-line feedback has been provided as inline comments. |
jliexpensify
left a comment
There was a problem hiding this comment.
Looks fine to me, reads well.
|
🚀 Deployed to staging by https://github.com/stephanieelliott in version: 9.4.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.81-1 🚀
|
1 similar comment
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.81-1 🚀
|
Explanation of Change
Help site follow-up for #86864, which changed how a Merchant Rule behaves when the tag it applies is deleted from the workspace. After that PR, the rule keeps its stored tag value but the deleted tag is no longer shown in the rule summary or the rule edit page, and matching expenses no longer get a system message with an empty tag. That PR also filters the tag options in a rule so only tags valid under the already-selected parent levels are listed.
docs/articles/new-expensify/workspaces/Workspace-Merchant-Rules.md:Written against
docs/HELPSITE_NAMING_CONVENTIONS.md,docs/HELP_AUTHORING_GUIDELINES.md, anddocs/TEMPLATE.md: one workflow per article, task-based##headings, no new#headings, bolded UI labels in Sentence case, and a relative cross-link.UI labels (Merchant section, Add merchant rule, Save rule, Tag) were checked against the strings in
src/languages/en.ts.Fixed Issues
$ #82690
PROPOSAL:
Docs follow-up for #86864.
Tests
This PR changes help site markdown only, with no product code changes, so there is nothing to test in the app. Verify the rendered article instead:
OSBotifyon this PR.Offline tests
N/A - help site markdown only.
QA Steps
N/A - help site markdown only, so this PR is titled
[No QA].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