Refactor global schedules with mobile-responsive UI and backend optimizations (#167)

* ralph: ralph-global-schedules-dashboard completed after 2 iterations

* Refactor global schedules with mobile-responsive UI and backend optimizations
This commit is contained in:
Chris Scott authored and GitHub committed 2026-03-22 18:23:36 -04:00
1 parent ba15fb31e4
commit f18bcbbf3e
10 files changed
+721 -1

No files matched your search

+9
View File
@@ -35,6 +35,15 @@ function parseRunListLimit(value: string | undefined): number {
export function createScheduleRoutes(scheduleService: ScheduleService) {
const app = new Hono()
app.get('/all', (c) => {
try {
const jobs = scheduleService.listAllJobsWithRepos()
return c.json({ jobs })
} catch (error) {
return handleScheduleError(c, error, 'Failed to list all schedules')
}
})
app.get('/', (c) => {
try {
const repoId = parseId(c.req.param('id'), 'repo id')