Skip to content

Split init into separate queries and simplify tasks panel#804

Merged
EhabY merged 2 commits intomainfrom
refactor-tasks-webview
Feb 24, 2026
Merged

Split init into separate queries and simplify tasks panel#804
EhabY merged 2 commits intomainfrom
refactor-tasks-webview

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Feb 19, 2026

  • Replace InitResponse with separate getTasks and getTemplates queries
    with independent poll intervals (10s tasks, 5min templates)
  • Remove extension-side template cache in favor of React Query staleTime
  • Add resume button to TaskMessageInput for paused tasks
  • Reject message sends to paused tasks instead of auto-starting workspace
  • Extract TasksPanel component and usePersistedState hook from App
  • Centralize query keys in config.ts
  • Rename TasksPanel to TasksPanelProvider on the extension side
  • Add refresh bar indicator for initial load and user-triggered refresh

@EhabY EhabY self-assigned this Feb 19, 2026
@EhabY EhabY force-pushed the refactor-tasks-webview branch from 2b6a923 to 0391a4b Compare February 19, 2026 12:24
@EhabY EhabY force-pushed the add-startup-logs-in-task-detail-view branch from aeccdf8 to f93eb37 Compare February 19, 2026 12:33
Base automatically changed from add-startup-logs-in-task-detail-view to main February 19, 2026 14:01
@EhabY EhabY force-pushed the refactor-tasks-webview branch from 0391a4b to adad103 Compare February 19, 2026 14:02
- Replace InitResponse with separate getTasks and getTemplates queries
  with independent poll intervals (10s tasks, 5min templates)
- Remove extension-side template cache in favor of React Query staleTime
- Add resume button to TaskMessageInput for paused tasks
- Reject message sends to paused tasks instead of auto-starting workspace
- Extract TasksPanel component and usePersistedState hook from App
- Centralize query keys in config.ts
- Rename TasksPanel to TasksPanelProvider on the extension side
- Add refresh bar indicator for initial load and user-triggered refresh
@EhabY EhabY force-pushed the refactor-tasks-webview branch from adad103 to 1bd2ac7 Compare February 19, 2026 16:13
@mafredri mafredri self-requested a review February 20, 2026 07:51
@EhabY EhabY requested a review from mtojek February 24, 2026 10:42
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@EhabY EhabY merged commit 1d32675 into main Feb 24, 2026
6 checks passed
@EhabY EhabY deleted the refactor-tasks-webview branch February 24, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants