-
Notifications
You must be signed in to change notification settings - Fork 9
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(fe): add testcase result color #2332
base: main
Are you sure you want to change the base?
Conversation
…ison in testcase result
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2025-02-03 08:05:00 CET |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apps/frontend/app/(client)/(code-editor)/_components/TestcasePanel/TestcasePanel.tsx
Outdated
Show resolved
Hide resolved
apps/frontend/app/(client)/(code-editor)/_components/TestcasePanel/TestcasePanel.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apps/frontend/app/(client)/(code-editor)/_components/TestcasePanel/TestcasePanel.tsx
Outdated
Show resolved
Hide resolved
notion task 봇 왜 안뜨지? closes TAS-1105 이렇게 하면 되려나? |
|
apps/frontend/app/(client)/(code-editor)/_components/TestcasePanel/TestcasePanel.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM이요~
Description
Tab 개수에 따라 'Testcase Result'표시 방법을 추가했습니다.
(1) 5개 미만: 'Testcase Result'
(2) 5개 이상 7개 미만: 'Testcase Res...'(말줄임)
(3) 7개 이상: 'TC Res'
Expected output과 Output을 비교하고 비교 결과를 색을 통해 표시했습니다.
(1) 동일: 흰색
(2) Expected output에만 있는 글자: 초록색
(3) Output에만 있는 글자: 빨간색
Additional context
https://neil.fraser.name/software/diff_match_patch/demos/diff.html
closes TAS-1105
Before submitting the PR, please make sure you do the following
fixes #123
).