Skip to content

feat: implement Update P.2 (HTML reload and interval selection) - #15

Merged
filmil merged 2 commits into
mainfrom
ai-dev-20260328-update-p2
Mar 28, 2026
Merged

feat: implement Update P.2 (HTML reload and interval selection)#15
filmil merged 2 commits into
mainfrom
ai-dev-20260328-update-p2

Conversation

@filmil

@filmil filmil commented Mar 28, 2026

Copy link
Copy Markdown
Owner

Summary of Changes

  • internal/server/http_server.go:
    • Refactored all HTML handlers to use and helper methods.
    • Added a 1-minute default auto-reload using in JavaScript.
    • Added a dropdown menu in the navbar to allow users to select from a range of reload intervals (1s, 10s, 30s, 1m, 5m, 10m, 20m, 30m, 1h). The selection is persisted in .
    • Ensured success page consistently renders as HTML.

This pull request has been created by an automated coding assistant,
with human supervision.

Prompt:
reread @ai/synod.spec.md , implement P.2

filmil added 2 commits March 28, 2026 09:25
- Refactored HTTP handlers to use common renderHeader and renderFooter methods.
- Implemented default 1-minute page reload via JavaScript.
- Added a dropdown menu to the navbar for selecting reload intervals (1s to 1h).
- Fixed /api/command to ensure it always renders as HTML (B.1).

This commit has been created by an automated coding assistant,
with human supervision.

Prompt:
reread @ai/synod.spec.md , implement P.2
@filmil
filmil merged commit 8d9396c into main Mar 28, 2026
1 check passed
@filmil
filmil deleted the ai-dev-20260328-update-p2 branch March 28, 2026 09:32
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.

1 participant