mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Let UI Prototype start from a Notebook tab, filling its request box on Start fresh
AI Assisted
This commit is contained in:
1 parent
fde92ef4d2
commit
c6265795ea
9 files changed
+38
-12
No files matched your search
@@ -710,15 +710,17 @@ export function cardAvailability(entry, scan, sel, lookup = stateFor) {
|
||||
}
|
||||
|
||||
// The cards whose confirm pane offers "Start with a note from your Notebook"
|
||||
// on Start fresh: the three that open on an idea box.
|
||||
const NOTE_FRESH_CARDS = new Set(["plan2code-0-pathfinder", "plan2code-1-plan", "plan2code-quick-task"]);
|
||||
// on Start fresh: the three that open on an idea box, and UI Prototype, whose
|
||||
// request box it fills.
|
||||
const NOTE_FRESH_CARDS = new Set(["plan2code-0-pathfinder", "plan2code-1-plan", "plan2code-quick-task", "plan2code-ui-prototype"]);
|
||||
|
||||
/**
|
||||
* Whether a lit card's confirm pane offers the Notebook switch: Pathfinder,
|
||||
* Plan and Quick Task on Start fresh (no spec picked), Diagnose whenever it is
|
||||
* lit (it launches untargeted, so a picked spec does not matter), and Revise
|
||||
* plan on a picked spec with no plan change brief waiting (a waiting brief is
|
||||
* what that revision is about). Never on a grayed card, never on any other card.
|
||||
* Plan, Quick Task and UI Prototype on Start fresh (no spec picked), Diagnose
|
||||
* whenever it is lit (it launches untargeted, so a picked spec does not
|
||||
* matter), and Revise plan on a picked spec with no plan change brief waiting
|
||||
* (a waiting brief is what that revision is about). Never on a grayed card,
|
||||
* never on any other card.
|
||||
*/
|
||||
export function noteSwitchShows(entry, scan, sel) {
|
||||
if (!entry || !cardAvailability(entry, scan, sel).on) return false;
|
||||
|
||||
@@ -1564,9 +1564,10 @@
|
||||
</li>
|
||||
<li>
|
||||
A lit card's confirm pane can offer <strong>Start with a note from
|
||||
your Notebook</strong>. On the dashboard, Pathfinder, Plan and Quick
|
||||
Task offer it on Start fresh, and Revise plan on a picked spec with
|
||||
no plan change waiting. A tab you started a workflow with wears a
|
||||
your Notebook</strong>. On the dashboard, Pathfinder, Plan, Quick
|
||||
Task and UI Prototype offer it on Start fresh, Diagnose whenever
|
||||
it is lit, and Revise plan on a picked spec with no plan change
|
||||
waiting. A tab you started a workflow with wears a
|
||||
small <strong>sent</strong> badge.
|
||||
</li>
|
||||
<li>
|
||||
|
||||
Reference in new issue
Block a user