PhoenixKitProjects.Web.Components.QuickAddComposer (PhoenixKitProjects v0.22.0)

Copy Markdown View Source

The "Add a task" row at the foot of a project's task list.

It used to be an inline Todoist-style input (2026-09-04). Max, the day after, once the add-task form had become a right-hand sheet beside the list: "the add a task should both open the popup and inside there should we have that stuff setup." So the row is now the second way into the same sheet as the "Add task" button at the top — it opens AssignmentFormLive in Create-new with the cursor in the title, and the keyboard loop lives in the form: Enter adds and closes, Shift+Enter adds and starts the next task on a fresh form, Esc closes a clean form. The sheet sits beside the list, so the list is still watched growing — the inline row's one advantage — with the full fields a glance away for the one task in ten that needs them.

In popup / emit mode this is a popup button; on a host page in navigate mode it is a link to the add page. It must stay OUTSIDE the sortable container so a drag never treats it as a row.

Summary

Functions

quick_add_composer(assigns)

Attributes

  • project_uuid (:string) (required)
  • embed_mode (:any) - Defaults to nil.
  • id (:string) - Defaults to "quick-add".