Skip to content

Commit 46585bf

Browse files
ellyxirEllyse
and
Ellyse
authored
added two versions of tony's outliner charm to scenarios (#1047)
Co-authored-by: Ellyse <ellyse@common.tools>
1 parent 322b1fa commit 46585bf

File tree

1 file changed

+137
-0
lines changed

1 file changed

+137
-0
lines changed

charm-seeder/scenarios.ts

+137
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,141 @@ make it easy to rename and edit activities.
8383
make it minimal and apple-like UI.`,
8484
}],
8585
},
86+
{
87+
name: "HyperList - Extend Version",
88+
steps: [{
89+
type: CommandType.New,
90+
prompt: `Outline tool that allows me to create a hierarchical list where items can be nested under other items by one level per parent/child relationship. Moving any item will move everything nested inside that item's substructure. Items at the top level have no parents.
91+
92+
There is a root item in the list that looks the same as the others but can not be deleted. If one doesn't exist, add one and name it "Root".
93+
94+
Outliner tool that has two modes.
95+
96+
- The first root item appears like all other items, but can never be deleted.
97+
98+
- In Nav mode
99+
100+
- Pressing CMD-RETURN inserts a NEW LIST ITEM on the same level as the ACTIVE SELECTION and switches to Edit mode. IF ACTIVE SELECTION has indented children, the NEW LIST ITEM appears below all children.
101+
102+
- Keep track of the hierarchical level of the item as well as the parent. Display the level and item text from the parent in gray to the right of the item.
103+
104+
- Ensure that items never advance more than one hierarchical level in either direction per key press.
105+
106+
- The hierarchical level of each ACTIVE SELECTION can be increased or decreased with TAB and SHIFT-TAB.
107+
108+
- Pressing TAB demotes (indents) the ACTIVE SELECTION one level making it a child of the item above. If there is a hidden item directly above, show that hierarchy at this time.
109+
110+
- Pressing SHIFT-TAB promotes (unindents) the ACTIVE SELECTION.
111+
112+
- Show a disclosure triangle next to any item that has children. Pressing left arrow hides and right arrow shows or single clicking on the disclosure triangle directly toggles.
113+
114+
- Change the active selection with the up and down arrow keys. Skip items not shown due to disclosure triangles setting.
115+
116+
- DELETE deletes the ACTIVE SELECTION
117+
118+
- Pressing CMD-E or double-clicking an item switches to Edit mode.
119+
120+
- In Edit mode
121+
122+
- Edit mode allows editing the text of the ACTIVE SELECTION. It begins by selecting the existing text or inserting the cursor if there is no text.
123+
124+
- Pressing escape, up arrow, down arrow, or return switches to Nav mode and selects the current item as active.
125+
126+
Make the UI clean and Apple-like.
127+
128+
- Include a button to add list items and an indication of Nav or Edit mode at the top of the screen.
129+
130+
- Make all buttons subtle and minimal.
131+
132+
- Include a subtle version number in the corner: 0.01`
133+
}, {
134+
type: CommandType.Extend,
135+
prompt: "fix the bug where Tab should set the level to the item above which shares the same level as ActiveItem before indentation (increase hierarchical level) by one increment.",
136+
}, {
137+
type: CommandType.Extend,
138+
prompt: "fix the bug where CMD-Return SHOULD insert the new item directly below the current ActiveItem",
139+
}, {
140+
type: CommandType.Extend,
141+
prompt: "add the ability to change the order but moving the position of the active selection with CMD-up arrow and CMD-down arrow while retaining hierarchical integrity of all connected child relationships",
142+
}],
143+
},
144+
{
145+
name: "HyperList 4/14 One-shot",
146+
steps: [{
147+
type: CommandType.New,
148+
prompt: `HyperList is a hierarchical outline tool.
149+
150+
It offers two modes (Nav and Edit) and is driven by keyboard commands.
151+
152+
Hierarchical integrity is maintained as subitems with their Parent items.
153+
154+
Add a root item "Root" which can not be deleted.
155+
Force the focus on the outline.
156+
Pressing CMD-Return:
157+
If ActiveItem has children, insert a new List Item below all children
158+
Else, insert a new List Item
159+
Switch to Edit mode
160+
Outliner tool that has two modes.
161+
In Nav mode
162+
Pressing Tab:
163+
If there is a hidden item directly above (sharing the same hierarchical Level) show that hierarchy.
164+
If the parent item is at the same level, increment hierarchical Level by one and indent ActiveItem.
165+
Change the selected ActiveItem with the up and down arrow keys. Skip items not shown due to disclosure triangles setting.
166+
Pressing Shift-Tab:
167+
Only if Level is not 0, decrement hierarchical Level and change parent to the first item above on at one level below.
168+
Show a disclosure triangle next to any item that has children. Pressing left arrow hides and right arrow shows or single clicking on the disclosure triangle directly toggles.
169+
If triangle is in closed position, pressing left arrow again moves the ActiveItem to the parent.
170+
Double-clicking any item selects that item as ActiveItem and switches to Edit mode
171+
DELETE deletes the ActiveItem
172+
Pressing CMD-e switches to Edit mode on the current ActiveItem
173+
up and down arrow keys
174+
In Edit mode
175+
Pressing escape, up arrow, down arrow, or return saves the ActiveItem before switching back to Nav mode
176+
Pressing Tab in Edit mode should behave the same as Nav mode but allow editing of the ActiveItem text.
177+
Edit mode allows editing the text of the ActiveItem. It begins by selecting the existing text or inserting the cursor if there is no text.
178+
ItemDetails is a full height window (with large notes field and Dock button that shows it as a pane on the right) which can be opened by pressing Shift-CMD-o or Shift-CMD-n or double-clicking on any ActiveItem and shows a particular display depending on the ItemType. Focus is shifted to the item text field on open. CMD-Return saves everything and closes the ItemDetails window.
179+
ItemTypes include:
180+
List
181+
Shows Text, Notes (only in Details Window), Date Created (only in Details Window)
182+
Task
183+
Shows CompletedState (checkbox), Text, DueDate (with date picker), Notes (only in Details Window), Date Created (only in Details Window)
184+
Make check boxes green
185+
Make the due date a red badge if overdue
186+
Make the due date a blue badge if due today
187+
Make it so that I can click the due date and change it with a date picker
188+
Make the UI clean and Apple-like in dark mode.
189+
Start the list with the item: "Welcome to HyperList." and set to ActiveItem.
190+
The first item in the list can never be deleted.
191+
Nav mode keeps the focus on the list.
192+
The display order of the list always respects the Ordinal Position (per level)
193+
At the top
194+
Add Item
195+
Settings (minimal icon)
196+
Opens Settings window
197+
Rename the App Title
198+
Option to Hide Root Item
199+
Option to Hide Completed Items
200+
At the bottom
201+
Indicate Nav or Edit mode
202+
Indicate the Indent Level, Displayed Position (vertical), Level Position (relative to it's level) of the ActiveItem, Parent item (Text)
203+
Triggers:
204+
As typed:
205+
Items that begin with [] are converted to ItemType: Task
206+
On save of new item or edit of existing item:
207+
Triggers on save new item:
208+
Additional keyboard commands:
209+
CMD-e enters Edit mode on ActiveItem
210+
Pressing escape, up arrow, down arrow, or return saves the ActiveItem before switching back to Nav mode
211+
Option-Return: Insert a new item above the ActiveItem and switch to Edit mode
212+
CMD-left arrow: collapse all child items of the ActiveItem
213+
Shift-CMD-left arrow: collapse all items of the entire outline
214+
CMD-up arrow and CMD-down arrow changes the Level Position of the ActiveItem. Hierarchical integrity is maintained as all children move with the parent.
215+
CMD-; Inserts today's Day and Date
216+
CMD-' Inserts the current time stamp
217+
Make all buttons subtle and minimal.
218+
Include a subtle version number in the corner: 0.01
219+
Fix the bug where users can't add items!
220+
Force focus on the first item of the list`
221+
}],
222+
},
86223
];

0 commit comments

Comments
 (0)