-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add playlist editing #6184
Add playlist editing #6184
Conversation
I was able to toggle the public access setting of an existing playlist, which worked as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me, only note is that is uses the same icon as "Edit metadata"
import('./playlisteditor/playlisteditor').then(({ default: PlaylistEditor }) => { | ||
const playlistEditor = new PlaylistEditor(); | ||
playlistEditor.show({ | ||
id: itemId, | ||
serverId | ||
}).then(getResolveFunction(resolve, id, true), getResolveFunction(resolve, id)); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this more readable without chaining thens?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I follow what you are suggesting 😅
Seems to work fine in my testing with a non-admin user. Only UX issue I could find is when you use a space as name it allows you to save that, not a major issue but might be good to check for that (e.g. I would also argue that the delete button should always be lower then the edit button. |
The context menu needs a total overhaul so I'm not touching that here beyond adding the new entry 😅 |
Cloudflare Pages deployment
|
08ab261
to
e1a00a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just nitpicking.
e1a00a5
to
a37388b
Compare
Quality Gate passedIssues Measures |
Changes
Currently this allows changing the playlist name and public access but not user level access controls
Issues
Part of #4698