Update actions page and edit actions page with better alignment#19822
Update actions page and edit actions page with better alignment#19822carlos-zamora merged 11 commits intomainfrom
Conversation
.claude/settings.local.json
Outdated
| @@ -0,0 +1,7 @@ | |||
| { | |||
Check failure
Code scanning / check-spelling
Check File Path
Backspace_Flow_Explained.md
Outdated
|
|
||
| DirectX presents the frame to the display: | ||
| ```cpp | ||
| _swapChain->Present(1, 0); // Vsync enabled |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
Backspace_Flow_Explained.md
Outdated
| ### Middle of Line | ||
|
|
||
| ``` | ||
| Before: "He█llo" (cursor after 'e') |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
Backspace_Flow_Explained.md
Outdated
| ``` | ||
| Before: "He█llo" (cursor after 'e') | ||
| Press Backspace | ||
| After: "H█llo" (cursor after 'H') |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
Backspace_Flow_Explained.md
Outdated
| ``` | ||
| \x1b[D ← Move cursor left | ||
| \x1b[K ← Erase to end | ||
| llo ← Rewrite remaining text |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
VT_Sequences_Explained.md
Outdated
| - **curses** - Python bindings for ncurses | ||
|
|
||
| **Rust:** | ||
| - **termion** - Terminal manipulation |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
VT_Sequences_Explained.md
Outdated
|
|
||
| **Rust:** | ||
| - **termion** - Terminal manipulation | ||
| - **crossterm** - Cross-platform terminal library |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
WindowsTerminal_Architecture.md
Outdated
| │ └──────────────────────────────────────┘ │ | ||
| │ │ | ||
| │ DirectX 11 Pipeline: │ | ||
| │ 1. Rasterize glyphs with DirectWrite │ |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
WindowsTerminal_Architecture.md
Outdated
| IRenderEngine::PaintBufferLine() | ||
| ↓ | ||
| AtlasEngine: | ||
| • Looks up/rasterizes glyphs |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
WindowsTerminal_Architecture.md
Outdated
| - `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
carlos-zamora
left a comment
There was a problem hiding this comment.
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.
- 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".
- 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.
- delete button for keybindings feels really far away 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:
- WinUI 3 Gallery > Spacing page
- https://learn.microsoft.com/en-us/windows/apps/design/basics/content-basics
Hope this all helps!
carlos-zamora
left a comment
There was a problem hiding this comment.
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?
Made a separate PR for it! |
Ah yeah that was from the merge conflict, thanks for catching it! Fixed |
carlos-zamora
left a comment
There was a problem hiding this comment.
Tested w/ Narrator and it's a really nice experience. Visually looks great too. Nice work :)




KeybindingsandAdditional argumentsare now top-aligned headersValidation Steps Performed
Everything still works. Screenshots below.