Skip to content

[feature]: formatStyle override for tuiSidebarPanel and tuiCompactStatus #111

@eXodes

Description

@eXodes

Pre-flight checks

  • I searched existing issues and did not find a duplicate request.
  • I reviewed current behavior on the production released OpenCode version.

OpenCode version reviewed

1.15.13

Problem statement

Currently the quota formatStyle is set at the root config, which used for tuiSidebarPanel and tuiCompactStatus to display the quota information. However, enabling both sidebar and compact status, shows similar information which is redundant.

Proposed change

Allow formatStyle config within tuiSidebarPanel and tuiCompactStatus to override the root formatStyle config so user can have different information for different places (e.g. allWindows for sidebar panel and singleWindow for compact status).

Alternatives considered

Set tuiCompactStatus.sessionPrompt to false so it doesn't show.

Acceptance criteria

  • WHEN user set formatStyle in tuiSidebarPanel config, THEN the sidebar panel quota is shown based on the tuiSidebarPanel.formatStyle config.
  • WHEN user set formatStyle in tuiCompactStatus config, THEN the compact status quota is shown based on the tuiCompactStatus.formatStyle config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions