Skip to content

fix(layout): add panel column so Files and Changes buttons work - #23

Merged
simoncrypta merged 1 commit into
masterfrom
layout-panel-node
Nov 1, 2026
Merged

simoncrypta merged 1 commit into
masterfrom
layout-panel-node

Conversation

@simoncrypta

Copy link
Copy Markdown
Owner

What changed

Since the Herdr 0.1.11 upgrade, clicking Files (or Changes) showed a layout.show failed toast: Herdr's buttons look for a panel node, and bercail's layout had none.

  • bercail/layouts/bercail.json: adds a panel column, 280 wide (Herdr's minimum).
  • bercail/mods/bercail-desk/main.js: Ctrl+Shift+F / Ctrl+Shift+G act on the same panel state as the buttons, so keys and buttons always agree.
  • lib/config.sh: a layout redeploy now carries live desks over instead of dropping them.
  • bercail/RECIPE.md: documents the panel column.

Tests

  • New cases in tests/desk_mod_test.sh and tests/herdr_app_deploy_test.sh; they fail on the old code and pass on the new.
  • Full suite (for t in tests/*.sh; do bash "$t"; done): 21/21 pass.
  • The merge was exercised on a copy of the live layout; existing desks survived.

Pending

Live click-test of Files and Changes in the running app after bercail update (needs this merged to master first).

Herdr's Files and Changes buttons look for a `panel` node in the layout;
bercail's layout lacked one, so clicking them showed a layout.show error.

- Add a 280-wide `panel` column (Herdr's minimum) to bercail.json.
- Ctrl+Shift+F / Ctrl+Shift+G drive the same panel state as the buttons.
- Layout redeploy carries over live desks instead of dropping them.
- Tests for the panel node and desk carry-over.
@simoncrypta
simoncrypta merged commit c6424de into master Nov 1, 2026
2 checks passed
@simoncrypta
simoncrypta deleted the layout-panel-node branch November 1, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant