future-plans: recent locations, field keyboard shortcut, explicit save button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,13 @@ function render() { sync_nav(); SECTION_RENDERERS[section]?.(); }
|
|||||||
(`views/components.mjs`, `views/grids.mjs`, etc.) that each export their render
|
(`views/components.mjs`, `views/grids.mjs`, etc.) that each export their render
|
||||||
function and own their local state.
|
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
|
### DRY / SSoT audit
|
||||||
As the app grows, patterns are being duplicated rather than centralized. Areas to
|
As the app grows, patterns are being duplicated rather than centralized. Areas to
|
||||||
review:
|
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
|
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.
|
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
|
#### Parametric search
|
||||||
Allow searching/filtering components by field values, not just names. Examples:
|
Allow searching/filtering components by field values, not just names. Examples:
|
||||||
- `resistance < 10k`, `package = 0603`, `voltage_rating >= 50`
|
- `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
|
Similar to how components now reflect `/components/:id` in the URL, inventory
|
||||||
entries have no URL state — refreshing loses context.
|
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
|
## Grids
|
||||||
|
|
||||||
### Grid view layers
|
### Grid view layers
|
||||||
|
|||||||
Reference in New Issue
Block a user