Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .github/workflows/scenario-lab-ci.yml

This file was deleted.

16 changes: 13 additions & 3 deletions .github/workflows/scenario-workshop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ on:
- 'tests/scenario-composite.test.cjs'
- 'tests/scenario-review.test.cjs'
- 'tests/scenario-workshop.test.cjs'
- 'html/scenario-workshop.html'
- 'css/scenario-workshop.css'
- 'html/vsugang.html'
- 'js/scenario-settings.js'
- 'js/incident-courses.js'
- 'css/scenario-settings.css'
- 'tests/scenario-settings.test.cjs'
- 'tests/scenario-lab.test.cjs'
- 'js/scenario-lab.js'

- '.github/workflows/scenario-workshop-ci.yml'
permissions:
contents: read
Expand All @@ -31,12 +37,16 @@ jobs:
node --check js/scenario-composite.js
node --check js/scenario-review.js
node --check js/scenario-workshop.js
node --check js/scenario-settings.js
node --check js/incident-courses.js
- name: All synthetic workflows, decisions, and DOM contracts
run: |
node --test tests/scenario-engine.test.cjs \
tests/scenario-composite.test.cjs \
tests/scenario-review.test.cjs \
tests/scenario-workshop.test.cjs
tests/scenario-workshop.test.cjs \
tests/scenario-settings.test.cjs \
tests/scenario-lab.test.cjs
- name: Prepare independent PC-only local preview
run: |
mkdir -p preview
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
| 모의수강신청 | BASIC / TIME / SELECT로 수강신청을 연습 | 기존 한모에서 제공 |
| 전공별 공지 · 강의 개설 전망 | 내 전공의 공지 근거와 과거 학기 개설 기록을 확인 | PR #5 개발 시연. 권리와 검수가 확인된 실제 자료 연결 예정 |
| 한국어 학사 FAQ · 행사 시기 안내 | 질문에 해당하는 학교 원문을 찾고 반복 학사행사의 준비 시기를 살펴봄 | 근거·보류 기준과 평가 이슈 확정. 학생용 공개는 평가 이후 |
| 위기 대응 연습 | 정원 마감 때 대체 강좌를 고르고, 가상 접속 단절 뒤 신청 결과를 확인 | 포크에서 2단계 개발 예정 |
| 위기 대응 연습 | 정원 마감 때 대체 강좌를 고르고, 가상 접속 단절 뒤 신청 결과를 확인 | 포크에서 설정에서 ON/OFF로 개별 선택(기본 OFF) |

첫 적용 대상은 **서울·글로벌캠퍼스의 2010학년도 입학생부터 모든 전공**입니다. 개인 졸업 진단은 입학년도·전공별 학칙과 이수 기록 입력을 검증한 범위부터 확장합니다. [현행 설계](docs/architecture.md)

Expand Down
28 changes: 0 additions & 28 deletions css/scenario-lab.css

This file was deleted.

70 changes: 70 additions & 0 deletions css/scenario-settings.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/* Settings extension only. No rules affect practice.html or selectZone.html. */
.settingSection{position:fixed!important;inset:0;height:100dvh!important;overflow-y:auto;z-index:90;
background:rgba(0,10,18,.87)!important;padding:20px}
.settingPanel{box-sizing:border-box;width:min(720px,100%)!important;height:auto!important;
max-height:calc(100dvh - 40px);overflow-y:auto;align-items:stretch!important;justify-content:flex-start!important;
padding:25px 30px;border:1px solid #567084}
.settingPanel>ul{list-style:none;padding:0;margin:0}
.settingPanel>ul li{margin-bottom:12px}
.settingPanel .textbox{height:37px;color:#f2f5f8;background:#0f2535;border:1px solid #66849c;border-radius:7px;padding:5px 10px}
.settingPanel .settingButton{align-self:flex-end;margin-top:20px;min-height:44px;border:0;flex:none}
.hanmo-incident-options{border:1px solid #4e6d83;border-radius:12px;padding:13px 15px;margin:18px 0 0}
.hanmo-incident-options legend{font-size:17px;font-weight:800;color:#f8d18c;padding:0 7px}
.hanmo-incident-options legend small{color:#ccd7de;font-weight:500;font-size:12px}
.hanmo-incident-options p{margin:4px 0 14px;color:#c6d6e0;font-size:12px;line-height:1.65}
.hanmo-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hanmo-scenario-toggle{display:flex;align-items:center;gap:10px;padding:12px;background:#0d2332;border:1px solid #35566b;
border-radius:9px;color:#fff;cursor:pointer;min-width:0}
.hanmo-scenario-toggle:has(input:checked){background:#193846;border-color:#f0c46f}
.hanmo-scenario-toggle input{width:19px;height:19px;flex:none;accent-color:#f4c76c}
.hanmo-scenario-toggle span{display:grid;gap:3px;min-width:0}
.hanmo-scenario-toggle strong{font-size:13px}
.hanmo-scenario-toggle small{color:#b9cad7;font-size:11px;line-height:1.5}
.hanmo-scenario-toggle em{margin-left:auto;font-style:normal;color:#adc2d1;font-size:11px;font-weight:800}
.hanmo-scenario-toggle:has(input:checked) em{color:#f7d494}
.hanmo-toggle-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.hanmo-toggle-actions button{border:1px solid #698ba2;border-radius:7px;padding:8px 12px;background:#123348;color:white;cursor:pointer}
.hanmo-toggle-actions button:hover{background:#214d64}

/* Synthetic drill stays inside vsugang.html and never affects practice/selectZone. */
#incident-practice[hidden],#incident-practice [hidden]{display:none!important}
#incident-practice{box-sizing:border-box;width:min(1050px,calc(100% - 36px));margin:32px auto 65px;
background:#071b29;border:1px solid #496c83;border-radius:16px;padding:25px 30px;color:#f5f8fa;
font:15px/1.65 "Noto Sans KR",system-ui,sans-serif;position:relative}
#incident-practice *{box-sizing:border-box}
#incident-practice button{cursor:pointer;min-height:44px;border:1px solid #507c94;border-radius:9px;
background:#123b51;color:#f8f8f8;font-family:inherit;font-size:14px;font-weight:700;line-height:1.35;padding:10px 17px}
#incident-practice button:hover{background:#225a73}
#incident-practice button:focus-visible,#incident-practice input:focus-visible{outline:3px solid #ffcb73;outline-offset:3px}
.hanmo-incident-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;
border-bottom:1px solid #43667c;padding-bottom:15px;margin-bottom:16px;flex-wrap:wrap}
.hanmo-incident-heading h2{font-size:27px;font-weight:750;margin:0}
.hanmo-incident-kicker{font-size:12px;color:#b6d4e6;margin:0 0 5px}
.hanmo-incident-warning{padding:12px 16px;border-left:4px solid #f4c76c;
background:#2a2417;color:#ffdea6;font-size:13px;margin:15px 0 24px}
.hanmo-incident-base{border:1px solid #45667a;border-radius:12px;padding:15px 20px;display:flex;gap:15px;flex-wrap:wrap}
.hanmo-incident-base legend{font-weight:800;padding:0 8px}
.hanmo-incident-base p{width:100%;margin:0;font-size:13px;color:#d1dde6}
.hanmo-incident-base label{display:flex;align-items:center;gap:9px;background:#153249;border:1px solid #476c84;
border-radius:8px;padding:10px 13px;font-size:14px;cursor:pointer}
.hanmo-incident-base input{accent-color:#f4c76c;width:18px;height:18px}
.hanmo-incident-search{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:20px 0}
#incident-search{background:#f4c76c!important;color:#061b2b!important;border-color:#f4c76c!important}
#incident-status{font-size:13px;color:#c9dfeb;flex:1}
.hanmo-incident-candidates{padding:18px;background:#0e3044;border:1px solid #466780;border-radius:10px}
.hanmo-incident-candidates h3{font-size:17px;margin:0 0 13px}
.hanmo-candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hanmo-candidate-grid button{text-align:center}
.hanmo-candidate-grid button[data-conflict="true"]{border-color:#ba8655}
.hanmo-incident-feedback{font-size:14px;padding:14px 18px;background:#143249;border-radius:9px;
border:1px solid #3f718e;min-height:56px}
.hanmo-incident-feedback[data-result="error"]{background:#3b241e;border-color:#b67861;color:#ffdbc8}
.hanmo-incident-feedback[data-result="success"]{background:#143c2f;border-color:#639580;color:#d7f4e5}
.hanmo-example-404{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;
align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center;
background:#06121ff7;color:#fff}
.hanmo-example-404 h2{font-size:clamp(27px,4vw,44px);font-weight:800;margin:0}
.hanmo-example-404 p{max-width:630px;line-height:1.8;color:#d0e0eb;margin:0}
.hanmo-example-404>div{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
@media(max-width:700px){#incident-practice{padding:19px 15px}.hanmo-candidate-grid{grid-template-columns:1fr}
.hanmo-toggle-grid{grid-template-columns:1fr}}
Loading
Loading