Skip to content

Update actions page and edit actions page with better alignment#19822

Merged
carlos-zamora merged 11 commits intomainfrom
dev/pabhoj/actions_editor_visual
Feb 13, 2026
Merged

Update actions page and edit actions page with better alignment#19822
carlos-zamora merged 11 commits intomainfrom
dev/pabhoj/actions_editor_visual

Conversation

@PankajBhojwani
Copy link
Contributor

@PankajBhojwani PankajBhojwani commented Jan 30, 2026

  • Actions page: entries now stretch across the screen horizontally (to a max of 1000) to be consistent with other settings pages
  • Edit action page:
  • Keybindings and Additional arguments are now top-aligned headers
  • All arg templates now also stretch across the screen horizontally to match how expanders look in the rest of the settings UI

Validation Steps Performed

Everything still works. Screenshots below.

@@ -0,0 +1,7 @@
{

Check failure

Code scanning / check-spelling

Check File Path

[claude](#security-tab) is not a recognized word. \(check-file-path\)

DirectX presents the frame to the display:
```cpp
_swapChain->Present(1, 0); // Vsync enabled

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[Vsync](#security-tab) is not a recognized word. \(unrecognized-spelling\)
### Middle of Line

```
Before: "He█llo" (cursor after 'e')

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[llo](#security-tab) is not a recognized word. \(unrecognized-spelling\)
```
Before: "He█llo" (cursor after 'e')
Press Backspace
After: "H█llo" (cursor after 'H')

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[llo](#security-tab) is not a recognized word. \(unrecognized-spelling\)
```
\x1b[D ← Move cursor left
\x1b[K ← Erase to end
llo ← Rewrite remaining text

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[llo](#security-tab) is not a recognized word. \(unrecognized-spelling\)
- **curses** - Python bindings for ncurses

**Rust:**
- **termion** - Terminal manipulation

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[termion](#security-tab) is not a recognized word. \(unrecognized-spelling\)

**Rust:**
- **termion** - Terminal manipulation
- **crossterm** - Cross-platform terminal library

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[crossterm](#security-tab) is not a recognized word. \(unrecognized-spelling\)
│ └──────────────────────────────────────┘ │
│ │
│ DirectX 11 Pipeline: │
│ 1. Rasterize glyphs with DirectWrite │

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[Rasterize](#security-tab) is not a recognized word. \(unrecognized-spelling\)
IRenderEngine::PaintBufferLine()
AtlasEngine:
• Looks up/rasterizes glyphs

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[rasterizes](#security-tab) is not a recognized word. \(unrecognized-spelling\)
- `IRenderData` for rendering data access
- `IRenderEngine` for rendering backend abstraction
- `ITerminalInput` for input handling
- Enables pluggability and testability

Check failure

Code scanning / check-spelling

Unrecognized Spelling

[pluggability](#security-tab) is not a recognized word. \(unrecognized-spelling\)
@PankajBhojwani
Copy link
Contributor Author

PankajBhojwani commented Jan 31, 2026

image

narrow:
image

Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

I like the new layout. The headers look nice and make it clear that there's different sections.

I think the spacing needs to be adjusted a little bit though. Here's some notes:

  • Spacing:
    • spacing beneath headers (i.e. "Command details", "Keybindings", and "Additional arguments") is a little too large. Looks like it's ~40 for "command details" and "additional arguments", but ~24 for "Keybindings".
      • I recommend ~12 (WinUI 3 gallery says "12 - between control + header, surface and edge text, text sections")
    • Spacing between keybinding and "Additional arguments" is ~26.
      • I recommend ~16 (WinUI 3 gallery says "16 - used in list styles, cards")
    • Spacing between "action name" and "action type" (and repeat for spacing between keybindings and each arg) is currently ~16 (~8 for keybindings and additional args)
      • I recommend ~8 consistently. I think keybindings and additional args look good as-is, so I'm kinda getting inspiration from there.
  • Alignment:
    • delete button for keybindings feels really far away haha
      • recommendation: left align them. Maybe have it be a grid with 2 columns (key chords vs delete buttons) so that the delete buttons themselves are aligned with each other
    • nit: "action name" and "action type" controls are aligned (nice), but they don't align with the ones in "additional arguments". Might be nice if they did?
    • consider aligning the checkbox action args to the left. They feel a bit far away too haha.
  • Order:
    • Consider moving the "add keybinding" button to after the key chords (instead of before).

All that said, I'm not a designer haha. I think these might be a good starting point though and you can adjust them from there?

I found a few resources that may be helpful:

Hope this all helps!

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Feb 3, 2026
carlos-zamora added a commit that referenced this pull request Feb 10, 2026
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Feb 11, 2026
Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Downloaded the branch and it looks great. Just the one note on the column span to avoid wrapping the text for the headers. Especially since the localized strings may be longer.

I want to test it with a screen reader too, just to make sure it feels right.

@cinnamon-msft was also looking over my shoulder and suggesting that the additional arg labels (I.e. "Split Direction") should be renamed to use sentence casing ("Split direction") to match the rest of the UI. I agree. Mind doing that either as a part of this PR or a separate one?

@PankajBhojwani
Copy link
Contributor Author

Mind doing that either as a part of this PR or a separate one?

Made a separate PR for it!

DHowett pushed a commit that referenced this pull request Feb 13, 2026
…19861)

From the feedback received in #19822,
update the multi-word additional argument resource entries to use
sentence case.
@carlos-zamora
Copy link
Member

Hmm... Something's up:
image

I wonder if the wrong row is being applied? I got this from the output from the build pipeline (unpackaged).

@PankajBhojwani
Copy link
Contributor Author

I wonder if the wrong row is being applied?

Ah yeah that was from the merge conflict, thanks for catching it! Fixed

@carlos-zamora
Copy link
Member

image

Hmm... Looks like the wrong header is being used for the keybindings section.

Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Tested w/ Narrator and it's a really nice experience. Visually looks great too. Nice work :)

@carlos-zamora carlos-zamora merged commit 830935d into main Feb 13, 2026
18 of 20 checks passed
@carlos-zamora carlos-zamora deleted the dev/pabhoj/actions_editor_visual branch February 13, 2026 22:52
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