Ignore:
Timestamp:
02/15/26 23:28:14 (5 months ago)
Author:
Dimitar Arsov <dimitararsov04@…>
Branches:
main
Children:
615dcee, c807e22
Parents:
c8baad1
Message:

create new playlist, delete playlists and add song to playlist on playlist creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/pages/LandingPage.tsx

    rc8baad1 rd1ee039  
    7676      setOpenPlaylistDropdown(songId);
    7777    }
    78   };
    79 
    80   const handleCreateNewPlaylist = (songId: number) => {
    81     console.log(`Creating new playlist for song ${songId}`);
    82     // TODO: Implement actual playlist creation
    83     setOpenPlaylistDropdown(null);
    8478  };
    8579
     
    273267                      key={cat.value}
    274268                      onClick={() => handleCategorySwitch(cat.value)}
    275                       className={`px-4 py-1.5 rounded-full text-sm font-medium transition-colors ${
     269                      className={`px-4 py-1.5 rounded-full text-sm font-medium transition-colors cursor-pointer ${
    276270                        searchCategory === cat.value
    277271                          ? "bg-[#1db954] text-black"
     
    488482                                isOpen={openPlaylistDropdown === song.id}
    489483                                onClose={() => setOpenPlaylistDropdown(null)}
    490                                 onCreateNewPlaylist={() =>
    491                                   handleCreateNewPlaylist(song.id)
    492                                 }
    493484                                direction="above"
    494485                              />
Note: See TracChangeset for help on using the changeset viewer.