feat: separate routes for each section #3

Closed
TopherMayor wants to merge 1 commits from feat/separate-routes into main
Owner

Changes

  • Refactored SPA to multi-page application
  • Each nav link is now its own Express route
  • Removed client-side navigation JavaScript

New Routes

  • GET / - Redirects to /tasks
  • GET /tasks - Tasks page with kanban board
  • GET /wiki - Wiki page with documentation
  • GET /agents - Agents page with agent cards
  • GET /usage - Usage page with provider info

Files Changed

  • server.js - Added route handlers for each page
  • public/tasks.html - Separate tasks page
  • public/wiki.html - Separate wiki page
  • public/agents.html - Separate agents page
  • public/usage.html - Separate usage page
  • public/app.js - Removed SPA navigation logic

API Endpoints (unchanged)

  • /api/tasks, /api/wiki, /api/agents, /api/usage remain as JSON APIs
## Changes - Refactored SPA to multi-page application - Each nav link is now its own Express route - Removed client-side navigation JavaScript ## New Routes - GET / - Redirects to /tasks - GET /tasks - Tasks page with kanban board - GET /wiki - Wiki page with documentation - GET /agents - Agents page with agent cards - GET /usage - Usage page with provider info ## Files Changed - server.js - Added route handlers for each page - public/tasks.html - Separate tasks page - public/wiki.html - Separate wiki page - public/agents.html - Separate agents page - public/usage.html - Separate usage page - public/app.js - Removed SPA navigation logic ## API Endpoints (unchanged) - /api/tasks, /api/wiki, /api/agents, /api/usage remain as JSON APIs
TopherMayor added 1 commit 2026-03-04 05:08:11 +00:00
TopherMayor closed this pull request 2026-03-04 19:51:20 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TopherMayor/openclaw-taskboard#3