diff --git a/backend/logs/access.log b/backend/logs/access.log index 05d97ab..59d09fe 100644 --- a/backend/logs/access.log +++ b/backend/logs/access.log @@ -9367,3 +9367,132 @@ [2025-08-25 16:31:35.595] [undefined] POST(/): try to post comment [2025-08-25 16:31:35.613] [undefined] POST(/): successfully post comment with status 200 [2025-08-25 16:31:43.544] [undefined] GET(/see-later): 'See Later' playlist retrieved for user with id 1 with status 200 +[2025-08-25 16:33:03.444] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:33:03.450] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:33:03.518] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:33:03.521] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:33:03.531] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:33:12.849] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:33:12.854] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:33:12.858] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:33:12.864] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:33:12.872] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:33:20.914] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:33:20.920] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:33:20.923] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:33:20.926] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:33:20.935] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:33:44.580] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:33:44.584] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:33:44.587] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:33:44.591] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:33:44.604] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:34:12.270] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:34:12.275] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:34:12.277] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:34:12.281] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:34:12.289] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:34:20.285] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:34:20.288] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:34:20.291] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:34:20.297] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:34:20.304] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:34:43.954] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:34:43.957] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:34:43.965] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:34:43.968] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:34:43.974] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:34:57.459] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:34:57.464] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:34:57.473] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:34:57.484] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:34:57.492] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:35:10.632] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:35:10.636] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:35:10.641] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:35:10.645] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:35:10.652] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:35:24.943] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:35:24.946] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:35:24.955] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:35:24.961] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:35:24.971] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:35:31.244] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:35:31.247] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:35:31.256] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:35:31.259] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:35:31.264] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:35:36.240] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:35:54.271] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:35:54.276] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:35:54.285] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:35:54.290] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:35:54.298] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:36:05.609] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:36:05.613] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:36:05.622] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:36:05.625] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:36:05.634] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:36:25.106] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:36:25.110] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:36:25.117] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:36:25.121] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:36:25.128] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:36:45.734] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:36:45.737] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:36:45.745] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:36:45.750] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:36:45.763] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:37:01.446] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:37:01.450] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:37:01.456] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:37:01.460] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:37:01.466] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:37:19.303] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:37:19.306] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:37:19.315] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:37:19.321] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:37:19.331] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:37:47.523] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:37:47.527] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:37:47.535] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:37:47.539] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:37:47.546] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:37:54.710] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:37:54.715] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:37:54.722] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:37:54.730] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:37:54.741] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:38:10.787] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:38:10.791] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:38:10.798] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:38:10.801] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:38:10.809] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:38:31.050] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:38:31.056] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:38:31.064] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:38:31.071] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:38:31.079] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:38:39.658] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:38:39.662] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:38:39.671] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:38:39.675] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:38:39.682] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:38:43.858] [undefined] GET(/:id): Playlist retrieved with id 1 with status 200 +[2025-08-25 16:38:44.656] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:38:44.661] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:38:44.671] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:38:44.675] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:38:44.681] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:38:48.152] [undefined] GET(/:id): try to get video 1 +[2025-08-25 16:38:48.157] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 +[2025-08-25 16:38:48.173] [undefined] GET(/:id): successfully get video 1 with status 200 +[2025-08-25 16:38:48.241] [undefined] GET(/:id/similar): try to get similar videos for video 1 +[2025-08-25 16:38:48.260] [undefined] GET(/:id/similar): successfully get similar videos for video 1 with status 200 +[2025-08-25 16:38:48.293] [undefined] GET(/:id/views): try to add views for video 1 +[2025-08-25 16:38:48.304] [undefined] GET(/:id/views): successfully added views for video 1 with status 200 +[2025-08-25 16:38:49.367] [undefined] GET(/:id/channel): try to retrieve channel of user 1 +[2025-08-25 16:38:49.370] [undefined] GET(/:id/history): try to retrieve history of user 1 +[2025-08-25 16:38:49.379] [undefined] GET(/:id/channel): successfully retrieved channel of user 1 with status 200 +[2025-08-25 16:38:49.382] [undefined] GET(/:id/history): successfully retrieved history of user 1 with status 200 +[2025-08-25 16:38:49.422] [undefined] GET(/user/:id): Playlists retrieved for user with id 1 with status 200 diff --git a/frontend/src/pages/Account.jsx b/frontend/src/pages/Account.jsx index cf1c29e..c331798 100644 --- a/frontend/src/pages/Account.jsx +++ b/frontend/src/pages/Account.jsx @@ -46,7 +46,7 @@ export default function Account() { const [editMode, setEditMode] = useState(false); - const nonEditModeClasses = "text-2xl font-bold text-white p-2 focus:text-white focus:outline-none w-full font-montserrat"; + const nonEditModeClasses = "text-lg lg:text-2xl font-bold text-white p-2 focus:text-white focus:outline-none w-full font-montserrat"; const editModeClasses = nonEditModeClasses + " glassmorphism"; const handlePlaylistClick = (playlistId) => { @@ -95,11 +95,11 @@ export default function Account() {
-
+
{/* Left side */} {/* Profile / Edit profile */} -
+
setIsPictureEditActive(true)} onMouseLeave={() => setIsPictureEditActive(false)} >
-
-
+
{ userPlaylists && userPlaylists.map((playlist, index) => ( @@ -244,7 +244,7 @@ export default function Account() {
{/* History */}

Historique

-
+
{ userHistory && userHistory.map((video, index) => (