Changeset a95dbfd in Klonkt for src/routes/posts.js

Timestamp:
06/30/2026 06:22:56 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
f24b795
Parents:
adb6291
Message:

fix(track-picker): allow inserting link-only tracks (Spotify/YouTube, no hosted file)

The "Insert track" picker disabled any track without a hosted media file (playable = !!filename), so
a link-only track (external Spotify/YouTube, 0:00) couldn't be inserted — even though [[track:]]
renders its link card fine on the post. Now a track is insertable if it has a file OR a link.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.