Skip to content

ShortSwitch v1.2.0

Choose a tag to compare

@belikellwyd belikellwyd released this 18 Oct 14:55
· 12 commits to main since this release

ShortSwitch v1.2.0

This release focuses on a major usability overhaul of the Pages Content Editor while preserving the existing Pages data format, public rendering, API, and storage model.

Pages Editor

  • Redesigned existing block cards to be more compact and easier to scan.
  • Removed the duplicated drag handle and kept a single dedicated handle.
  • Added direct card activation for opening the existing block editor.
  • Moved visibility and deletion actions into a compact overflow menu.
  • Improved hidden-block presentation and status indication.
  • Added contextual block insertion controls between existing blocks.
  • Replaced the permanently visible block palette with a compact searchable popover.
  • Added dedicated “Add first block” and “Add block” actions.
  • Newly inserted blocks now open directly in their existing editor.

Drag and drop

  • Reworked block dragging with a full opaque drag preview.
  • Added correctly sized placeholders and smooth position transitions.
  • Added automatic scrolling near the edges of the block list.
  • Restricted pointer dragging to the dedicated left handle.
  • Added touch-compatible pointer handling.
  • Added keyboard reordering using Arrow Up, Arrow Down, Home, and End.
  • Prevented accidental editor or menu activation after dragging.

Double blocks

  • Double blocks are now created immediately without an unnecessary configuration modal.
  • Empty Double slots display their own Add Block actions.
  • Block types can be selected directly for a specific Double slot.
  • Selecting a nested block type immediately opens its editor.
  • Existing nested blocks now open independently instead of editing both sides at once.

Link selection

  • Combined ShortSwitch Link search and selection into one control.
  • Links can be searched by slug, destination URL, or comment.
  • Improved selected-link presentation and empty-result handling.

Live Preview integration

  • Hovering or focusing a block highlights its matching Preview element.
  • Hovering a Preview element highlights the corresponding editor card.
  • Clicking a Preview element opens the appropriate block editor.
  • Nested Double blocks are matched using stable block identifiers.
  • Editor and Preview panels scroll automatically when the matching block is outside the visible area.
  • Editor-only interactions do not affect published Pages.

UI and accessibility

  • Improved popover positioning based on the actual viewport space.
  • Improved editor and Preview panel height handling on desktop.
  • Removed unwanted card movement and intermittent outlines.
  • Improved modal closing behavior: editors close only through Close or Escape.
  • Improved focus restoration and keyboard navigation.
  • Fixed unnecessary mobile Content tab spacing.
  • Reduced Preview flickering when changing background pattern intensity.

Compatibility

  • No Pages API changes.
  • No database schema changes.
  • No changes to the stored block format.
  • No changes to public Page URLs.
  • No changes to published Page interactions.
  • Existing Pages and Double blocks remain compatible.

Verification

  • TypeScript checks pass.
  • All 83 automated tests pass.
  • Production client and server builds pass.
  • Production HTTP verification passes.
  • Docker image builds without cache and starts successfully.