Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
31c6320
feat: [wineid]ui๊ตฌํ˜„+๋ฆฌ๋ทฐ์นด๋“œ ์ˆ˜์น˜์กฐ์ •
626-ju Jul 22, 2025
61a4e6e
fix: gnb z์ธ๋ฑ์Šค ์œ„์น˜ ์ˆ˜์ •
626-ju Jul 22, 2025
d36663d
feat: shadcn progress์ถ”๊ฐ€
626-ju Jul 22, 2025
97cfb38
feat:ํ”„๋กœ๊ทธ๋ ˆ์Šค ui์ถ”๊ฐ€
626-ju Jul 22, 2025
2e45e7d
refactor: WineRating.tsx ๋ฐฐ์น˜ ๊ฐœ์„ 
626-ju Jul 23, 2025
6996733
Merge branch 'dev' into feature/wineid
626-ju Jul 23, 2025
c904f73
feat:ํ‰๊ท ๋ณ„์  ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ + ๋ณ„์  ๋ฑƒ์ง€ ๋‚ด๋ถ€๊ฐ„๊ฒฉ ์†Œํญ ์กฐ์ •
626-ju Jul 23, 2025
275c726
Merge branch 'dev' into feature/wineid
626-ju Jul 23, 2025
6a07a20
feat: FlavorSliderList ์ถ”๊ฐ€+์ผ€๋ฐฅ+์ข‹์•„์š”๋ฒ„ํŠผ ์ถ”๊ฐ€
626-ju Jul 23, 2025
b6d0cd7
feat: ReviewCard์ปดํฌ๋„ŒํŠธ์— useClickToggle ํ›… ์ถ”๊ฐ€ํ•˜๊ธฐ
626-ju Jul 23, 2025
e769a1b
feat: ์นด๋“œ ์—ด๊ณ  ๋‹ซ๊ณ  ์• ๋‹ˆ๋ฉ”์ด์…˜ ์ถ”๊ฐ€
626-ju Jul 23, 2025
f8b1e8d
style: ํฌ๋งทํŒ…
626-ju Jul 23, 2025
e9fe01b
refactor: ํ…Œ์ŠคํŠธ์šฉ ๋”๋ฏธ ํŒŒ์ผ ๋ถ„๋ฆฌ
626-ju Jul 24, 2025
813f3e5
refactor: 1์ฐจ qa ํ”ผ๋“œ๋ฐฑ ๋ฐ˜์˜
626-ju Jul 24, 2025
4c0cbe9
build: svgํŒŒ์ผ๋“ค ํด๋” ๋ณ€๊ฒฝ์— ๋”ฐ๋ฅธ ์ž„ํฌํŠธ ๊ฒฝ๋กœ ์ˆ˜์ •
626-ju Jul 24, 2025
dca39e1
Merge branch 'dev' into feature/wineid
626-ju Jul 24, 2025
91064d0
chore: ๋ถˆํ•„์š”ํ•œ ์ฃผ์„ ์ œ๊ฑฐ
626-ju Jul 24, 2025
fc5f8c1
feat: ์ผ€๋ฐฅ์— ์ถ”๊ฐ€ ๋“œ๋ž๋‹ค์šด ์ถ”๊ฐ€+์ถ”ํ›„ ์œ ์ง„๋‹˜ ๊ป„๋กœ ๊ต์ฒด
626-ju Jul 24, 2025
e4007fc
feat: og ์ด๋ฏธ์ง€ ์ถ”๊ฐ€
626-ju Jul 24, 2025
49419ad
fix: env๋“ค์–ด๊ฐ„ ๊ฑฐ ๋นผ๊ธฐ
626-ju Jul 24, 2025
16d5e45
fix:og์ด๋ฏธ์ง€ ๋ˆ„๋ฝ ์ˆ˜์ •
626-ju Jul 24, 2025
60ab8e4
refactor(mentor): hidden->sr-only
626-ju Jul 24, 2025
a04e9a4
refactor(mentor): ๋ฆฌ๋ทฐ์นด๋“œ -> ์ฃผ์Šคํƒ„๋“œ๊ธฐ๋ฐ˜ ํ•ฉ์„ฑ์ปดํฌ๋„ŒํŠธ
626-ju Jul 24, 2025
d62a492
fix: ํ…์ŠคํŠธ์— ์ ์šฉ๋˜๋Š” ํŠธ๋žœ์ง€์…˜ ์ œ๊ฑฐ
626-ju Jul 24, 2025
4b8c7bd
chore: ์„ค๋ช… ์ฃผ์„ ์ถ”๊ฐ€
626-ju Jul 25, 2025
2e26ed2
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” useClickToggle.tsx์‚ญ์ œ(hooksํด๋”๋„ ๊ฐ™์ด)
626-ju Jul 25, 2025
8f8152a
chore:์Šคํ…Œ์ด์ง• ๋ˆ„๋ฝ๋œ ํŒŒ์ผ ์ถ”๊ฐ€
626-ju Jul 25, 2025
ee8b03d
Merge branch 'dev' into feature/wineid
626-ju Jul 25, 2025
26d2e5c
refactor:wineid ์ด๋ฏธ์ง€ ์นด๋“œ ๊ทธ๋ผ๋ฐ์ด์…˜ ์ถ”๊ฐ€+์ฒ˜์Œ ๋ฆฌ๋ทฐ๋Š” ์—ด๋ฆฌ๊ฒŒ
626-ju Jul 25, 2025
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
31 changes: 24 additions & 7 deletions src/components/wineDetail/Kebab.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
import KebabIcon from '@/assets/icons/kebab.svg';
import { Button } from '@/components/ui/button';

import MenuDropdown from '../common/dropdown/MenuDropdown';

function Kebab() {
//์œ ์ง„๋‹˜์ด ๋งŒ๋“  ๊ฑฐ๋ž‘ ๊ฒน์น˜๋Š” ๊ฑฐ ๊ฐ™์€๋ฐ ๋‚˜์ค‘์— ํ•ฉ์ณ์ง€๋ฉด ๊ทธ๊ฑธ๋กœ ์ˆ˜์ •ํ•ด๋‘๊ฒ ์Šต๋‹ˆ๋‹ค.
function onSelect(value: string) {
//-> ์š”๊ฑฐ ํ˜น์‹œ ์ €๋ฒˆ์— ๋ฉ˜ํ† ๋‹˜๊ป˜์„œ ์ œ๋„ค๋ฆญ ๊ด€๋ จ ํ”ผ๋“œ๋ฐฑ ํ•ด์ฃผ์‹  ๊ฑฐ ๋ฐ˜์˜๋˜์–ด ์žˆ์„๊นŒ์š”???
Copy link
Member

Choose a reason for hiding this comment

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

์•„์ง์ž…๋‹ˆ๋‹ค! 1์ฐจ QA ํ”ผ๋“œ๋ฐฑ ๋ฐ˜์˜ ํ›„ ๋ฐ”๋กœ ์ˆ˜์ •ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

if (value === 'update') alert('์ˆ˜์ •ํ•˜๊ธฐ ๋ชจ๋‹ฌ ํ˜ธ์ถœ');
if (value === 'delete') alert('์ •๋ง ์‚ญ์ œํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค alert ํ˜ธ์ถœ');
}

return (
<Button
variant='onlyCancel'
className='border-0 w-8 h-8 md:w-9.5 md:h-9.5
[&_svg]:w-8 [&_svg]:h-8 hover:text-primary'
>
<KebabIcon />
</Button>
<MenuDropdown
options={[
{ label: '์ˆ˜์ •ํ•˜๊ธฐ', value: 'update' },
{ label: '์‚ญ์ œํ•˜๊ธฐ', value: 'delete' },
]}
onSelect={onSelect}
trigger={
<Button
variant='onlyCancel'
className='border-0 w-8 h-8 md:w-9.5 md:h-9.5 [&_svg]:w-8 [&_svg]:h-8 hover:text-primary'
>
<KebabIcon />
</Button>
}
></MenuDropdown>
);
}

Expand Down