jedmund-svelte/src/lib/components/admin
Justin Edmund c4172ef411 fix: restore AlbumForm save functionality and update cleanup docs
- Restore AlbumForm handleSave() and validateForm() functions
- Add back missing imports (goto, zod, Button, toast)
- Restore isSaving and validationErrors state
- Add back albumSchema validation

This fixes the critical issue where AlbumForm had no way to save albums
due to over-aggressive dead code removal in previous cleanup.

Also update docs/eslint-cleanup-plan.md to reflect:
- Current branch status (207 errors remaining)
- Quality review of previous LLM work (84% good, 1 critical issue fixed)
- Detailed breakdown of remaining errors
- Actionable roadmap for completing the cleanup
2025-11-24 01:05:30 -08:00
..
composer lint: remove unused imports and rename unused parameters (6 fixes) 2025-11-23 14:38:52 +00:00
AdminByline.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
AdminFilters.svelte fix: replace any types in frontend components 2025-11-23 05:32:09 -08:00
AdminHeader.svelte fix: replace more any types in components 2025-11-23 05:37:28 -08:00
AdminNavBar.svelte fix: complete frontend component any type cleanup 2025-11-23 05:50:22 -08:00
AdminPage.svelte feat: add sticky header with scroll shadow to admin pages 2025-11-03 23:03:40 -08:00
AdminSegmentedControl.svelte refactor: migrate admin UI to Svelte 5 runes 2025-11-03 23:03:28 -08:00
AlbumForm.svelte fix: restore AlbumForm save functionality and update cleanup docs 2025-11-24 01:05:30 -08:00
AlbumListItem.svelte lint: fix undefined variables by adding missing type imports (22 fixes) 2025-11-24 05:32:40 +00:00
AlbumSelector.svelte feat(admin): complete Task 7 Phase 2 - styling rollout 2025-10-08 22:02:33 -07:00
AlbumSelectorModal.svelte lint: remove more unused imports and variables (6 fixes) 2025-11-23 14:29:05 +00:00
AutoSaveStatus.svelte lint: fix unused expressions by adding void operator (26 fixes) 2025-11-24 05:39:21 +00:00
BaseDropdown.svelte fix(svelte5): update event handler syntax from on:clickoutside to onclickoutside 2025-10-07 22:16:13 -07:00
BaseModal.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
BrandingSection.svelte refactor: modernize ProjectBrandingForm with reusable components 2025-11-03 23:03:20 -08:00
BrandingToggle.svelte refactor: modernize ProjectBrandingForm with reusable components 2025-11-03 23:03:20 -08:00
Button.svelte feat(admin): complete Task 7 Phase 2 - styling rollout 2025-10-08 22:02:33 -07:00
DeleteConfirmationModal.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
DraftPrompt.svelte refactor(admin): modularize ProjectForm with composable stores 2025-10-07 23:24:50 -07:00
DropdownItem.svelte refactor: migrate admin UI to Svelte 5 runes 2025-11-03 23:03:28 -08:00
DropdownMenu.svelte lint: remove more unused imports and variables (6 fixes) 2025-11-23 14:29:05 +00:00
DropdownMenuContainer.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
DropdownSelectField.svelte feat: add utility components and helpers 2025-11-03 23:03:50 -08:00
EmptyState.svelte feat(admin): complete Task 7 Phase 1 - styling & theming foundation 2025-10-08 21:28:28 -07:00
ErrorMessage.svelte feat(admin): complete Task 7 Phase 1 - styling & theming foundation 2025-10-08 21:28:28 -07:00
EssayForm.svelte lint: fix unused expressions by adding void operator (26 fixes) 2025-11-24 05:39:21 +00:00
FilePreviewList.svelte feat: add video playback UI and thumbnail display 2025-08-23 03:14:06 -04:00
FileUploadZone.svelte lint: remove more unused imports and variables (6 fixes) 2025-11-23 14:29:05 +00:00
FormField.svelte fix: replace any types in frontend components 2025-11-23 05:32:09 -08:00
GalleryManager.svelte feat: create reusable CloseButton icon component 2025-06-26 08:40:32 -04:00
GalleryUploader.svelte lint: remove unused imports and variables in admin components (15 fixes) 2025-11-24 05:29:32 +00:00
GenericMetadataPopover.svelte lint: remove unused imports, variables, and dead code (10 fixes) 2025-11-23 14:30:57 +00:00
ImagePicker.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
ImageUploader.svelte lint: remove unused imports, variables, and dead code (10 fixes) 2025-11-23 14:30:57 +00:00
InlineComposerModal.svelte lint: remove unused imports, variables, and dead code (10 fixes) 2025-11-23 14:30:57 +00:00
Input.svelte refactor: migrate admin UI to Svelte 5 runes 2025-11-03 23:03:28 -08:00
LoadingSpinner.svelte fix: update remaining $grey- variables in SCSS files 2025-06-25 22:03:19 -04:00
MediaDetailsModal.svelte lint: remove more unused imports and variables (5 fixes) 2025-11-23 14:32:37 +00:00
MediaGrid.svelte lint: remove more unused imports and variables (5 fixes) 2025-11-23 14:32:37 +00:00
MediaInput.svelte feat: create reusable CloseButton icon component 2025-06-26 08:40:32 -04:00
MediaMetadataPanel.svelte feat: add video playback UI and thumbnail display 2025-08-23 03:14:06 -04:00
MediaUploadModal.svelte lint: remove unused imports and variables (8 fixes) 2025-11-23 14:34:09 +00:00
MediaUsageList.svelte refactor: migrate media components to Svelte 5 runes 2025-07-09 23:20:56 -07:00
MetadataPopover.svelte fix: complete frontend component any type cleanup 2025-11-23 05:50:22 -08:00
Modal.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
PhotoPostForm.svelte lint: fix unused expressions by adding void operator (26 fixes) 2025-11-24 05:39:21 +00:00
PostDropdown.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
PostListItem.svelte lint: fix undefined variables by adding missing type imports (22 fixes) 2025-11-24 05:32:40 +00:00
PostMetadataPopover.svelte lint: remove unused imports and variables (8 fixes) 2025-11-23 14:34:09 +00:00
ProjectBrandingForm.svelte refactor: modernize ProjectBrandingForm with reusable components 2025-11-03 23:03:20 -08:00
ProjectBrandingPreview.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
ProjectForm.svelte lint: fix unused expressions by adding void operator (26 fixes) 2025-11-24 05:39:21 +00:00
ProjectGalleryForm.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
ProjectImagesForm.svelte lint: remove unused imports, variables, and parameters (9 fixes) 2025-11-23 14:35:49 +00:00
ProjectListItem.svelte refactor: migrate createEventDispatcher to Svelte 5 callback props 2025-11-04 19:35:53 -08:00
ProjectMetadataForm.svelte lint: remove unused imports, variables, and parameters (9 fixes) 2025-11-23 14:35:49 +00:00
ProjectStylingForm.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
ProjectTitleCell.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
PublishDropdown.svelte lint: remove unused imports, variables, and parameters (9 fixes) 2025-11-23 14:35:49 +00:00
SaveActionsGroup.svelte lint: remove unused imports, variables, and parameters (9 fixes) 2025-11-23 14:35:49 +00:00
SegmentedControlField.svelte refactor: merge FormField and FormFieldWrapper components 2025-06-25 22:14:10 -04:00
Select.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
SelectField.svelte refactor: merge FormField and FormFieldWrapper components 2025-06-25 22:14:10 -04:00
SimplePostForm.svelte lint: fix unused expressions by adding void operator (26 fixes) 2025-11-24 05:39:21 +00:00
StatusDropdown.svelte refactor: migrate admin UI to Svelte 5 runes 2025-11-03 23:03:28 -08:00
StatusPicker.svelte feat: add utility components and helpers 2025-11-03 23:03:50 -08:00
Textarea.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
UnifiedMediaModal.svelte lint: remove unused imports, variables, and parameters (9 fixes) 2025-11-23 14:35:49 +00:00