ovo.app.components.project_components

Module Contents

Functions

get_query_arg_project

project_sidebar_component

create_project_dialog

edit_project_dialog

project_list_dialog

_show_project_card

_render_public_toggle_with_caption

Render the public/private toggle with explanatory caption.

_render_submit_button

Render a submit button aligned to the right.

_validate_project_name_uniqueness

Validate that project name doesn’t conflict with existing projects. Returns True if valid, False otherwise (and displays error).

project_stats_fragment

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)