Skip to content

chore(dev): add collapsible header to dev app#2650

Merged
caio-pizzol merged 1 commit intomainfrom
caio-pizzol/dev-app-collapse-header
Mar 30, 2026
Merged

chore(dev): add collapsible header to dev app#2650
caio-pizzol merged 1 commit intomainfrom
caio-pizzol/dev-app-collapse-header

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

Adds a toggle to hide the dev app header, giving full vertical space to the editor and toolbar. Useful when testing paste behavior, visual rendering, or any scenario where you want maximum document area.

  • Click ▲ in the header top-right to collapse
  • Click the slim "▼ SuperDoc Dev" bar to expand

Adds a toggle to hide the dev app header, giving full vertical space
to the editor. Click the slim bar above the toolbar to bring it back.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 662c71a2b5

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +1638 to +1641
background: #0f172a;
color: #94a3b8;
border: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Replace new header controls' hex colors with --sd tokens

/workspace/superdoc/AGENTS.md (Brand & Design System) says UI components must use --sd-* custom properties and “never hardcode hex values,” but this change introduces literal colors for the new collapse/expand header controls. Those fixed values won’t follow theme token overrides, so custom themes and preset themes can render the new controls inconsistently with the rest of SuperDoc; these styles should reference existing --sd-* tokens (or new tokens added in variables.css) instead of hex/rgba literals.

Useful? React with 👍 / 👎.

@caio-pizzol caio-pizzol merged commit 76056d3 into main Mar 30, 2026
50 checks passed
@caio-pizzol caio-pizzol deleted the caio-pizzol/dev-app-collapse-header branch March 30, 2026 20:37
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in esign v2.2.0-next.5

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in vscode-ext v1.1.0-next.48

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in template-builder v1.3.0-next.4

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in superdoc v1.24.0-next.45

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in superdoc-cli v0.5.0-next.45

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in superdoc-sdk v1.3.0-next.45

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in superdoc v1.24.1

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Mar 30, 2026

🎉 This PR is included in superdoc-cli v0.5.0

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 2, 2026

🎉 This PR is included in superdoc-sdk v1.3.0

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented Apr 2, 2026

🎉 This PR is included in vscode-ext v2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant