[PR #6351] Extract ActionAndArgs::FromJson into its own class #26657

Open
opened 2026-01-31 09:17:23 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/6351

State: closed
Merged: Yes


Summary of the Pull Request

Pulls the ActionAndArgs deserializing into its own class, separate from AppKeyBindings. Some 2.0 features are going to need to re-use these actions in their json, so we'll want one unified way of deserializing them.

References

  • Done primarily as part of the work on #2046/#5400/#5674
  • Also related: #1571/#5888
  • Will aggressively conflict with any open PRs that introduced keybindings (looking at #6299)

PR Checklist

  • Closes nothing, this is code refactoring
  • I work here
  • Current tests passed
  • [n/a] Requires documentation to be updated
**Original Pull Request:** https://github.com/microsoft/terminal/pull/6351 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Pulls the `ActionAndArgs` deserializing into its own class, separate from `AppKeyBindings`. Some 2.0 features are going to need to re-use these actions in their json, so we'll want one unified way of deserializing them. ## References * Done primarily as part of the work on #2046/#5400/#5674 * Also related: #1571/#5888 * Will aggressively conflict with any open PRs that introduced keybindings (looking at #6299) ## PR Checklist * [x] Closes nothing, this is code refactoring * [x] I work here * [x] Current tests passed * [n/a] Requires documentation to be updated
claunia added the pull-request label 2026-01-31 09:17:23 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26657