Repository navigation
D606: the Eadwyn Tickets canvas, built: the review queue and the Eadwyn chat's Tasks and My tickets (closes #1107, #1108) - #1319
Merged
Conversation
The owner's Eadwyn Tickets canvas, its four screens built: - T1, T1b: /hq/review, the Super Admin's review queue. Two tabs counting what waits (withheld, never 0, while a list is loading or unreadable), a title search, Priority and Date filters, "1-25 of [N]", the most pressing first, and Approve and Decline on the item they decide, each with a typed reason (D544's rule). A task has the audience picker and "Approve · +N credits", N from the credit rules. - T2, T3: the Eadwyn chat's panel. Conversation, Tasks (community tasks with Start, my suggestions with what each grant paid, Suggest a task) and My tickets (the balance, each ticket's bounty or review, what a fixed bug earns by tier). Worker first: the review lists return the number waiting (`total`) and a task's issue number; each approved suggestion carries the credits its grant paid; GET /api/community-tasks/rewards gives members the amounts the panels state. The chat's ticket form loses its preset type (D544), except from "Suggest a task". H7 links a feature request awaiting review to the queue, for the Super Admin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018jkNYLq29UXAvcqYxGCSB3
|
Preview: https://studioos-pr-1319.guillaumelauzier.workers.dev (built from 224e2e0) The pull request's SPA build on a Worker with no bindings: pages and deep links work, |
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.
Objective
Your Eadwyn Tickets canvas, built. You approved it on #1107 (
https://claude.ai/artifact/7sLCsbcdBAqK8XuaYVtzcA). Its four screens:/hq/review. The Super Admin's review queue for feature requests and suggested tasks.Closes #1107. Closes #1108. Their stores and APIs (D544, D545) were merged, and only these pages remained.
Implementation
Worker first
GET /api/admin/ticket-reviews/featuresand/tasksnow returntotalbesidecount. A list reads the oldest 200, so a queue past the 200th used to show a short number.reward: the credits its grant actually paid, read from the ledger the way D542 reads a bounty.GET /api/community-tasks/rewards(new, signed in) gives members the four amounts the panels state: an approved task, and a high, medium or low bug.null, never 0.T1, T1b:
/hq/review(pages/hq/ReviewQueuePage.jsx)T2, T3: the Eadwyn chat (
components/advisor/EadwynPanels.jsx)Also
Where the build departs from the canvas, and why
/admin/accounts/[id]does not exist./tasks/[id]does not exist, and nothing records who started a task.Files changed
routes/admin_ticket_reviews.tsroutes/community_tasks.tspages/hq/ReviewQueuePage.jsx(new)components/advisor/EadwynPanels.jsx(new)lib/eadwynTickets.js(new)lib/api/ticketReviews.js(new)lib/api/communityTasks.jslib/api.js(one re-export line)components/advisor/PersonalAdvisor.jsxpages/TicketsPage.jsxpages/hq/HqSupportPage.jsxApp.jsxsidebarConfig.jsdesign/canvases/integrated/Eadwyn Tickets.dc.html(new)design/canvases/integrated/Eadwyn Tickets Screen.dc.html(new)decisions/D606.md(new)ROUTE_MAP.md: two rowsPROFILE_ROUTING.mdandPAGE_INVENTORY.md, regeneratedcloudflare-worker/test/eadwyn_tickets_d606.test.ts(new)frontend/test/eadwyn_tickets_d606.test.mjs(new)ticket_type_required_d544.test.tsprofile_routing_fresh.test.mjsTesting
The full suite.
npm run build, thennpm run test:drift, gaveEXIT=0on this PR's head (224e2e015, onmainat085e573b9, after D607's canvas move:integrated/79 → 81):lint:undefand the dark-mode check all pass.New tests:
totalpast the 200 it returns;Mutation checks: 37 of 37 caught. Each undid one behaviour, and every file was restored and checked by sha256.
Rendered check. The built bundle was served with stubbed
/apireplies:Risks
GET /api/community-tasks/rewards, signed in, read-only./hq/review.Dependencies
main.main.Agent
S01 · Claude Code
Review requested
The owner.
🤖 Generated with Claude Code
https://claude.ai/code/session_018jkNYLq29UXAvcqYxGCSB3
Generated by Claude Code