-
Notifications
You must be signed in to change notification settings - Fork 0
Recursive sub-sub-sections components #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- writing of imports + component code (write python file) - component - fct map for generation - building list of components
- first section is home section recording it's compents - needs to be treated separately
- add overview page for each section showing components in main section folder
- Section could be used everywhere, Subsection is not really necessary. If a Section has subsections, the logic changes. Else nothing changes.
- set based on report type, and this is set on init - avoid to pass on variable to all functions.
- same as for streamlit_report to prepare refactoring of components parsing.
- very similar to _combine_components in streamlit_report - imports has to be a list of list -> figure this out - added debug message for skipping components in static reports-> should maybe be a warining?
- default still on subsection level - could consider to make subsubsections instead of adding components to subsection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new command‐line argument and UI control for setting a maximum recursive depth when scanning directories for report components. Key changes include adding a --max_depth argument in the CLI, propagating the max_depth value through report generation (including updates to ConfigManager and report_generator), and adding a slider in the GUI to allow users to adjust this value.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/vuegen/utils/init.py | Added a new CLI argument for maximum recursion depth. |
| src/vuegen/streamlit_reportview.py | Minor removal of redundant variable assignments for section names. |
| src/vuegen/report_generator.py | Propagated max_depth into report generation and config manager usage. |
| src/vuegen/config_manager.py | Updated initialization and directory parsing to respect max_depth. |
| src/vuegen/main.py, gui/app.py | Updated main function and GUI to pass and enforce max_depth values. |
Caveats: