jedmund-svelte/src/lib/components
Justin Edmund 974781b685 fix: Svelte 5 migration and linting improvements (61 errors fixed)
Complete Svelte 5 runes migration and fix remaining ESLint errors:

**Svelte 5 Migration (40 errors):**
- Add $state() and $state.raw() for reactive variables and DOM refs
- Replace deprecated on:event directives with onevent syntax
- Fix closure capture issues in derived values
- Replace svelte:self with direct component imports
- Fix state initialization and reactivity issues

**TypeScript/ESLint (8 errors):**
- Replace explicit any types with proper types (Prisma.MediaWhereInput, unknown)
- Remove unused imports and rename unused variables with underscore prefix
- Convert require() to ES6 import syntax

**Other Fixes (13 errors):**
- Disable custom element props warnings for form components
- Fix self-closing textarea tags
- Add aria-labels to icon-only buttons
- Add keyboard handlers for interactive elements
- Refactor map popup to use Svelte component instead of HTML strings

Files modified: 28 components, 2 scripts, 1 utility
New file: MapPopup.svelte for geolocation popup content
2025-11-24 04:47:22 -08:00
..
admin fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
edra fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
icons fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
ui fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
Album.stories.js Ran linter 2025-06-16 17:05:43 +01:00
Album.svelte feat: link albums to Apple Music when available 2025-07-11 20:12:13 -07:00
AlbumSimple.stories.js Ran linter 2025-06-16 17:05:43 +01:00
AlbumSimple.stories.svelte Ran linter 2025-06-16 17:05:43 +01:00
AppleMusicSearchModal.svelte fix: Phase 2 accessibility improvements (45 errors fixed) 2025-11-24 03:20:57 -08:00
Avatar.stories.js Ran linter 2025-06-16 17:05:43 +01:00
Avatar.svelte fix: Phase 2 accessibility improvements (45 errors fixed) 2025-11-24 03:20:57 -08:00
AvatarHeadphones.svelte fix: update remaining $grey- variables in SCSS files 2025-06-25 22:03:19 -04:00
AvatarSimple.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
AvatarSVG.svelte lint: remove remaining duplicate stop-color properties (12 fixes) 2025-11-24 05:38:16 +00:00
BackButton.svelte Simplify posts 2025-06-11 00:53:54 -07:00
DebugPanel.svelte fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
DynamicPostContent.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
Footer.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
Game.svelte lint: fix undefined variables by adding missing type imports (22 fixes) 2025-11-24 05:32:40 +00:00
GeoCard.svelte lint: fix undefined variables by adding missing type imports (22 fixes) 2025-11-24 05:32:40 +00:00
Header.svelte refactor: consolidate now playing detection into single music stream store 2025-07-10 21:32:14 -07:00
HorizontalPhotoScroll.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
ImagePost.svelte We ran the linter 2025-06-11 00:54:05 -07:00
LabCard.svelte fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
Lightbox.svelte fix: Phase 2 accessibility improvements (45 errors fixed) 2025-11-24 03:20:57 -08:00
LinkCard.svelte fix: update remaining $grey- variables in SCSS files 2025-06-25 22:03:19 -04:00
MasonryPhotoGrid.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
Mention.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
MentionList.svelte Fix Design Details podcast link 2024-11-18 16:15:27 -08:00
NavDropdown.svelte lint: remove unused imports and variables (11 fixes) 2025-11-23 14:26:56 +00:00
NowPlaying.svelte fix: update remaining $grey- variables in SCSS files 2025-06-25 22:03:19 -04:00
NowPlayingBar.svelte fix: improve now playing detection reliability 2025-07-10 01:25:31 -07:00
Page.svelte Spacing and mobile design fixes 2025-06-10 12:06:02 -07:00
PhotoGrid.svelte lint: remove unused imports and variables (11 fixes) 2025-11-23 14:26:56 +00:00
PhotoItem.svelte lint: remove unused imports and variables (11 fixes) 2025-11-23 14:26:56 +00:00
PhotoMetadata.svelte lint: remove unused imports and variables (11 fixes) 2025-11-23 14:26:56 +00:00
PhotoView.svelte Unify fullscreen editors 2025-06-13 14:17:26 -04:00
PhotoViewEnhanced.svelte Tentative fix for mobile zoom 2025-07-24 03:45:00 -07:00
PostContent.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
PostItem.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
PostList.svelte First commit for universe 2025-05-26 06:44:27 -07:00
ProjectContent.svelte fix: Phase 2 accessibility improvements (45 errors fixed) 2025-11-24 03:20:57 -08:00
ProjectHeaderContent.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
ProjectItem.svelte fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
ProjectList.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
ProjectPasswordProtection.svelte lint: fix undefined variables by adding missing type imports (22 fixes) 2025-11-24 05:32:40 +00:00
RecentAlbums.stories.js Ran linter 2025-06-16 17:05:43 +01:00
RecentAlbums.svelte lint: remove unused imports and variables (11 fixes) 2025-11-23 14:26:56 +00:00
SegmentedController.svelte fix: update remaining $grey- variables in SCSS files 2025-06-25 22:03:19 -04:00
SingleColumnPhotoGrid.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
Slideshow.svelte fix: Phase 2 accessibility improvements (45 errors fixed) 2025-11-24 03:20:57 -08:00
SmartImage.svelte Simplify photos architecture 2025-06-13 06:55:21 -04:00
StreamStatus.svelte refactor: consolidate now playing detection into single music stream store 2025-07-10 21:32:14 -07:00
ThreeColumnPhotoGrid.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
TiltCard.svelte fix: Phase 2 accessibility improvements (45 errors fixed) 2025-11-24 03:20:57 -08:00
TwoColumnPhotoGrid.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
UniverseAlbumCard.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
UniverseCard.svelte fix: complete frontend component any type cleanup 2025-11-23 05:50:22 -08:00
UniverseFeed.svelte refactor: replace deprecated $grey- variables with $gray- 2025-06-25 21:41:50 -04:00
UniversePostCard.svelte lint: remove unused svelte-ignore comments (17 fixes) 2025-11-24 05:45:51 +00:00
ViewModeSelector.svelte lint: remove more unused imports and variables (6 fixes) 2025-11-23 14:29:05 +00:00