Skip to content

Conversation

unclebay143
Copy link
Contributor

closes #84

This PR introduces a reusable, queue panel system component that can be used for both 𝗺𝗲𝘀𝘀𝗮𝗴𝗲𝘀 and 𝘁𝗼𝗱𝗼𝘀 queue (inspired by Cursor). It provides a shared context and hook for managing queued items, along with UI CRUD operations.

Key Features

  • Shared Task Queue Context (useTaskQueue):

    • Manages both message queue and todo items in a unified store.
    • Provides methods to add, remove, and update tasks.
  • Reusable UI Component (TaskQueuePanel):

    • Displays both queued messages and todo items in collapsible panels.
    • Supports removal and “Send Now” actions for queued messages.

How to Use

  • Wrap your app (or relevant subtree) in TaskQueueProvider.
  • Use the useTaskQueue hook to interact with the shared store.
  • Render the TaskQueuePanel component, passing in the appropriate props.

Demo

Screen.Recording.2025-10-11.at.6.58.49.PM.mov

Copy link

vercel bot commented Oct 11, 2025

@unclebay143 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@unclebay143
Copy link
Contributor Author

cc: @haydenbleasel

@unclebay143 unclebay143 changed the title Feat (new element): implement reusable task queue and panel (message and todo) Feat (new element): implement reusable task queue and panel (message and todo default) Oct 11, 2025
@haydenbleasel
Copy link
Collaborator

Fantastic work @unclebay143 - will announce this on X tomorrow as part of a larger update! 🙏 🚢

@haydenbleasel haydenbleasel merged commit e262849 into vercel:main Oct 15, 2025
2 of 5 checks passed
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.

Adding a Cursor inspired Prompt Queue

2 participants