Skip to content

Allow configuring the collapsed side panel height #43

@seflue

Description

@seflue

Problem

Non-focused left-hand panels (Projects / Info) collapse to a fixed
height of 5 lines. For the Info panel this is often too small to show
the full content, so you either have to scroll or focus the panel just
to read a couple of extra fields.

Proposal

Add a gui.collapsedPanelHeight option (keep the default to 5) so users can
pick a height that fits their typical info content. The minimum is clamped
to 3 lines to keep the layout sane.

Example

gui:
  collapsedPanelHeight: 8

I already implemented this locally (needed it to work effectively in our
project). The change is just a handful of lines in pkg/config/config.go and
pkg/tui/layout.go, I will open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions