Repository navigation
fix: 사건 생성 플로우 개선 및 UI/성능 수정 #107
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
Changes from 5 commits
428c16e
941b4a7
24e9c3f
b7cc665
32ff0fa
401f425
7d854b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,155 @@ | ||
| @use '@/styles/abstracts/variables' as v; | ||
| @use '@/styles/abstracts/functions' as fn; | ||
| @use '@/styles/abstracts/mixins' as m; | ||
|
|
||
| .page { | ||
| display: flex; | ||
| flex-direction: column; | ||
| background-color: var(--bg-page); | ||
| } | ||
|
|
||
| .content { | ||
| padding: fn.r(16) fn.r(20) fn.r(100); | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: fn.r(16); | ||
| } | ||
|
|
||
| .section { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: fn.r(16); | ||
| } | ||
|
|
||
| .label { | ||
| @include m.text-body-s; | ||
|
|
||
| color: v.$color-black; | ||
| margin: 0; | ||
| } | ||
|
|
||
| .categories { | ||
| display: flex; | ||
| flex-direction: row; | ||
| } | ||
|
|
||
| .categoryItem { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| gap: fn.r(4); | ||
| width: fn.r(44); | ||
| } | ||
|
|
||
| .categoryIcon { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| width: fn.r(44); | ||
| height: fn.r(44); | ||
| border-radius: fn.r(8); | ||
| background-color: var(--bg-surface); | ||
| border: 1px solid var(--border-brand); | ||
| } | ||
|
|
||
| .categoryLabel { | ||
| @include m.text-caption; | ||
| font-weight: v.$font-weight-bold; | ||
| color: var(--text-primary); | ||
|
Comment on lines
+55
to
+58
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stylelint 공백 규칙을 맞춰 주세요. Line 57, Line 106에서 수정 예시 .categoryLabel {
`@include` m.text-caption;
+
font-weight: v.$font-weight-bold;
color: var(--text-primary);
white-space: nowrap;
}
@@
.modalText {
`@include` m.text-body-m;
+
color: var(--text-primary);
margin: 0;
text-align: center;
}Also applies to: 104-106 🧰 Tools🪛 Stylelint (17.13.0)[error] 57-57: Expected empty line before declaration (declaration-empty-line-before) (declaration-empty-line-before) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| white-space: nowrap; | ||
| } | ||
|
|
||
| .statementGroup { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: fn.r(8); | ||
| } | ||
|
|
||
| .textarea { | ||
| min-height: fn.r(350); | ||
| } | ||
|
|
||
| .footer { | ||
| padding: 0 fn.r(20) fn.r(40); | ||
| background-color: var(--bg-page); | ||
| } | ||
|
|
||
| .footerRow { | ||
| display: flex; | ||
| gap: fn.r(8); | ||
| } | ||
|
|
||
| .modalOverlay { | ||
| position: fixed; | ||
| inset: 0; | ||
| background-color: rgba(0, 0, 0, 0.4); | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| z-index: 100; | ||
| padding: fn.r(20); | ||
| } | ||
|
|
||
| .modal { | ||
| background-color: var(--bg-page); | ||
| border-radius: fn.r(16); | ||
| padding: fn.r(24) fn.r(20); | ||
| width: 100%; | ||
| max-width: fn.r(320); | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: fn.r(20); | ||
| } | ||
|
|
||
| .modalText { | ||
| @include m.text-body-m; | ||
| color: var(--text-primary); | ||
| margin: 0; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .modalSubText { | ||
| @include m.text-body-s; | ||
|
|
||
| color: var(--text-secondary); | ||
| margin: fn.r(-12) 0 0; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .modalActions { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: fn.r(8); | ||
| } | ||
|
|
||
| // =========================== | ||
| // Saving (로딩 화면) | ||
| // =========================== | ||
|
|
||
| .savingScreen { | ||
| position: fixed; | ||
| inset: 0; | ||
| background: linear-gradient(180deg, #{v.$color-primary-200} 0%, #{v.$color-white} 50%); | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| z-index: 200; | ||
| } | ||
|
|
||
| .savingContent { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| gap: fn.r(24); | ||
| width: fn.r(362); | ||
| } | ||
|
|
||
| .savingText { | ||
| font-family: v.$font-family-base; | ||
| font-size: v.$font-size-title-m; | ||
| font-weight: v.$font-weight-semibold; | ||
| color: v.$color-black; | ||
| text-align: center; | ||
| white-space: pre-line; | ||
| line-height: 1.5; | ||
| } | ||
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.
closed상태에서 판결 결과 조회가 막히는 회귀가 있습니다.판결 탭은
judged/closed모두에서 노출되는데, 현재 조회 조건이status === 'judged'로 제한되어closed사건은useJudgment가 실행되지 않습니다. 완료 상태 전체와 조회 조건을 일치시켜야 합니다.제안 패치 예시
📝 Committable suggestion
🤖 Prompt for AI Agents