feat(web): content calendar view (per-account) - #245
Merged
Conversation
|
|
||
| /** YYYY-MM-DD key in the display timezone (en-CA formats as ISO-like). */ | ||
| function dayKey(d: Date): string { | ||
| return new Intl.DateTimeFormat('en-CA', { |
| </div> | ||
|
|
||
| <div class="form-group"> | ||
| <label class="form-label" for="calendar-account">Account</label> |
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
New /admin/calendar page: weekly and monthly grids with prev/today/next navigation, per-account filter, items placed by scheduled_at in the display timezone, status badges, and click-through to the shared ScheduleDetail component (approve/reject/delete HITL actions with in-place reload). Admin nav gains a Calendar entry. SSR-safe: anchor date set client-only, fetches run through the same effect pattern as the schedules page.
ajianaz
force-pushed
the
feat/241-content-calendar
branch
from
September 2, 2026 05:53
8870eb0 to
52099fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
/admin/calendarpage: weekly (Mon–Sun) and monthly grids, toggleable via Tabs.scheduled_atin the display timezone, bucketed per day and time-sorted.StatusBadgevariant by status; click opens the sharedScheduleDetailmodal with approve/reject/delete HITL actions and in-place reload.Why
Closes #241 (split from #191). Schedules were only visible as a flat list; a calendar view makes review load and content gaps obvious at a glance, per account.
Testing
bun run build(SvelteKit) → exit 0, cleanbun run check→ 0 errors in changed files (2 pre-existing errors inadmin/media/+page.svelteexist on develop and are untouched by this PR)listSchedules({from, to, account_id})/listAccounts()— no API changes