Skip to content

feat(console): follow active Acode theme - #2814

Merged
bajrangCoder merged 3 commits into
mainfrom
console-theme-integration
Aug 26, 2026
Merged

feat(console): follow active Acode theme#2814
bajrangCoder merged 3 commits into
mainfrom
console-theme-integration

Conversation

@bajrangCoder

Copy link
Copy Markdown
Member

No description provided.

@greptile-apps

greptile-apps Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR makes the standalone console follow Acode’s active application theme and updates the previously static snapshot when the theme changes.

  • Serves theme CSS and JSON snapshots through stable local-server routes.
  • Polls the live snapshot from an open standalone console and applies changed CSS and theme type.
  • Replaces fixed console colors with semantic variables derived from the active theme.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains; the current code refreshes an open console from a stable route served by replacement server instances.

Important Files Changed

Filename Overview
src/lib/console.js Adds lifecycle-managed polling that applies changed theme CSS and type to the standalone console.
src/lib/run.js Adds stable theme snapshot routes to every local-server instance, addressing endpoint continuity across server replacement.
src/styles/console.m.scss Maps standalone console colors to semantic application-theme variables while retaining fallback values.
src/views/console.hbs Loads the initial theme stylesheet and exposes the stable live-snapshot endpoint to the console client.

Sequence Diagram

sequenceDiagram
  participant App as Acode theme
  participant Server as Local run server
  participant Console as Standalone console
  App->>App: Apply CSS and theme type
  Console->>Server: GET __acode_console_theme.json
  Server->>App: Read current app-theme CSS and type
  App-->>Server: Theme snapshot
  Server-->>Console: JSON snapshot
  Console->>Console: Replace live style and theme-type
Loading

Reviews (3): Last reviewed commit: "fix" | Re-trigger Greptile

Comment thread src/lib/run.js
@bajrangCoder

This comment was marked as outdated.

@bajrangCoder

This comment was marked as outdated.

@bajrangCoder
bajrangCoder added this pull request to the merge queue Aug 26, 2026
Merged via the queue into main with commit 99bf969 Aug 26, 2026
11 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Aug 26, 2026
@bajrangCoder
bajrangCoder deleted the console-theme-integration branch August 26, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant