Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Finder): Finder 컴포넌트 구현 #15

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

HyewonKkang
Copy link
Member

🧑‍💻 작업 사항

  • 바탕화면 폴더 아이콘 클릭 시와 Dock의 Finder 클릭 시 띄워지는 파인더 영역 구현
  • 현재 finder 좌측 메뉴 클릭 이벤트를 막아놨는데 추후 수정할 예정임

🐰 시급한 정도

🏃‍♂️ 보통 : 최대한 빠르게 리뷰 부탁드립니다.

📖 참고 사항

image

@HyewonKkang HyewonKkang added the 🚀 feat New feature or request label May 26, 2023
@HyewonKkang HyewonKkang self-assigned this May 26, 2023
Copy link
Contributor

@zzi-0 zzi-0 left a comment

Choose a reason for hiding this comment

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

수고하셨어요~~~~~~~~~!

};

const onFocus = () => setActivatedIcon(icon);

const onDoubleClick = (id: DesktopIcon['type']) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

id보다는 type이 좀 더 명확한 변수명 같아요!

case 'browser':
window.open(GITHUB_URL);
break;
case 'finder':
Copy link
Contributor

Choose a reason for hiding this comment

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

finder에서 내용이 빠져있는데 뭘해주는건가요..?

import { finderSidebarContents } from '@/data/menu/finder-sidebar';

export interface TitleBarProps {
location: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

최근항목, 응용프로그램, 문서 등 정해져있어서 string 타입보다는 리터럴 타입을 쓰는 것이 좋을 것 같아요~ 👍

Copy link
Member

@wonho1401 wonho1401 left a comment

Choose a reason for hiding this comment

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

좋은 코드네요!! 감사합니다 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants