Skip to content

Reclaim top-bar room: inline tickers, drop redundant pills, gate Safe shot#48

Merged
falkoro merged 1 commit into
masterfrom
feat/topbar-tickers-reclaim
Jun 6, 2026
Merged

Reclaim top-bar room: inline tickers, drop redundant pills, gate Safe shot#48
falkoro merged 1 commit into
masterfrom
feat/topbar-tickers-reclaim

Conversation

@falkoro
Copy link
Copy Markdown
Owner

@falkoro falkoro commented Jun 6, 2026

Reclaim vertical room in the header.

  • Tickers move into the top bar next to the ▸ ShellDeck wordmark (scroll horizontally so a long list never grows the bar) — reclaims their entire separate row.
  • Drop redundant status pills: remove the always-true "dashboard signed in"; show the access pill only when shells are LOCKED (hide the redundant "shells unlocked" via .access-pill.on{display:none}).
  • Safe shot gated behind DASHBOARD_ENABLE_SAFE_SHOT (default off) — config.enable_safe_shot conditionally renders the button. Set the env to 1 to show it.

Pure-ish: config.rs (flag) + pages.rs (header restructure + conditional button) + app.css (inline tickers, hide-unlocked pill) + prefs.ts (drop dead authState line).

Verified live (1600px)

Tickers inline next to the wordmark, authState/safeShotBtn absent, Refresh + Sign out intact, build green, console clean.

🤖 Generated with Claude Code

… shot

- Move the ticker bar into the top bar next to the wordmark (scrolls
  horizontally) — reclaims its whole separate row.
- Remove the always-true "dashboard signed in" pill; show the access
  pill only when shells are LOCKED (hide the redundant "shells unlocked"
  via .access-pill.on{display:none}).
- Gate the "Safe shot" button behind DASHBOARD_ENABLE_SAFE_SHOT
  (env_flag, default off) — config.enable_safe_shot conditionally
  renders the button in pages.rs.

Verified live: tickers inline, authState/safeShotBtn absent, refresh +
sign-out intact, build green, console clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 6, 2026 08:05
@falkoro falkoro merged commit 3cacfc1 into master Jun 6, 2026
@falkoro falkoro deleted the feat/topbar-tickers-reclaim branch June 6, 2026 08:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reclaims vertical space in the dashboard header by moving the ticker strip into the top bar, removing redundant status UI, and gating the “Safe shot” action behind a new config/env flag.

Changes:

  • Restructures the dashboard header layout to inline the ticker strip within the top bar.
  • Removes the redundant “dashboard signed in” pill and hides the “shells unlocked” access pill via CSS.
  • Adds DASHBOARD_ENABLE_SAFE_SHOT / config.enable_safe_shot to conditionally render the Safe shot button.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/pages.rs Reorders header markup (tickers inline) and conditionally renders the Safe shot button.
src/config.rs Introduces enable_safe_shot config flag sourced from DASHBOARD_ENABLE_SAFE_SHOT.
public/app.css Adds topbar-specific ticker strip styling and hides the “unlocked” access pill state.
frontend/prefs.ts Removes now-dead UI update for the removed #authState element.
public/prefs.js Removes now-dead UI update for the removed #authState element (built output).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/config.rs
Comment on lines +63 to +65
// "Safe shot" generates a shareable, redacted screenshot. Off by default; set
// DASHBOARD_ENABLE_SAFE_SHOT=1 to show the top-bar button.
pub enable_safe_shot: bool,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants