- Added project renaming capability in the workspace with appropriate API endpoints.
- Implemented project deletion functionality, ensuring project directories are removed.
- Updated UI to support project renaming and deletion, including inline editing and confirmation dialogs.
- Enhanced batch generation feature for project items with selection and progress tracking.
- Added tests for project renaming and deletion to ensure functionality and integrity.
The import-actions div was a sibling of import-split in a 2-column grid,
causing it to only occupy the right 60% column. Changed .window-body to
a 2-row single-column grid so import-actions sits below import-split
spanning the full width.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Escape creators, year, item_type fields in renderImportItemList and
showItemPreview (was only escaping title and abstract)
- loadImportState uses api() wrapper for proper error handling
- generateSelectedCards uses api() wrapper with try/catch
- Remove duplicate isImportWindowOpen in state object
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Returns pending/done status for each item in a project by checking
selected-items.json against cards.json.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The openImportWindow and closeImportWindow functions referenced
cancelAbstractPreview which was not defined. Added:
- hoverTimerId, hoveredItemKey, previewItemKey to state
- previewPopover to elements object
- cancelAbstractPreview function
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The window-shell was incorrectly placed inside the first .panel section.
.panel creates a stacking context via backdrop-filter/overflow, trapping
the position:fixed window frame. Moving window-shell and minimized-bar
to be direct children of <body> (outside <main class="layout">) so
z-index:40 properly covers all panels.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Updates test assertions to match new window IDs and function names:
- import-window-shell, window-minimize-button, window-maximize-button,
window-close-button, window-restore-button, import-window-minimized-bar
- window-project-label, window-collection-tree, window-collection-items
- window-selected-count, window-clear-selection-button
- window-import-selected-items-button
- isImportWindowOpen, openImportWindow, closeImportWindow
- New window management functions in CSS and JS
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds WINDOW_SESSION_STORAGE_KEY, readWindowSessionState(),
window state properties to state object, new element references
in elements object, and persistWindowSessionState().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>