Skip to content

[No QA] Docs updates for E/A#95431 document bulk deleting agents on web - #96248

Merged
stephanieelliott merged 2 commits into
mainfrom
melvin-docs-agents-bulk-delete
Jul 21, 2026
Merged

stephanieelliott merged 2 commits into
mainfrom
melvin-docs-agents-bulk-delete

Conversation

@MelvinBot

Copy link
Copy Markdown
Contributor

Explanation of Change

Follow-up to #95431, which adds row selection checkboxes to the Agents table on web and lets you delete multiple selected agents in bulk.

The existing help article Create and Use Agents documented deleting a single agent (via Edit > Delete agent and via Copilot > Security), but not the new bulk-delete flow. This PR adds a How to delete multiple agents at once section covering the web-only selection-and-delete flow:

  • Select the checkbox next to each agent on the Agents list.
  • Click the button showing the number selected.
  • Select Delete agents and confirm with Delete.

Labels are taken verbatim from the PR's UI copy (deleteAgentsTitle → "Delete agents", common.delete → "Delete"). A screenshot placeholder (HTML comment) is included per the authoring guidelines. Bulk selection is web/wide-layout only, so the section is scoped to web.

Fixed Issues

Docs follow-up for #95431

Tests

N/A — help site content change only. Verified the article renders and headings follow HELP_AUTHORING_GUIDELINES.md.

QA Steps

N/A

PR Author Checklist

N/A — documentation-only PR.


@luacmartins, please review the files changed and confirm they reflect the current behavior. Then mark this PR Ready for review.

Co-authored-by: Carlos Martins <luacmartins@users.noreply.github.com>
@MelvinBot MelvinBot added the HelpDot Apply this label if the issue relates to ExpensifyHelp label Jul 16, 2026
@MelvinBot MelvinBot mentioned this pull request Jul 16, 2026
42 of 43 tasks
@luacmartins

Copy link
Copy Markdown
Contributor

@MelvinBot this feature is available on all platforms, not only web. Please update the docs accordingly.

Co-authored-by: Carlos Martins <luacmartins@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

You're right — thanks for the catch. I've updated the section to cover all platforms instead of scoping it to web (Create-and-Use-Custom-Agents.md:131).

I verified this in the code before editing: in AgentsPage.tsx:63, canSelectMultiple = shouldUseNarrowLayout ? isMobileSelectionModeEnabled : true — so mobile/narrow layouts support bulk selection through the standard mobile selection mode, not just web.

The article now has separate On web and On mobile flows (matching the Duplicate a Report convention):

  • Web: select the row checkboxes, click the N selected button, choose Delete agents, confirm with Delete.
  • Mobile: long-press an agent and tap Select to enter selection mode, select the rest, tap the N selected button, choose Delete agents, confirm with Delete.

Pushed to the branch — please take another look.

@github-actions github-actions Bot changed the title Docs updates for E/A#95431 document bulk deleting agents on web [No QA] Docs updates for E/A#95431 document bulk deleting agents on web Jul 16, 2026
@OSBotify

Copy link
Copy Markdown
Contributor

A preview of your ExpensifyHelp changes have been deployed to https://e2217b53.helpdot.pages.dev ⚡️

Updated articles:

@luacmartins
luacmartins marked this pull request as ready for review July 17, 2026 14:19

1. In the navigation tabs on the left, click **Account** > **Agents**.
2. Select the checkbox next to each agent you want to delete.
3. Click the button that shows the number of agents selected (for example, **2 selected**).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vague UI reference / not deterministic (HELPSITE_NAMING_CONVENTIONS.md, Core UI Referencing Rules + Deterministic Writing Rule): "Click the button that shows the number of agents selected (for example, 2 selected)" paraphrases and describes the control rather than naming its exact UI label. UI references must be literal and exact, not descriptive. Reference the actual button label as shown in the product.

@github-actions

Copy link
Copy Markdown
Contributor

HelpDot Documentation Review

Overall Assessment

This PR adds one well-structured section, ## How to delete multiple agents at once, to the Create and Use Agents article. The content is clear, sequential, and uses correct button/tab bolding, and the screenshot placeholder follows the required non-rendered format. The main issue is a navigation-phrasing inconsistency with the rest of the article, plus a minor title/scope mismatch.

Scores Summary

  • Readability: 9/10 - Steps are sequential, action-oriented, and scannable per HELP_AUTHORING_GUIDELINES.md Section 5; the closing sentence clearly states the outcome and the irreversible nature.
  • AI Readiness: 8/10 - Task-based How to... heading (Sections 2 & 6). No frontmatter change is needed since the workflow stays within the article's existing internalScope. The heading omits the exact feature label "Agents" that other headings in this file use.
  • Style Compliance: 6/10 - Button/tab names are correctly bolded (HELPSITE_NAMING_CONVENTIONS.md Button/Tab standards), but the **On web:** / **On mobile:** split conflicts with the Navigation Instruction Standards and the rest of the article.

Key Findings

  • Navigation is structurally identical on both platforms (Account > Agents). Per HELPSITE_NAMING_CONVENTIONS.md lines 119-125, when web and mobile navigation are structurally the same you should use the unified sentence "In the navigation tabs (on the left on web, on the bottom on mobile)" and "Do not duplicate instructions unnecessarily." Every other section in this article already uses that unified form, so the new split lists are inconsistent.
  • The only genuine platform difference is how selection is entered (checkboxes on web vs. long-press + Select on mobile). That difference alone does not justify fully duplicating the navigation step.
  • Positive: button labels (Delete agents, Delete, Select) and tab labels (Account, Agents) are bolded and in correct case; the dynamic "2 selected" button is handled sensibly with "for example".
  • Positive: the SCREENSHOT placeholder uses the exact HTML-comment structure from Section 8 with a specific, non-generic Purpose.
  • Scope note: the PR title says "on web" but the change also documents the full mobile flow. Not a doc-quality defect, but the title understates the change.

Recommendations

  • Priority: Reconcile the navigation phrasing with the article's established unified pattern. Consider a single numbered flow using "In the navigation tabs (on the left on web, on the bottom on mobile), click Account > Agents.", then branch only on the selection step where web (checkboxes) and mobile (long-press + Select) genuinely differ.
  • Minor: Consider including the feature label in the heading for retrieval parity with sibling sections (e.g., "How to delete multiple Agents at once").
  • Minor: Align the PR title with the fact that both web and mobile flows are documented.

Recommendation

Approve with minor changes - the content is accurate and well-formatted; only the navigation-style inconsistency should be addressed before merge.

Files Reviewed

  • docs/articles/new-expensify/ai-agents/Create-and-Use-Custom-Agents.md - New bulk-delete section added; solid content, one navigation-style inconsistency to address.

Note: This is a summary review of the proposed diff only.

@stephanieelliott
stephanieelliott merged commit 6c29d22 into main Jul 21, 2026
18 checks passed
@stephanieelliott
stephanieelliott deleted the melvin-docs-agents-bulk-delete branch July 21, 2026 00:37
@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/stephanieelliott in version: 9.4.41-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.4.41-4 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HelpDot Apply this label if the issue relates to ExpensifyHelp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants