Skip to content

Quick-layout hover menu dropped from the new-tab "+" button #140

Description

@kordless

The "+" new-tab button used to reveal a hover menu of common layout presets (added in 81f18fe1). Commit 6a93c13e ("ui: picker + sticky + terminal polish batch") redesigned that cluster into the +/New-window/New-sticky trio and deleted the layout-menu JSX from lib/components/tabs.tsx, leaving the CSS (.tabs_newTab_tooltip, .tabs_layout_grid, .tabs_layout_item, .layout-preview-box) orphaned. The layout logic itself (lib/utils/layouts.ts openLayout, wired through rpc('new',{layoutPattern})sessions.ts) was untouched and still works from the per-pane band.

Re-enabled the "+" hover menu with the presets whose CSS survived (3-columns, 3-rows, 2x2 grid). The other four original presets (leftHeavy/rightHeavy/grid3x2/hsplit212) lost their .l-* preview CSS in the removal — restore those styles to offer the full 9-preset menu again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions