Logo
Explore Help
Sign In
vincent/gerbeur
1
0
Fork 0
You've already forked gerbeur
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
d54ae554a4d2358d4f17257d46de68ee7b862ea5
gerbeur/api/middleware/og.ts
khannurien 9a215b0cc5 v4: a playlist's editor has a URL, as a dump's has — it opened over the playlist's header as a state of the page, which a reload or a shared link lost, while a dump's editor is /@name/dumps/<slug>/edit. It is now /@name/playlists/<slug>/edit: Edit goes there, and Cancel or Save come back to the page in its place. Both paths render PlaylistDetail at the same place, so the playlist stays loaded, and a new slug keeps the view. Anyone who may not edit it gets the page, a guest the sign-in first. playlistPath takes the view, and parsePagePath reads it, so its link has no preview, as a dump editor's has none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:22:24 +00:00

6.2 KiB
Raw Blame History

View Raw
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 31ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API