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

Implement several major in ResultCategoryCard/#87 #89

Merged
merged 9 commits into from
May 2, 2024

Conversation

yougyung
Copy link
Member

@yougyung yougyung commented Apr 26, 2024

📌 작업 내용

구현 내용 및 작업 했던 내역

스크린샷 2024-04-26 오후 4 28 08 스크린샷 2024-04-26 오후 4 29 28
  • ux servey 결과를 반영한 category 미 충족시 red, 충족시 blue노출
  • ux servey 결과를 반영한 다전공 표기 버튼 노출
  • button 공통 컴포넌트 내 variant outlined를 추가 생성
  • storybook을 통해 확인할 수 있습니다.

@yougyung yougyung self-assigned this Apr 26, 2024
@yougyung yougyung linked an issue Apr 26, 2024 that may be closed by this pull request
Copy link

gahyuun
gahyuun previously approved these changes Apr 27, 2024
Copy link
Member

@gahyuun gahyuun left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

app/ui/result/result-category/result-category-card.tsx Outdated Show resolved Hide resolved
Comment on lines +1 to +14
export const RESULT_CATEGORY = {
COMMON_CULTURE: 'COMMON_CULTURE',
CORE_CULTURE: 'CORE_CULTURE',
PRIMARY_MANDATORY_MAJOR: 'PRIMARY_MANDATORY_MAJOR',
PRIMARY_ELECTIVE_MAJOR: 'PRIMARY_ELECTIVE_MAJOR',
DUAL_MANDATORY_MAJOR: 'DUAL_MANDATORY_MAJOR',
DUAL_ELECTIVE_MAJOR: 'DUAL_ELECTIVE_MAJOR',
SUB_MAJOR: 'SUB_MAJOR',
PRIMARY_BASIC_ACADEMICAL_CULTURE: 'PRIMARY_BASIC_ACADEMICAL_CULTURE',
DUAL_BASIC_ACADEMICAL_CULTURE: 'DUAL_BASIC_ACADEMICAL_CULTURE',
NORMAL_CULTURE: 'NORMAL_CULTURE',
FREE_ELECTIVE: 'FREE_ELECTIVE',
CHAPEL: 'CHAPEL',
} as const;
Copy link
Member

Choose a reason for hiding this comment

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

단어 뜻을 알아도 바로 와닿지 않은 것들이 좀 있는 것 같아요 예를 들어 basic academical culture,,,
주석으로 의미를 써주면 더 좋을 것 같아요!

Copy link
Member Author

@yougyung yougyung Apr 27, 2024

Choose a reason for hiding this comment

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

하위에 RESULT_CATEGORY_KO를 통해 매칭되는 한글의미를 확인할 수 있습니다.
DUAL은 복수전공을 의미하고 SUB은 부전공을 의미합니다.

Copy link

Copy link

Copy link
Collaborator

@seonghunYang seonghunYang left a comment

Choose a reason for hiding this comment

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

  • 반영된 ui 이쁘네요. 수고하셨습니다

case DUAL_MANDATORY_MAJOR:
case DUAL_ELECTIVE_MAJOR:
case DUAL_BASIC_ACADEMICAL_CULTURE:
return <Button label="복수전공" variant="outlined" size="xs" />;
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • 이거 버튼인 이유가 있을까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

UI가 button과 같아 버튼 태그를 사용하게 되었는데, 버튼의 역할을 하지않다는 문제가 있네요. 시멘틱하게 사용하기 위해 role="presentation", role="none" cursor style변경의 기입를 추가하겠습니다

@@ -10,7 +10,7 @@ const meta = {
docs: {
description: {
component: `
- variant값으로 "primary" | "secondary" | "text" | "delete" 중 하나를 선택할 수 있습니다.\n
- variant값으로 "primary" | "secondary" | "list" | "outlined" 중 하나를 선택할 수 있습니다.\n
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • 'list'라는 네이밍을 사용한 이유가 있을까요?

Copy link
Member Author

@yougyung yougyung Apr 28, 2024

Choose a reason for hiding this comment

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

해당 네이밍은 기존에 존재하던 variant로 새롭게 추가 된 것이 아닙니다
outlined를 추가하며 함께 업데이트만 진행했어요 !

gahyuun
gahyuun previously approved these changes Apr 30, 2024
seonghunYang
seonghunYang previously approved these changes Apr 30, 2024
@yougyung yougyung dismissed stale reviews from seonghunYang and gahyuun via 6bd06f5 May 1, 2024 00:49
seonghunYang
seonghunYang previously approved these changes May 1, 2024
Copy link

github-actions bot commented May 2, 2024

@yougyung yougyung merged commit c01b239 into main May 2, 2024
2 of 3 checks passed
@yougyung yougyung deleted the doublemajor,submajor/#87 branch May 2, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[#55] Implement several major in ResultCategoryCard
3 participants