File size: 561 Bytes
ef78361
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""리포트 Feature Plugin.

API: /api/v1/reports
"""
import streamlit as st

from . import overview, summary

FEATURE_CONFIG = {
    "key": "reports",
    "name": "리포트",
    "icon": "📝",
    "description": "Feature별 미리보기, HTML/CSV 다운로드, 전체 리포트 생성",
    "api_base": "/api/v1/reports",
    "order": 2,
}


def render(base_ctx):
    """리포트 feature 렌더링."""
    # Summary card
    summary.render_summary(base_ctx)

    # Main content - delegates to overview which has all sub-tabs
    overview.render(base_ctx)