Homepage ':edit' should match fzt-automate's edit submenu (navigate + Shift+Enter), not swap to HTML tree editor #20
Labels
No labels
ambient-effects
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
needs-verification
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/my-homepage#20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
my-homepage#15 fixed the silent no-op on `:edit` by wiring it to `enterEditMode()` — which swaps the terminal out for the HTML tree editor. That preserved the pre-2026-04-05 behavior (when `homectl:edit` was a bookmark with that URL action) but it's not the intended UX going forward.
Intended behavior
`:edit` should work like it does in fzt-automate today:
This is the same flow already shipped in fzt-automate v0.1.26:
├── add-after (Action: add-after)
├── add-folder (Action: add-folder)
├── edit-item (Action: rename)
├── delete (Action: delete)
└── save (Action: save)
```
fzt-frontend's `HandleCommandAction` already handles all five actions correctly. The homepage frontend just needs to register the same submenu structure via `fzt.addCommands()` and remove the `action === "edit"` → `enterEditMode()` callback.
Where
```js
{ name: "edit", description: "Edit bookmark tree", action: "edit" },
```
to a nested structure (the add-commands API may need extending to support children — check fzt-terminal WASM bridge).
Open questions
Acceptance