Streamlit 레거시 프로토타입 페이지 API 기반으로 마이그레이션 #54
Labels
No labels
api
bug
chore
collector
decision-needed
docs
enhancement
feature
feedback-loop
frontend
infra
skill
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
xhh/financial-data-platform#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
frontend/streamlit/utils/data_loader.py와 레거시 페이지(Market_Coverage, Sector_Flows, Indicator_Detail) 및app.py사이드바가 SQLite 파일을 직접 읽는다. 때문에 Streamlit 컨테이너에./data:/app/data:roread-only 볼륨을 공유하고 있음 (v0.3.3 에서 도입).왜 제거해야 하나
대상
app.py— 사이드바에서get_database_stats()/get_latest_update_time()호출 중 →/api/meta/coverage+/api/health로 대체pages/1_Market_Coverage.py/pages/2_Sector_Flows.py/pages/3_Indicator_Detail.py—data_loader.py함수들 사용 →/api/prices/*,/api/indicators/*,/api/meta/*로 교체. 없는 엔드포인트가 있으면 추가.utils/data_loader.py— 전부 제거docker-compose.yml—./data:/app/data:ro볼륨 마운트 삭제완료 기준
data_loader.py삭제/app/data마운트 제거해도 모든 페이지 정상참고