Skip to content

add watercooler dashboard support#36

Draft
AIndoria wants to merge 2 commits into
port/runtime-syncfrom
port/dashboard-v2-sync
Draft

add watercooler dashboard support#36
AIndoria wants to merge 2 commits into
port/runtime-syncfrom
port/dashboard-v2-sync

Conversation

@AIndoria

Copy link
Copy Markdown
Owner

Summary

  • Add chat:watercooler to desktop and mobile dashboard channel lists.
  • Make Watercooler the initial dashboard channel.
  • Preserve stable ordering for core and dynamically discovered channels.
  • Add lightweight debug and metrics endpoints.
  • Make Redis host and dashboard port defaults locally configurable.

Validation

  • Python compilation for dashboard/volition_dashboard.py
  • git diff --check
  • Credential and private-infrastructure scan

AI 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.

@AIndoria AIndoria changed the title [codex] add watercooler dashboard support add watercooler dashboard support Jun 28, 2026
@AIndoria
AIndoria requested a review from Copilot July 5, 2026 06:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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:watercooler to 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 /debug and /metrics endpoints; add local env defaults for REDIS_HOST and DASHBOARD_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 thread dashboard/volition_dashboard.py Outdated
Comment on lines +71 to +73
@app.get("/metrics", response_class=PlainTextResponse)
async def get_metrics():
return "volition_dashboard_info 1\n"
AIndoria added 2 commits July 11, 2026 02:46
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
AIndoria force-pushed the port/runtime-sync branch from 24254e1 to e4e161d Compare July 11, 2026 09:51
@AIndoria
AIndoria force-pushed the port/dashboard-v2-sync branch from ee65fbe to 5b6d782 Compare July 11, 2026 09:51
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