Skip to content

[JM-10] Add a standalone pomodoro web app#21

Closed
jiamingz42 wants to merge 2 commits intomainfrom
dev/jm/jm-10-pomodoro-web-app
Closed

[JM-10] Add a standalone pomodoro web app#21
jiamingz42 wants to merge 2 commits intomainfrom
dev/jm/jm-10-pomodoro-web-app

Conversation

@jiamingz42
Copy link

Context

JM-10 asks for a lightweight pomodoro web app without introducing a separate frontend or regressing Symphony's existing HTTP dashboard and JSON API.

TL;DR

Add a standalone /pomodoro timer page to the Elixir HTTP server and document the new optional route.

Summary

  • Serve a self-contained pomodoro UI from /pomodoro and link to it from the existing dashboard.
  • Support configurable focus and break durations plus start, pause, reset, and auto phase changes.
  • Cover the new route in HTTP tests and document/spec-align the optional /pomodoro surface.

Alternatives

  • Add a separate web app stack, but that would widen scope for a single local demo page.
  • Replace the / dashboard, but keeping / observability-first preserves existing operator workflows.

Test Plan

  • make -C elixir all
  • Browser walkthrough on http://127.0.0.1:4010/pomodoro with 00:03 focus / 00:02 break durations.
  • rg -n "/pomodoro|dashboard plus pomodoro|self-contained local demo" SPEC.md elixir/README.md

jiamingz42 and others added 2 commits March 3, 2026 00:35
Summary:
- add a dedicated /pomodoro route plus a dashboard link to the new page
- render a self-contained pomodoro UI with configurable focus and break
  durations, live countdown controls, and automatic phase switching
- extend HTTP server coverage for the new route and method handling

Rationale:
- keep the requested web app scoped to the existing lightweight observability
  server instead of introducing a larger frontend surface
- make the timer easy to demo locally by keeping all styling and interaction
  logic inline with the route response

Tests:
- cd /Users/jm/code/symphony-workspaces/JM-10/elixir && make all
- browser walkthrough on http://127.0.0.1:4010/pomodoro with 00:03 focus /
  00:02 break durations

Co-authored-by: Codex <noreply@openai.com>
Summary:
- mention the new `/pomodoro` page in the Elixir README HTTP server docs
- clarify in `SPEC.md` that optional demo routes may exist outside the
  dashboard and `/api/v1/*` contract

Rationale:
- keep the shipped pomodoro experience discoverable from the runtime docs
- align the optional HTTP extension spec with the implementation so the
  dashboard and JSON API contract stays explicit

Tests:
- cd /Users/jm/code/symphony-workspaces/JM-10/elixir && make all
- cd /Users/jm/code/symphony-workspaces/JM-10 && rg -n "/pomodoro|dashboard plus pomodoro|self-contained local demo" SPEC.md elixir/README.md

Co-authored-by: Codex <noreply@openai.com>
@jiamingz42 jiamingz42 added the symphony Track Symphony work for codebase label Mar 3, 2026
@frantic-openai frantic-openai deleted the dev/jm/jm-10-pomodoro-web-app branch March 4, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

symphony Track Symphony work for codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants