From 7265b5bb2c9a0267d005c1f9e8d2c69df10d2827 Mon Sep 17 00:00:00 2001 From: mikael-lovqvists-claude-agent Date: Mon, 23 Mar 2026 22:50:44 +0000 Subject: [PATCH] future-plans: recent locations, field keyboard shortcut, explicit save button Co-Authored-By: Claude Sonnet 4.6 --- future-plans.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/future-plans.md b/future-plans.md index 5b66857..2ba5c84 100644 --- a/future-plans.md +++ b/future-plans.md @@ -49,6 +49,13 @@ function render() { sync_nav(); SECTION_RENDERERS[section]?.(); } (`views/components.mjs`, `views/grids.mjs`, etc.) that each export their render function and own their local state. +### Explicit save in component editor +Currently any change in the component detail panel (linking a file, unlinking an +inventory entry, etc.) is persisted immediately. This makes it hard to experiment or +undo. The component editor dialog should have an explicit Save button and hold all +changes locally until confirmed. Relates to the broader question of whether live +mutations elsewhere in the UI should be deferred similarly. + ### DRY / SSoT audit As the app grows, patterns are being duplicated rather than centralized. Areas to review: @@ -96,6 +103,11 @@ With or without a parser chain, `render_field_value()` should gain: When adding a field to a component in the edit dialog, the dropdown becomes unwieldy with many fields. Add a filter/search input to the field selector. +#### Keyboard shortcut for adding a field +When filling out many fields on a component, repeatedly reaching for the mouse to +hit "add field" is slow. Add a configurable keyboard shortcut (e.g. Alt+F) to +focus/trigger the add-field selector from anywhere in the component editor. + #### Parametric search Allow searching/filtering components by field values, not just names. Examples: - `resistance < 10k`, `package = 0603`, `voltage_rating >= 50` @@ -197,6 +209,12 @@ browsing pages in the lightbox. Similar to how components now reflect `/components/:id` in the URL, inventory entries have no URL state — refreshing loses context. +### Recent locations in inventory entry dialog +When picking a storage location for a component, show a list of recently +used/visited locations at the top so you can quickly re-select where you just were. +Useful when processing a batch of components into the same storage location — you +shouldn't have to navigate the grid picker from scratch each time. + ## Grids ### Grid view layers