Skip to content

Conversation

@GulSam00
Copy link
Owner

๐Ÿ“Œ PR ์ œ๋ชฉ

Feat : ์ตœ์‹  ๊ณก ๊ธฐ๋Šฅ ์ถ”๊ฐ€

๐Ÿ“Œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ

  • ํ•œ๋‹ฌ ๊ฐ„ ์ถ”๊ฐ€๋œ 100๊ฐœ ๊ณก ์กฐํšŒ ํŽ˜์ด์ง€ ์ถ”๊ฐ€
  • ํŒŒ์ผ ์ด๋ฆ„ ๋ชฉ์ ์— ๋งž๊ฒŒ ๋ณ€๊ฒฝ
  • sitemap ์กฐ์ • (/๋งŒ ๊ฒ€์ƒ‰๋˜๊ฒŒ)

๐Ÿ’ฌ ์ถ”๊ฐ€ ์ฐธ๊ณ  ์‚ฌํ•ญ

@GulSam00 GulSam00 requested a review from Copilot September 15, 2025 03:41
@vercel
Copy link
Contributor

vercel bot commented Sep 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
singcode Ready Ready Preview Comment Sep 15, 2025 3:42pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

์ตœ์‹  ๊ณก ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•˜๊ณ , ์ฝ”๋“œ ์ „๋ฐ˜์— ๊ฑธ์ณ ์ผ๊ด€์„ฑ์„ ๊ฐœ์„ ํ•œ PR์ž…๋‹ˆ๋‹ค. ์ƒˆ๋กœ์šด ์ตœ์‹  ๊ณก ์กฐํšŒ ํŽ˜์ด์ง€๋ฅผ ๋งŒ๋“ค๊ณ , API ์—”๋“œํฌ์ธํŠธ ๋„ค์ด๋ฐ์„ snake_case์—์„œ kebab-case๋กœ ํ†ต์ผํ–ˆ์Šต๋‹ˆ๋‹ค.

  • ์›”๋ณ„๋กœ ์ถ”๊ฐ€๋œ 100๊ฐœ ๊ณก์„ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋Š” ์ƒˆ๋กœ์šด '/recent' ํŽ˜์ด์ง€ ์ถ”๊ฐ€
  • API ์—”๋“œํฌ์ธํŠธ ๋„ค์ด๋ฐ ๊ทœ์น™์„ kebab-case๋กœ ํ†ต์ผ (snake_case โ†’ kebab-case)
  • ํ•˜๋‹จ ๋„ค๋น„๊ฒŒ์ด์…˜ ๋ฉ”๋‰ด ํ•ญ๋ชฉ ๋ณ€๊ฒฝ ๋ฐ ์‚ฌ์ดํŠธ๋งต ์กฐ์ •

Reviewed Changes

Copilot reviewed 26 out of 42 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
apps/web/src/app/recent/page.tsx ์›”๋ณ„ ์ตœ์‹  ๊ณก ์กฐํšŒ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” ์ƒˆ ํŽ˜์ด์ง€ ์ถ”๊ฐ€
apps/web/src/app/recent/RecentSongCard.tsx ์ตœ์‹  ๊ณก ๋ชฉ๋ก์˜ ๊ฐœ๋ณ„ ์•„์ดํ…œ์„ ํ‘œ์‹œํ•˜๋Š” ์ปดํฌ๋„ŒํŠธ
apps/web/src/lib/api/recentAddSong.ts ์›”๋ณ„ ์ตœ์‹  ๊ณก ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” API ํด๋ผ์ด์–ธํŠธ ํ•จ์ˆ˜
apps/web/src/queries/recentAddSongQuery.ts ์ตœ์‹  ๊ณก ๋ฐ์ดํ„ฐ๋ฅผ ์œ„ํ•œ React Query ํ›…
apps/web/src/app/api/songs/recent-add/route.ts ์›”๋ณ„ ์ตœ์‹  ๊ณก ๋ฐ์ดํ„ฐ๋ฅผ ์ œ๊ณตํ•˜๋Š” ๋ฐฑ์—”๋“œ API ์—”๋“œํฌ์ธํŠธ
apps/web/src/lib/api/* API ์—”๋“œํฌ์ธํŠธ๋ฅผ kebab-case๋กœ ํ†ต์ผ (user_stats โ†’ user-stats ๋“ฑ)
apps/web/src/queries/* ์ฟผ๋ฆฌ ํ‚ค ๋„ค์ด๋ฐ์„ kebab-case๋กœ ๋ณ€๊ฒฝ
apps/web/src/Footer.tsx ํ•˜๋‹จ ๋„ค๋น„๊ฒŒ์ด์…˜์— '์ตœ์‹  ๊ณก' ๋ฉ”๋‰ด ์ถ”๊ฐ€ ๋ฐ ๋ ˆ์ด์•„์›ƒ ๊ฐœ์„ 

setToday(new Date(today.getFullYear(), today.getMonth() + 1, 1));
setPrevAction('next');
};
console.log('recentAddSongs', recentAddSongs, today.getFullYear(), today.getMonth() + 1);
Copy link

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ”„๋กœ๋•์…˜ ์ฝ”๋“œ์—์„œ ๋””๋ฒ„๊น…์šฉ console.log๋ฅผ ์ œ๊ฑฐํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ฐœ๋ฐœ ๊ณผ์ •์—์„œ ์‚ฌ์šฉํ–ˆ๋˜ ์ฝ”๋“œ๋กœ ๋ณด์ด๋‹ˆ ์‚ญ์ œํ•ด ์ฃผ์„ธ์š”.

Suggested change
console.log('recentAddSongs', recentAddSongs, today.getFullYear(), today.getMonth() + 1);

Copilot uses AI. Check for mistakes.
'use client';

import StaticLoading from '@/components/StaticLoading';
// import StaticLoading from '@/components/StaticLoading';
Copy link

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ์„ ์ฒ˜๋ฆฌ๋œ import ๋ฌธ๋“ค์„ ์ œ๊ฑฐํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ๋Š” ์ฝ”๋“œ๋ฒ ์ด์Šค๋ฅผ ๊น”๋”ํ•˜๊ฒŒ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ์‚ญ์ œํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

Suggested change
// import StaticLoading from '@/components/StaticLoading';

Copilot uses AI. Check for mistakes.
import { useRecentSongQuery } from '@/queries/recentSongQuery';
import { useSaveSongFolderQuery } from '@/queries/saveSongFolderQuery';
import { useRecentSingLogQuery } from '@/queries/recentSingLogQuery';
// import { useSaveSongFolderQuery } from '@/queries/saveSongFolderQuery';
Copy link

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ฃผ์„ ์ฒ˜๋ฆฌ๋œ import ๋ฌธ๋“ค์„ ์ œ๊ฑฐํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ๋Š” ์ฝ”๋“œ๋ฒ ์ด์Šค๋ฅผ ๊น”๋”ํ•˜๊ฒŒ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ์‚ญ์ œํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

Suggested change
// import { useSaveSongFolderQuery } from '@/queries/saveSongFolderQuery';

Copilot uses AI. Check for mistakes.
import { Check, ChevronsDown, ChevronsUp, GripVertical, Trash } from 'lucide-react';

import { Button } from '@/components/ui/button';
import { Card } from '@/components/ui/card';
Copy link

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” import ๋ฌธ์„ ์ œ๊ฑฐํ–ˆ์ง€๋งŒ, Tooltip ๊ด€๋ จ ์ฝ”๋“œ๊ฐ€ ์‹ค์ œ๋กœ ์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š”์ง€ ํ™•์ธํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋งŒ์•ฝ ๋‹ค๋ฅธ ๊ณณ์—์„œ ์‚ฌ์šฉ๋œ๋‹ค๋ฉด ํ•ด๋‹น ๊ธฐ๋Šฅ์ด ์ •์ƒ ์ž‘๋™ํ•˜๋Š”์ง€ ํ…Œ์ŠคํŠธ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

Copilot uses AI. Check for mistakes.
@GulSam00 GulSam00 merged commit 55fc040 into develop Sep 15, 2025
2 of 3 checks passed
@GulSam00 GulSam00 deleted the feat/recentAdd branch September 15, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants