Skip to content

Update the command list when a new command is added or an existing command's name is changed#19771

Merged
DHowett merged 3 commits intomainfrom
dev/pabhoj/actions_editor_followups
Feb 27, 2026
Merged

Update the command list when a new command is added or an existing command's name is changed#19771
DHowett merged 3 commits intomainfrom
dev/pabhoj/actions_editor_followups

Conversation

@PankajBhojwani
Copy link
Contributor

Summary of the Pull Request

When a new command is added or an existing command's name is changed, make sure we update the top-level command list so that it appears there when the user navigates back to the actions page

Detailed Description of the Pull Request / Additional comments

Added a new _CommandListDirty flag to the ActionsViewModel. When a new command is added or a command's name is changed the flag is set. When navigating to the top-level actions page, we regenerate the _CommandList if the flag is set.

Validation Steps Performed

Adding a new command or updating a command's name is now reflected correctly when navigating back to the actions page.

PR Checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated
    • If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated (if necessary)

@DHowett
Copy link
Member

DHowett commented Feb 27, 2026

@PankajBhojwani one conflict - ready to merge after

@DHowett DHowett enabled auto-merge (squash) February 27, 2026 21:52
@DHowett DHowett merged commit b6f041c into main Feb 27, 2026
18 of 20 checks passed
@DHowett DHowett deleted the dev/pabhoj/actions_editor_followups branch February 27, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants