Repository navigation
fix(search): 탭 동작 통일 · 지금 이슈 출처와 자동 후보 · 데이터 연동(core.data) - #82
Merged
Merged
Conversation
검색 탭 - 검색어가 없어도 탭마다 그 종류 전체 목록과 개수 (전체 147 · 결과 12 · 이슈 7 · 데이터 76 …) - 종류 탭에서는 판정·문장 검증 패널을 숨기고 그 종류만 같은 모양으로, 위에 탭 설명 한 줄 - 0개 탭도 누를 수 있고 빈 안내를 보여 줌 (흐린 비활성 탭 없앰) 지금 이슈는 어디서 오나 (issues.html) - 사람이 공식 자료로 확인한 issues.yaml · 자동 후보(법제처 근거 법률 개정·지정 해제 이력, 최근 7일 뉴스, 사이트 질문) · 이슈가 되기까지 - '자동으로 모은 이슈 후보' 목록과 '이슈로 제안' 버튼, 검색의 이슈 줄에 근거 도메인 데이터 연동 - core/data.py: 데이터셋마다 연결 방식 하나 — 자동 수집(KOSIS·국토부 실거래가·서울 지하철 수집기) → 참여자 수집 코드(cases/*/fetch.py) → API 키 → 파일 → 웹 조회 python -m core.data list | show <id> | issue <이슈> | fetch <id> - 데이터 지도·지금 이슈·주제 표의 '받는 법 (연동)'을 펼치면 명령·코드·키 발급 안내, 검색의 데이터 줄에 연결 방식 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMnmZPBD5PQJW1UQAARN7q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. 검색 탭이 모두 같은 방식으로 보이게
문제: 탭을 눌러도 위쪽 판정 패널이 그대로 남아 내용이 바뀌지 않는 것처럼 보였습니다. 결과가 0개인 탭은 흐리게 비활성화돼 있었고, 검색어가 없으면 탭에 개수도 없었습니다.
바꾼 것:
2. 지금 이슈는 어디서 오나 (
issues.html)catalog/issues.yaml에 있고, 정부 공식 자료로 시행일을 확인했습니다. 이슈마다 공식 출처 링크가 있습니다.issues.yaml에 추가.3. 데이터 연동 (
core/data.py)데이터셋 76개마다 연결 방식을 하나씩 붙였습니다.
python -m core.data fetch <id>cases/<케이스>/fetch.pypython -m core.data issue <이슈 id>로 이슈 하나에 필요한 데이터를 한 번에 볼 수 있습니다.확인
tests/test_data_connect.py추가.Generated by Claude Code