diff --git a/packages/dashboard/app/components/QuickEntryBox.tsx b/packages/dashboard/app/components/QuickEntryBox.tsx
index 62e6ff1bcf..713cb37e5e 100644
--- a/packages/dashboard/app/components/QuickEntryBox.tsx
+++ b/packages/dashboard/app/components/QuickEntryBox.tsx
@@ -1507,6 +1507,119 @@ export function QuickEntryBox({ onCreate, addToast, tasks = [], availableModels,
touchButtonRef.current = null;
}}
>
+
+
+
+
+
+
+
+
+
+
+ {showPriorityPicker && portalRoot && priorityPickerPosition && createPortal(
+ e.preventDefault()}
+ style={{
+ position: "fixed",
+ top: `${priorityPickerPosition.top}px`,
+ left: `${priorityPickerPosition.left}px`,
+ width: `${priorityPickerPosition.width}px`,
+ maxHeight: priorityPickerPosition.maxHeight ? `${priorityPickerPosition.maxHeight}px` : undefined,
+ overflowY: priorityPickerPosition.maxHeight ? "auto" : undefined,
+ }}
+ >
+
{t("tasks.selectPriority", "Select priority")}
+ {TASK_PRIORITIES.map((taskPriority) => {
+ const label = `${taskPriority[0].toUpperCase()}${taskPriority.slice(1)}`;
+ return (
+
e.preventDefault()}
+ onClick={() => {
+ setPriority(taskPriority);
+ setShowPriorityPicker(false);
+ setPriorityPickerPosition(null);
+ }}
+ >
+ {label}
+
+ );
+ })}
+
,
+ portalRoot,
+ )}
+