add watercooler dashboard support#36
Draft
AIndoria wants to merge 2 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Watercooler support to the Volition dashboard by including chat:watercooler in the default channel set, making it the initial active channel on both desktop and mobile, and keeping a stable “core channels first” ordering as new channels are discovered at runtime. It also introduces lightweight /debug and /metrics endpoints and makes local defaults for Redis host and dashboard port configurable via environment variables.
Changes:
- Add
chat:watercoolerto the dashboard’s default chat streams and make it the initial selected channel (desktop + mobile). - Preserve stable ordering for core vs. dynamically discovered channels in the frontend channel lists.
- Add
/debugand/metricsendpoints; add local env defaults forREDIS_HOSTandDASHBOARD_PORT.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| dashboard/volition_dashboard.py | Adds default chat stream list incl. Watercooler, adds /debug + /metrics, and makes Redis host + dashboard port configurable. |
| dashboard/templates/mobile.html | Switches initial active channel to Watercooler and keeps core chat channels pinned ahead of discovered channels. |
| dashboard/templates/index.html | Adds Watercooler UI label/subtitle, switches initial active channel to Watercooler, and keeps core chat channels pinned ahead of discovered channels. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+60
to
+69
| @app.get("/debug", response_class=JSONResponse) | ||
| async def get_debug(): | ||
| """Tiny sanity check so it is obvious which dashboard process is running.""" | ||
| return { | ||
| "app": "volition-dashboard", | ||
| "port": DASHBOARD_PORT, | ||
| "template_dir": str(TEMPLATE_DIR), | ||
| "desktop_template": "index.html", | ||
| "mobile_template": "mobile.html", | ||
| } |
Comment on lines
+71
to
+73
| @app.get("/metrics", response_class=PlainTextResponse) | ||
| async def get_metrics(): | ||
| return "volition_dashboard_info 1\n" |
Add watercooler channel ordering and labels across desktop and mobile views. Expose lightweight debug and metrics endpoints, localhost Redis defaults, and a configurable dashboard port.
Default the dashboard host to loopback, remove the unused metrics endpoint, and keep debug output free of filesystem paths.
AIndoria
force-pushed
the
port/runtime-sync
branch
from
July 11, 2026 09:51
24254e1 to
e4e161d
Compare
AIndoria
force-pushed
the
port/dashboard-v2-sync
branch
from
July 11, 2026 09:51
ee65fbe to
5b6d782
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chat:watercoolerto desktop and mobile dashboard channel lists.Validation
dashboard/volition_dashboard.pygit diff --checkAI disclosure
This PR is derived from custom dashboard code originally authored by Abe in the private, local Abiverse repository. Codex was used to replicate, sanitize, organize, and validate the changes for the public Volition repository.