From ad5cc148584b420611e1328ae702785829cb6d51 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 25 Aug 2026 18:19:28 +0000 Subject: [PATCH] chore(tasks): add UI redesign task for sessions drawer Create a system analysis task plan in `tasks/new/` detailing how to redesign the Sessions management page's header and unified drawer, strictly adhering to the Auth-Yes SSR JSX standards and vanilla JS implementations. Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com> --- ....story.ui.redesign-sessions-drawer-1812.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tasks/new/2026-0825.01.jul.story.ui.redesign-sessions-drawer-1812.md diff --git a/tasks/new/2026-0825.01.jul.story.ui.redesign-sessions-drawer-1812.md b/tasks/new/2026-0825.01.jul.story.ui.redesign-sessions-drawer-1812.md new file mode 100644 index 0000000..22673e9 --- /dev/null +++ b/tasks/new/2026-0825.01.jul.story.ui.redesign-sessions-drawer-1812.md @@ -0,0 +1,48 @@ +# TASK METADATA + +- **Target Files:** + - `ui/components/SessionsPage.tsx` + - `ui/ui_scripts.test.ts` +- **Core Objective:** Redesign the Sessions management page header and drawer to eliminate dual competing top buttons, restoring the clean single `[+ Delegate Session]` header action, and unifying both pass creation workflows (1:1 Direct Pass vs. Multi-Claim Workshop Pass) into clean internal drawer tabs. +- **Dependencies:** None. +- **Additional Important Notes:** Must maintain 100% compliance with zero-framework SSR JSX standards and pass `ui/ui_scripts.test.ts` without client-side syntax errors. + +--- + +## Architectural Considerations & Risks + +- **Risks:** The primary risk involves introducing JavaScript syntax errors when consolidating the drawer forms and adding the tab-switching logic. Since this is an SSR JSX environment without a framework like React, all DOM manipulation and state management (like toggling tabs) rely on raw inline or embedded `