ovo.app.components.project_components¶
Module Contents¶
Functions¶
Render the public/private toggle with explanatory caption. |
|
Render a submit button aligned to the right. |
|
Validate that project name doesn’t conflict with existing projects. Returns True if valid, False otherwise (and displays error). |
|
API¶
- ovo.app.components.project_components.get_query_arg_project() ovo.core.database.models.Project | None¶
- ovo.app.components.project_components.project_sidebar_component()¶
- ovo.app.components.project_components.create_project_dialog()¶
- ovo.app.components.project_components.edit_project_dialog(project_id: str)¶
- ovo.app.components.project_components.project_list_dialog(limit=100)¶
- ovo.app.components.project_components._show_project_card(project, rounds, pools, search, key_suffix)¶
- ovo.app.components.project_components._render_public_toggle_with_caption(default_value: bool = True) bool¶
Render the public/private toggle with explanatory caption.
- ovo.app.components.project_components._render_submit_button(label: str) bool¶
Render a submit button aligned to the right.
- ovo.app.components.project_components._validate_project_name_uniqueness(project_name: str, username: str, existing_project_name: str | None = None) bool¶
Validate that project name doesn’t conflict with existing projects. Returns True if valid, False otherwise (and displays error).
- ovo.app.components.project_components.project_stats_fragment(project_id)¶