Remove main application file app.py and update dependencies for modular dashboard architecture
- Deleted `app.py`, consolidating the main application logic into a modular structure for improved maintainability. - Added `dash-mantine-components` dependency to enhance UI component capabilities. - Updated `pyproject.toml` and `uv.lock` to reflect the new dependency. - Adjusted imports in `components/__init__.py` and `chart_controls.py` to align with the new modular design. - Cleaned up unused parameter controls in the market data layout to streamline the user interface.
This commit is contained in:
@@ -10,7 +10,6 @@ from components.charts.indicator_manager import get_indicator_manager
|
||||
from components.charts.indicator_defaults import ensure_default_indicators
|
||||
from dashboard.components.chart_controls import (
|
||||
create_chart_config_panel,
|
||||
create_parameter_controls,
|
||||
create_auto_update_control
|
||||
)
|
||||
|
||||
@@ -76,7 +75,6 @@ def get_market_data_layout():
|
||||
|
||||
# Create components using the new modular functions
|
||||
chart_config_panel = create_chart_config_panel(strategy_options, overlay_options, subplot_options)
|
||||
parameter_controls = create_parameter_controls()
|
||||
auto_update_control = create_auto_update_control()
|
||||
|
||||
return html.Div([
|
||||
@@ -110,9 +108,6 @@ def get_market_data_layout():
|
||||
# Chart Configuration Panel
|
||||
chart_config_panel,
|
||||
|
||||
# Parameter Controls Section
|
||||
parameter_controls,
|
||||
|
||||
# Auto-update control
|
||||
auto_update_control,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user