feat: task lane persistence + sidebar cleanup #121

Merged
chihlasm merged 49 commits from feat/task-lane-persistence into main 2026-03-29 16:59:41 +00:00
chihlasm commented 2026-03-27 21:48:22 +00:00 (Migrated from github.com)

Summary

  • Task lane persistence: Questions/actions from the AI are saved to a pending_task_lane JSONB column on ai_sessions. Restores on session switch or page reload.
  • Partial submit fix: Submitting answers no longer force-clears the task lane — the AI response controls what stays visible.
  • Sidebar cleanup: Removed redundant "New Session" button from both pinned and icon-rail sidebar (dashboard StartSessionInput is the primary entry point).

Migration

Run alembic upgrade head — adds pending_task_lane nullable JSONB column to ai_sessions.

Test plan

  • Open /assistant, trigger AI questions, answer 1 of 3, submit — lane should NOT disappear between submit and AI response
  • After getting task lane items, reload page and re-select the session — task lane restores
  • Switch sessions back and forth — task lane restores from each session's persisted state
  • Verify "New Session" button is gone from sidebar (both pinned and icon rail)
  • npm run build passes
  • Backend tests pass

🤖 Generated with Claude Code

## Summary - **Task lane persistence**: Questions/actions from the AI are saved to a `pending_task_lane` JSONB column on `ai_sessions`. Restores on session switch or page reload. - **Partial submit fix**: Submitting answers no longer force-clears the task lane — the AI response controls what stays visible. - **Sidebar cleanup**: Removed redundant "New Session" button from both pinned and icon-rail sidebar (dashboard `StartSessionInput` is the primary entry point). ## Migration Run `alembic upgrade head` — adds `pending_task_lane` nullable JSONB column to `ai_sessions`. ## Test plan - [ ] Open /assistant, trigger AI questions, answer 1 of 3, submit — lane should NOT disappear between submit and AI response - [ ] After getting task lane items, reload page and re-select the session — task lane restores - [ ] Switch sessions back and forth — task lane restores from each session's persisted state - [ ] Verify "New Session" button is gone from sidebar (both pinned and icon rail) - [ ] `npm run build` passes - [ ] Backend tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-03-27 21:48:41 +00:00 (Migrated from github.com)

🚅 Deployed to the resolutionflow-pr-121 environment in selfless-grace

Service Status Web Updated (UTC)
hopeful-liberation Success (View Logs) Web Mar 29, 2026 at 4:46 pm
patherly Success (View Logs) Web Mar 29, 2026 at 4:45 pm
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [resolutionflow-pr-121](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=82e6f428-ad18-4583-84b2-f789e3e4afb3) environment in **[selfless-grace](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134)** | **Service** | **Status** | **Web** | **Updated** (UTC) | | :--- | :--- | :--- | :--- | | hopeful-liberation | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=c214f660-3176-4a6a-a7b6-eaf455b3708d&environmentId=82e6f428-ad18-4583-84b2-f789e3e4afb3)) | [Web](https://hopeful-liberation-resolutionflow-pr-121.up.railway.app) | Mar 29, 2026 at 4:46 pm | | patherly | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/95f556ff-5264-4116-a0c2-618a2fc53ba4?id=eb660985-895e-47f5-905f-bddf57b73773&environmentId=82e6f428-ad18-4583-84b2-f789e3e4afb3)) | [Web](https://patherly-resolutionflow-pr-121.up.railway.app) | Mar 29, 2026 at 4:45 pm |
Sign in to join this conversation.