Skip to content

feat(fe): make components for tc manage page#3581

Open
sONg20NOW wants to merge 8 commits into
mainfrom
t2721-make-components-for-TCManage-page
Open

feat(fe): make components for tc manage page#3581
sONg20NOW wants to merge 8 commits into
mainfrom
t2721-make-components-for-TCManage-page

Conversation

@sONg20NOW
Copy link
Copy Markdown
Contributor

@sONg20NOW sONg20NOW commented May 24, 2026

Description

폴리곤 문제 생성 페이지 작업의 일환으로, 컴포넌트 작업했습니다.

Additional context

작업 이유는 폴리곤 문제 생성 페이지 제작 시 일반문제/특수문제로 구분되는 문제 생성 페이지를 제작하여야 하는데, 중복으로 사용되는 부분이 많아서 컴포넌트화 시키고 난 후, 해당 컴포넌트를 사용하는 식으로 구현하기로 했기 때문입니다.

작업한 컴포넌트는 다음과 같습니다.

"자동 생성 실행하기" 컴포넌트의 경우, 입력 검증 탭에서는 <세부 내용 다운로드>라는 버튼이 추가되어 있어, 이를 제어할 수 있도록 하는 props를 추가해놨습니다.

확인할 수 있는 페이지의 경로는 problem/create/test로, 머지 전에 해당 페이지는 삭제할 예정입니다.


Before submitting the PR, please make sure you do the following

closes TAS-2721

@sONg20NOW sONg20NOW requested review from ojongii and woo943 May 24, 2026 12:56
@sONg20NOW sONg20NOW self-assigned this May 24, 2026
@sONg20NOW sONg20NOW added ⛳️ team-frontend 🍊squad-유자차 스쿼드 유자차 작업물입니다 preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 labels May 24, 2026
@github-project-automation github-project-automation Bot moved this to Pending ✋ in Codedang May 24, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces the ExecutionCard and TCDownloadCard components, along with a test page to manage problem creation workflows. The review feedback highlights several improvement opportunities, including the use of semantic HTML tags for better structure, fixing invalid Tailwind CSS classes such as border-1, and ensuring style consistency across action buttons. Additionally, it is recommended to refactor complex inline mapping logic into external constants to improve code readability and to remove redundant CSS layout properties.

type="button"
onClick={onDownload}
disabled={disabled}
className="text-sub4_sb_14 rounded-lg px-3 py-[10px] ring-[1.4px] disabled:ring-0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

"세부 내용 다운로드" 버튼에 글자 색상(text-primary)과 배경색(bg-white) 스타일이 누락되어 있습니다. 인접한 "자동 생성하기" 버튼과 디자인 일관성을 맞추기 위해 스타일 추가가 필요합니다.

Suggested change
className="text-sub4_sb_14 rounded-lg px-3 py-[10px] ring-[1.4px] disabled:ring-0"
className="ring-primary-light text-sub4_sb_14 text-primary hover:bg-color-blue-95 rounded-lg bg-white px-3 py-[10px] ring-[1.4px] disabled:ring-0"

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 24, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: cf008b2c1a6b3847ad3f31e8ed34946d3dca5c04
Health Status: Healthy

Open Preview | View in Argo CD

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 24, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 1b08f8d29359f33a893b9498588e8378ae4355bc
Health Status: Healthy

Open Preview | View in Argo CD

sONg20NOW and others added 3 commits May 24, 2026 23:31
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 24, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: 06b44314ac4549a253e2f73e0fd8815002116d87
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 24, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: f08bc73bb5a3e8eeb9ca9e18d79abf8369a6ca17
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 25, 2026

Syncing Preview App Failed

Application: frontend
Revision: t2721-make-components-for-TCManage-page
Health Status: Healthy

Open Preview | View in Argo CD

@skkuding-bot
Copy link
Copy Markdown

skkuding-bot Bot commented May 27, 2026

Syncing Preview App Succeeded

Application: frontend
Revision: f59925f3ca5dfb30128b15c9444819b3ac2e9602
Health Status: Healthy

Open Preview | View in Argo CD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview 이 라벨이 붙어있어야 프론트엔드 Preview 환경이 생성됩니다 🍊squad-유자차 스쿼드 유자차 작업물입니다 ⛳️ team-frontend

Projects

Status: Pending ✋

Development

Successfully merging this pull request may close these issues.

1 participant