Skip to content

Commit 9e07afb

Browse files
committed
Initial Home page commit
I don't hate it but it's not the best :( It's growing on me though So MANY bugs though, but I'll find those over time
1 parent f260eeb commit 9e07afb

30 files changed

Lines changed: 1531 additions & 367 deletions

Build/public/locales/en/translation.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,38 @@
362362
"previousTrack": "Previous track",
363363
"nextTrack": "Next track"
364364
},
365+
"home": {
366+
"title": "Home",
367+
"subtitle": "Pick up where you left off or try something new.",
368+
"heroNowPlaying": "Now playing",
369+
"heroEmpty": "Nothing queued yet",
370+
"heroEmptyDescription": "Upload or import tracks to start building your library.",
371+
"resume": "Resume",
372+
"startListening": "Start listening",
373+
"uploadMusic": "Upload music",
374+
"browseLibrary": "Go to library",
375+
"quickActions": "Quick actions",
376+
"smartStart": "Play something",
377+
"smartStartDescription": "HTMLPlayer picks a great next track.",
378+
"libraryDescription": "Jump into the full song list.",
379+
"favorites": "Play favorites",
380+
"favoritesDescription": "Shuffle the songs you love the most.",
381+
"uploadDescription": "Batch import or drag-and-drop audio files.",
382+
"statsTitle": "Library at a glance",
383+
"stats": {
384+
"songs": "Songs",
385+
"playlists": "Playlists",
386+
"favorites": "Favorites",
387+
"duration": "Hours of audio"
388+
},
389+
"recentlyAdded": "Recently added",
390+
"viewAll": "View all",
391+
"emptyRecent": "Add music to see your latest songs here.",
392+
"featuredPlaylists": "Spotlight playlists",
393+
"emptyPlaylists": "Create playlists to pin them here.",
394+
"playPlaylist": "Play",
395+
"playlistCount": "{{count}} songs"
396+
},
365397
"pip": {
366398
"couldNotAccessStylesheet": "Could not access stylesheet:",
367399
"couldNotCopyStylesheets": "Could not copy some stylesheets:",
@@ -461,6 +493,16 @@
461493
"resetDialogs": "Reset Dialogs",
462494
"resetDialogsTitle": "Reset Dialog Confirmations?",
463495
"resetDialogsButton": "Reset",
496+
"category": {
497+
"playback": "Playback",
498+
"playbackDescription": "Audio and playback behavior",
499+
"interface": "Interface",
500+
"interfaceDescription": "Themes, language, and appearance",
501+
"shortcuts": "Shortcuts",
502+
"shortcutsDescription": "Keyboard shortcut preferences",
503+
"experimental": "Beta",
504+
"experimentalDescription": "Early and experimental features"
505+
},
464506
"audio": {
465507
"title": "Audio Settings",
466508
"crossfade": "Crossfade",

Build/public/locales/fr/translation.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,38 @@
334334
"previousTrack": "Piste précédente",
335335
"nextTrack": "Piste suivante"
336336
},
337+
"home": {
338+
"title": "Accueil",
339+
"subtitle": "Reprenez là où vous vous êtes arrêté ou tentez quelque chose de nouveau.",
340+
"heroNowPlaying": "Lecture en cours",
341+
"heroEmpty": "Aucune piste dans la file",
342+
"heroEmptyDescription": "Importez ou déposez des morceaux pour commencer à bâtir votre bibliothèque.",
343+
"resume": "Reprendre",
344+
"startListening": "Commencer l'écoute",
345+
"uploadMusic": "Importer de la musique",
346+
"browseLibrary": "Aller à la bibliothèque",
347+
"quickActions": "Actions rapides",
348+
"smartStart": "Lire quelque chose",
349+
"smartStartDescription": "HTMLPlayer choisit un excellent prochain titre.",
350+
"libraryDescription": "Accédez à la liste complète des titres.",
351+
"favorites": "Lire les favoris",
352+
"favoritesDescription": "Faites tourner les morceaux que vous aimez le plus.",
353+
"uploadDescription": "Importez en lot ou glissez-déposez des fichiers audio.",
354+
"statsTitle": "Votre bibliothèque en un coup d'œil",
355+
"stats": {
356+
"songs": "Titres",
357+
"playlists": "Playlists",
358+
"favorites": "Favoris",
359+
"duration": "Heures d'écoute"
360+
},
361+
"recentlyAdded": "Ajouts récents",
362+
"viewAll": "Tout afficher",
363+
"emptyRecent": "Ajoutez de la musique pour voir les derniers titres ici.",
364+
"featuredPlaylists": "Playlists à l'honneur",
365+
"emptyPlaylists": "Créez des playlists pour les retrouver ici.",
366+
"playPlaylist": "Lecture",
367+
"playlistCount": "{{count}} titres"
368+
},
337369
"pip": {
338370
"couldNotAccessStylesheet": "Impossible d'accéder à la feuille de style :",
339371
"couldNotCopyStylesheets": "Impossible de copier certaines feuilles de style :",
@@ -432,6 +464,16 @@
432464
"resetDialogs": "Réinitialiser les dialogues",
433465
"resetDialogsTitle": "Réinitialiser les Confirmations de Dialogue ?",
434466
"resetDialogsButton": "Réinitialiser",
467+
"category": {
468+
"playback": "Lecture",
469+
"playbackDescription": "Comportement audio et lecture",
470+
"interface": "Interface",
471+
"interfaceDescription": "Thèmes, langue et apparence",
472+
"shortcuts": "Raccourcis",
473+
"shortcutsDescription": "Préférences des raccourcis clavier",
474+
"experimental": "Bêta",
475+
"experimentalDescription": "Fonctionnalités précoces et expérimentales"
476+
},
435477
"audio": {
436478
"title": "Paramètres Audio",
437479
"crossfade": "Fondu enchaîné",

Build/src/components/Draggable.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ const customCollisionDetection: CollisionDetection = (args) => {
9494
const { pointerCoordinates } = args;
9595

9696
if (pointerCoordinates) {
97-
// If dragging to the left side of screen (where playlists typically are), prefer playlists
98-
// Adjust this threshold based on your layout - assuming sidebar is ~300px wide
9997
if (pointerCoordinates.x < 350) {
10098
return playlistIntersections;
10199
}

0 commit comments

Comments
 (0)