Skip to content
Open
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f2e73e0
playlist user controls
ajohn723 Feb 13, 2026
75523fe
updated users.ts to incorporate async function feedback
ajohn723 Feb 18, 2026
a1f9632
starting to build hooks and screen for collaborative playlist feature
ajohn723 Feb 19, 2026
b3bf0b7
hook to retrieve lists of users
ajohn723 Mar 3, 2026
dd887f8
Merge branch 'main' of https://github.com/Jellify-Music/App into feat…
ajohn723 Mar 3, 2026
05bcfa1
logic to get playlist users and server users
ajohn723 Mar 7, 2026
f5a1026
changing @/src to ../src
ajohn723 Mar 7, 2026
fdb3787
view for playlist collaborator screen
ajohn723 Mar 9, 2026
f07b5ff
fullscreen modal, filter out current owner of playlist, callbacks for…
ajohn723 Mar 10, 2026
6f5c8ed
adding button to allow share screen to swipe up
ajohn723 Mar 31, 2026
00df1b7
Merge branch 'main' of github.com:Jellify-Music/App into feature/play…
anultravioletaurora Apr 2, 2026
3a4a63a
add scaffold for getUserImageUrl
anultravioletaurora Apr 4, 2026
5096bd1
add additional scaffold
anultravioletaurora Apr 4, 2026
e9f2868
images for users and fixed navigation for share button
ajohn723 Apr 4, 2026
8f73a8c
fix jest
anultravioletaurora Apr 4, 2026
9d0cea5
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Apr 4, 2026
4cad4a0
fix imports
anultravioletaurora Apr 4, 2026
0e4f5aa
Merge branch 'feature/playlist-user-operations' of github.com:Jellify…
anultravioletaurora Apr 4, 2026
1748574
update one letter and create unit tests
ajohn723 Apr 4, 2026
f6d3fc1
updated unit test
ajohn723 Apr 4, 2026
5abeeaf
add playlist as param
ajohn723 Apr 4, 2026
e388b44
updating queryClient conventions/types
ajohn723 Apr 6, 2026
9199450
inverted conditional statements for playlist user filtering
ajohn723 Apr 6, 2026
4c6d675
section header and some formatting
ajohn723 Apr 6, 2026
b57096d
updated padding and marginbottom to allow full list of users to be shown
ajohn723 Apr 6, 2026
c0290bd
section header
ajohn723 Apr 6, 2026
a98595a
enable nestedScrolling
ajohn723 Apr 7, 2026
ab607c7
updated more margins, added title
ajohn723 Apr 7, 2026
dfdb2a5
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Apr 7, 2026
fc9cd09
lock file
ajohn723 Apr 7, 2026
cc638bc
Merge branch 'main' of github.com:Jellify-Music/App into feature/play…
anultravioletaurora Apr 19, 2026
ffd98c5
sorry aria
anultravioletaurora Apr 19, 2026
5c6d750
restrict playlist share button to playlist owner
ajohn723 Apr 19, 2026
8c85d0b
fixed typo
ajohn723 Apr 19, 2026
d95902a
fix issue where the userId wasn't set when creating a playlist
anultravioletaurora Apr 19, 2026
7ac905d
fix: add playlist users screen presentation
anultravioletaurora Apr 20, 2026
25b0f9b
restore swipe to dismiss on android
anultravioletaurora Apr 20, 2026
25eb334
search bar, baby!
ajohn723 Apr 20, 2026
e378f52
unit testing
ajohn723 Apr 20, 2026
5c9ec9f
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Apr 22, 2026
6be0cc2
add post-merge husky hook
anultravioletaurora Apr 22, 2026
e761b03
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Apr 30, 2026
c25d4ed
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Apr 30, 2026
5ca141b
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora May 1, 2026
aacae70
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora May 2, 2026
61ed1fe
apply prettier
anultravioletaurora May 2, 2026
6543296
Merge branch 'main' of github.com:Jellify-Music/App into feature/play…
anultravioletaurora May 12, 2026
2e542f2
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora May 22, 2026
efa2bfb
Fix build
anultravioletaurora May 22, 2026
70f23b5
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora May 24, 2026
8fbcf7e
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Jun 18, 2026
3da8975
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Jul 9, 2026
c125e8b
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Jul 19, 2026
7e35eba
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Sep 1, 2026
1a73b87
Merge branch 'main' into feature/playlist-user-operations
anultravioletaurora Sep 5, 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
46 changes: 46 additions & 0 deletions src/api/queries/playlist/utils/users.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//playlist id

import { getApi, getUser } from '@/src/stores'
import { getPlaylistsApi } from '@jellyfin/sdk/lib/utils/api'

//get playlist users
function getPlaylistUsers(playlistId: string) {
Comment thread
ajohn723 marked this conversation as resolved.
Outdated
//use api
const api = getApi()
//const user = getUser();
Comment thread
ajohn723 marked this conversation as resolved.
Outdated
const playlist = getPlaylistsApi(api!)
Comment thread
ajohn723 marked this conversation as resolved.
Outdated

return playlist.getPlaylistUsers({ playlistId })
Comment thread
ajohn723 marked this conversation as resolved.
Outdated
}

//also need user id for add and remove user functions

function addPlaylistUser(playlistId: string, userId: string, CanEdit: boolean) {
Comment thread
ajohn723 marked this conversation as resolved.
Outdated
//use api
const api = getApi()
const playlist = getPlaylistsApi(api!)

//use dto
return playlist.updatePlaylist({
playlistId,
updatePlaylistDto: {
Users: [
{
UserId: userId,
CanEdit,
},
],
},
})
}

function removePlaylistUser(playlistId: string, userId: string) {
//use api
const api = getApi()
const playlist = getPlaylistsApi(api!)

return playlist.removeUserFromPlaylist({
playlistId,
userId,
})
}