Add per-axis accordion padding with percentage support#1951
Open
glassbe wants to merge 4 commits intonikitabobko:mainfrom
Open
Add per-axis accordion padding with percentage support#1951glassbe wants to merge 4 commits intonikitabobko:mainfrom
glassbe wants to merge 4 commits intonikitabobko:mainfrom
Conversation
Extend accordion-padding from a single integer to support per-axis (horizontal/vertical) values and percentage-based units, following the existing Gaps pattern. Backward compatible: plain integers still work as uniform padding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When enabled, the focused accordion window is always the same size regardless of position. Edge windows split padding to avoid wasted space while maintaining uniform width. Defaults to false to preserve the original behavior where edge windows are larger. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Allow users to dynamically increase/decrease accordion padding per container via keybindings, similar to how resize works for tiles. The offset is stored as runtime-only userData on TilingContainer, so it resets on config reload or restart. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add aerospace-adjust-accordion-padding.adoc for generate.sh workflow - Regenerate subcommandDescriptionsGenerated.swift - Apply trailing comma formatting from project linter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
accordion-paddingconfiguration (horizontal/vertical), with backward-compatible single-value syntax"30%") that resolves relative to container dimensionaccordion-uniform-sizesetting for consistent focused window sizes regardless of positionadjust-accordion-paddingcommand for runtime padding adjustment via keybindingaerospace-adjust-accordion-padding.adocdocs and regenerate helpCloses #1950
Related: #397, #599
Config examples
Test plan
./run-tests.shpasses (113 tests, 0 failures, 0 formatting issues)accordion-padding = <int>configs work unchangedaccordion-padding.horizontal/.verticaltable syntax"15%"resolve correctlyadjust-accordion-padding +50/-50adjusts padding at runtimeaccordion-uniform-size = truegives focused window equal padding on both sides🤖 Generated with Claude Code