Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
71af376
Bump devalue from 5.1.1 to 5.6.2
dependabot[bot] Jan 16, 2026
cb5b34f
Merge pull request #21 from Cattn/next
Cattn Jan 23, 2026
8a8225a
Merge pull request #53 from Cattn/dependabot/npm_and_yarn/devalue-5.6.2
Cattn Jan 23, 2026
cefcc89
Potential fix for code scanning alert no. 23: Workflow does not conta…
Cattn Jan 23, 2026
2cac2be
Merge pull request #61 from Cattn/alert-autofix-23
Cattn Jan 23, 2026
ce5bf48
adapter-node
Cattn Jan 23, 2026
d6f5154
Modify rate limits to be more forgiving
Nailington Jan 23, 2026
04140b4
fix playlist page
Cattn Jan 23, 2026
3f161a2
Merge pull request #62 from Cattn/fix-playlist
Cattn Jan 23, 2026
30c0a43
fix login detection
Cattn Jan 23, 2026
a24d271
style: auto-format code
github-actions[bot] Jan 23, 2026
e7eae83
fix the track grid & overflow
Cattn Jan 23, 2026
c23aa12
style: auto-format code
github-actions[bot] Jan 23, 2026
6ad2651
fix: truncation
Cattn Jan 23, 2026
ee92cb0
hopefully stop the yap
Cattn Jan 23, 2026
4870ac4
hopefully fix?
Cattn Jan 23, 2026
0d28dd1
remove workflow
Nailington Jan 23, 2026
b1d1cd4
Merge branch 'main' of https://github.com/Cattn/Maple
Cattn Jan 23, 2026
e80acf3
navigator Fix
Cattn Jan 28, 2026
99662c6
small fix
Cattn Jan 28, 2026
b6d7e93
Merge pull request #70 from Cattn/media-controls
Cattn Jan 28, 2026
e0d30b2
fix padding on mobile
Cattn Jan 28, 2026
4e420a8
Merge pull request #71 from Cattn/mobile-fixes
Cattn Jan 28, 2026
f2b95eb
fix truncation
Cattn Jan 28, 2026
3692aa4
Merge pull request #72 from Cattn/list-truncation-fix
Cattn Jan 28, 2026
cf6f0f4
Bump tar from 7.4.3 to 7.5.9
dependabot[bot] Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .github/workflows/lint-format.yml

This file was deleted.

4 changes: 2 additions & 2 deletions api/maple.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var options = {

const slower = slowDown({
windowMs: 2 * 60 * 1000,
delayAfter: 5,
delayAfter: 50,
delayMs: (hits) => {
if (hits <= 15) return hits * 100;
return (hits - 15) * 1000 + 2000;
Expand All @@ -66,7 +66,7 @@ const slower = slowDown({

const limiter = rateLimit({
windowMs: 2 * 60 * 1000,
limit: 35,
limit: 100,
})

try {
Expand Down
44 changes: 0 additions & 44 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

97 changes: 71 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 23 additions & 10 deletions src/lib/components/ListTrack.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -237,20 +237,22 @@
ondrop={onDrop}
ondragend={onDragEnd}
>
<div class="flex min-w-0 items-center gap-4">
<div class="flex min-w-0 flex-1 items-center gap-4 overflow-hidden">
<span class="text-on-surface-variant w-8 shrink-0 text-right text-sm tabular-nums"
>{index}</span
>
{#if showThumbnail}
{#if track.image}
{#await OPFS.getImageUrl(track.image as string) then imageUrl}
<Lazy height={40} keep={true}>
<img
src={imageUrl}
alt="{track.title} - {track.artist}"
class="h-10 w-10 shrink-0 rounded-md object-cover"
draggable="false"
/>
<div class="h-10 w-10 shrink-0">
<img
src={imageUrl}
alt="{track.title} - {track.artist}"
class="h-full w-full rounded-md object-cover"
draggable="false"
/>
</div>
</Lazy>
{:catch}
<Lazy height={40} keep={true}>
Expand All @@ -263,9 +265,9 @@
</Lazy>
{/if}
{/if}
<div class="min-w-0 flex-1">
<p class="text-on-surface truncate">{track.title}</p>
<p class="text-on-surface-variant truncate text-sm">{track.artist}</p>
<div class="min-w-0 flex-1 overflow-hidden">
<p class="text-on-surface truncate" title={track.title}>{track.title}</p>
<p class="text-on-surface-variant truncate text-sm" title={track.artist}>{track.artist}</p>
</div>
</div>
<div class="flex items-center gap-2">
Expand Down Expand Up @@ -386,3 +388,14 @@
</div>
{/if}
</div>

<style>
.text-on-surface.truncate,
.text-on-surface-variant.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
display: block;
}
</style>
4 changes: 2 additions & 2 deletions src/lib/components/SideBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { goto } from '$app/navigation';
import { page } from '$app/state';
import { createLibrary } from '$lib/library';
import { SavedUser } from '$lib/store';
import { SavedUser, isLoggedIn } from '$lib/store';

const isActive = (path: string) => page.url.pathname === path;
</script>
Expand All @@ -15,7 +15,7 @@
<div class="mt-3 mb-3 flex flex-col items-center justify-center gap-2">
<button
type="button"
onclick={() => goto('/settings')}
onclick={() => goto($isLoggedIn ? '/settings' : '/login')}
class="bg-primary text-on-primary hover:bg-primary/90 flex h-12 w-12 cursor-pointer items-center justify-center rounded-full transition-colors"
>
{#if $SavedUser?.pfp}
Expand Down
Loading
Loading