tui rework

This commit is contained in:
2026-03-09 14:18:34 +03:00
parent 309dfdba86
commit 4f74bb8afb
8 changed files with 5497 additions and 1520 deletions

View File

@@ -84,6 +84,13 @@
- 📝 Flattens entity tree for easier grouping.
- ƒ **to_dict** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **test_pat_retrieve** (`Module`) `[TRIVIAL]`
- 📝 Auto-generated module for test_pat_retrieve.py
- 🏗️ Layer: Unknown
- ƒ **run** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **mock_test** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **DashboardTypes** (`Module`) `[TRIVIAL]`
- 📝 TypeScript interfaces for Dashboard entities
- 🏗️ Layer: Domain
@@ -207,8 +214,16 @@
- 📦 **taskDrawer** (`Module`) `[TRIVIAL]`
- 📝 Auto-generated module for frontend/src/lib/stores/taskDrawer.js
- 🏗️ Layer: Unknown
- ƒ **readAutoOpenTaskDrawerPreference** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **openDrawerForTask** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **setTaskDrawerAutoOpenPreference** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getTaskDrawerAutoOpenPreference** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **openDrawerForTaskIfPreferred** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **openDrawer** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **closeDrawer** (`Function`) `[TRIVIAL]`
@@ -570,6 +585,8 @@
- 📝 Auto-detected function (orphan)
- ƒ **handleAssistantClick** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **hydrateTaskDrawerPreference** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleSearchFocus** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **clearSearchState** (`Function`) `[TRIVIAL]`
@@ -692,9 +709,18 @@
- 📝 Root layout configuration (SPA mode)
- 🏗️ Layer: Infra
- 📦 **HomePage** (`Page`) `[CRITICAL]`
- 📝 Redirect to Dashboard Hub as per UX requirements
- 📝 Redirect to preferred start page from profile settings with safe dashboards fallback.
- 🏗️ Layer: UI
- 🔒 Invariant: Always redirects to /dashboards
- 🔒 Invariant: Redirect target resolves to one of /dashboards, /datasets, /reports.
- 📦 **+page** (`Module`) `[TRIVIAL]`
- 📝 Auto-generated module for frontend/src/routes/+page.svelte
- 🏗️ Layer: Unknown
- ƒ **normalizeStartPage** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **resolveStartPagePath** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **redirectToStartPage** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **load** (`Function`)
- 📝 Loads initial plugin data for the dashboard.
- 📦 **layout** (`Module`)
@@ -1176,16 +1202,30 @@
- 📦 **+page** (`Module`) `[TRIVIAL]`
- 📝 Auto-generated module for frontend/src/routes/profile/+page.svelte
- 🏗️ Layer: Unknown
- ƒ **createSecuritySummaryDefault** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeStartPage** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **normalizeDensity** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **parseValidationErrorsFromError** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **setSavedSnapshot** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **syncLocalUiPreferenceCaches** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **applyPreferenceResponse** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **loadPreference** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **loadLookupCandidates** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleSelectCandidate** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleGitTokenInput** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleClearGitToken** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleEnvironmentChange** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleSave** (`Function`) `[TRIVIAL]`
@@ -1306,6 +1346,10 @@
- 📝 Tests connection to a git server with current form data.
- ƒ **handleSave** (`Function`)
- 📝 Saves a new git configuration.
- ƒ **handleEdit** (`Function`)
- 📝 Populates the form with an existing config to edit.
- ƒ **resetForm** (`Function`)
- 📝 Resets the configuration form.
- ƒ **handleDelete** (`Function`)
- 📝 Deletes a git configuration by ID.
- ƒ **loadGiteaRepos** (`Function`)
@@ -1314,6 +1358,8 @@
- 📝 Creates new repository on selected Gitea server.
- ƒ **handleDeleteGiteaRepo** (`Function`)
- 📝 Deletes repository from selected Gitea server.
- 📦 **frontend.src.routes.settings.git.__tests__.git_settings_page_ux_test** (`Module`)
- 📝 Test UX states and transitions for the Git Settings page
- 🧩 **GitDashboardPage** (`Component`)
- 📝 Dashboard management page for Git integration.
- 🏗️ Layer: Page
@@ -1429,6 +1475,8 @@
- 📝 Returns the URL for downloading a file.
- ƒ **downloadFile** (`Function`)
- 📝 Downloads a file using authenticated fetch and saves it in browser.
- 📦 **frontend.src.services.__tests__.gitService_test** (`Module`)
- 📝 API client tests ensuring correct endpoints are called per contract
- 🧩 **DashboardGrid** (`Component`)
- 📝 Displays a grid of dashboards with selection and pagination.
- 🏗️ Layer: Component
@@ -1792,9 +1840,9 @@
- 🏗️ Layer: Component
- 🔒 Invariant: Cannot deploy without a selected environment.
- ⚡ Events: deploy
- ➡️ WRITES_TO `bindable`
- ➡️ WRITES_TO `props`
- ➡️ WRITES_TO `state`
- ➡️ WRITES_TO `derived`
- 📦 **loadStatus** (`Watcher`)
- ƒ **normalizeEnvStage** (`Function`)
- 📝 Normalize environment stage with legacy production fallback.
@@ -1809,6 +1857,7 @@
- 🏗️ Layer: Component
- 🔒 Invariant: User must resolve all conflicts before saving.
- ⚡ Events: resolve
- ➡️ WRITES_TO `bindable`
- ➡️ WRITES_TO `props`
- ➡️ WRITES_TO `state`
- ƒ **resolve** (`Function`)
@@ -1832,9 +1881,9 @@
- 📝 UI для выбора и создания веток Git.
- 🏗️ Layer: Component
- ⚡ Events: change
- ➡️ WRITES_TO `bindable`
- ➡️ WRITES_TO `props`
- ➡️ WRITES_TO `state`
- ⬅️ READS_FROM `t`
- ƒ **onMount** (`Function`)
- 📝 Load branches when component is mounted.
- ƒ **loadBranches** (`Function`)
@@ -1887,6 +1936,8 @@
- 📝 Resolve default git config for current session.
- ƒ **resolvePushProviderLabel** (`Function`)
- 📝 Resolve lower-case provider label for auto-push checkbox.
- ƒ **extractHttpHost** (`Function`)
- 📝 Extract comparable host[:port] from URL string.
- ƒ **buildSuggestedRepoName** (`Function`)
- 📝 Build deterministic repository name from dashboard title/id.
- ƒ **handleCreateRemoteRepo** (`Function`)
@@ -1897,6 +1948,34 @@
- 📝 Close git manager modal.
- ƒ **handleBackdropClick** (`Function`)
- 📝 Close modal on backdrop click.
- 📦 **GitManager** (`Module`) `[TRIVIAL]`
- 📝 Auto-generated module for frontend/src/components/git/GitManager.svelte
- 🏗️ Layer: Unknown
- ƒ **tryParseJsonObject** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **extractUnfinishedMergeContext** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **openUnfinishedMergeDialogFromError** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **loadMergeRecoveryState** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **closeUnfinishedMergeDialog** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleOpenConflictResolver** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleResolveConflicts** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleAbortUnfinishedMerge** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleContinueUnfinishedMerge** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **getUnfinishedMergeCommandsText** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **handleCopyUnfinishedMergeCommands** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **frontend.src.components.git.__tests__.git_manager_unfinished_merge_integration** (`Module`)
- 📝 Protect unresolved-merge dialog contract in GitManager pull flow.
- 🏗️ Layer: UI Tests
- 🧩 **DocPreview** (`Component`)
- 📝 UI component for previewing generated dataset documentation before saving.
- 🏗️ Layer: UI
@@ -2039,7 +2118,13 @@
- 📝 Execute compliance orchestrator run and update UI state.
- ƒ **__init__** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **__init__** (`Function`) `[TRIVIAL]`
- ƒ **_build_repository** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_bootstrap_demo_repository** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_bootstrap_real_repository** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_resolve_candidate_id** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **draw_header** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
@@ -2132,14 +2217,18 @@
- **User** (`Class`) `[CRITICAL]`
- 📝 Schema for user data in API responses.
- 📦 **backend.src.schemas.profile** (`Module`)
- 📝 Defines API schemas for profile preference persistence and Superset account lookup flows.
- 📝 Defines API schemas for profile preference persistence, security read-only snapshot, and Superset account lookup.
- 🏗️ Layer: API
- 🔒 Invariant: Schema shapes stay stable for profile UI states and dashboards filter metadata.
- 🔒 Invariant: Schema shapes stay stable for profile UI states and backend preference contracts.
- 🔗 DEPENDS_ON -> `pydantic`
- **ProfilePermissionState** (`Class`)
- 📝 Represents one permission badge state for profile read-only security view.
- **ProfileSecuritySummary** (`Class`)
- 📝 Read-only security and access snapshot for current user.
- **ProfilePreference** (`Class`)
- 📝 Represents persisted profile preference for a single authenticated user.
- **ProfilePreferenceUpdateRequest** (`Class`)
- 📝 Request payload for updating current user's dashboard filter preference.
- 📝 Request payload for updating current user's profile settings.
- **ProfilePreferenceResponse** (`Class`)
- 📝 Response envelope for profile preference read/update endpoints.
- **SupersetAccountLookupRequest** (`Class`)
@@ -2348,6 +2437,10 @@
- 📝 A session factory for the tasks execution database.
- **AuthSessionLocal** (`Class`) `[TRIVIAL]`
- 📝 A session factory for the authentication database.
- ƒ **_ensure_user_dashboard_preferences_columns** (`Function`) `[CRITICAL]`
- 📝 Applies additive schema upgrades for user_dashboard_preferences table.
- ƒ **_ensure_git_server_configs_columns** (`Function`) `[CRITICAL]`
- 📝 Applies additive schema upgrades for git_server_configs table.
- ƒ **init_db** (`Function`) `[CRITICAL]`
- 📝 Initializes the database by creating all tables.
- ƒ **get_db** (`Function`) `[CRITICAL]`
@@ -3075,10 +3168,18 @@
- 📝 Resolve dashboard ID from slug-or-id reference for Git routes.
- ƒ **_resolve_repo_key_from_ref** (`Function`)
- 📝 Resolve repository folder key with slug-first strategy and deterministic fallback.
- ƒ **_sanitize_optional_identity_value** (`Function`)
- 📝 Normalize optional identity value into trimmed string or None.
- ƒ **_resolve_current_user_git_identity** (`Function`)
- 📝 Resolve configured Git username/email from current user's profile preferences.
- ƒ **_apply_git_identity_from_profile** (`Function`)
- 📝 Apply user-scoped Git identity to repository-local config before write/pull operations.
- ƒ **get_git_configs** (`Function`)
- 📝 List all configured Git servers.
- ƒ **create_git_config** (`Function`)
- 📝 Register a new Git server configuration.
- ƒ **update_git_config** (`Function`)
- 📝 Update an existing Git server configuration.
- ƒ **delete_git_config** (`Function`)
- 📝 Remove a Git server configuration.
- ƒ **test_git_config** (`Function`)
@@ -3109,6 +3210,16 @@
- 📝 Push local commits to the remote repository.
- ƒ **pull_changes** (`Function`)
- 📝 Pull changes from the remote repository.
- ƒ **get_merge_status** (`Function`)
- 📝 Return unfinished-merge status for repository (web-only recovery support).
- ƒ **get_merge_conflicts** (`Function`)
- 📝 Return conflicted files with mine/theirs previews for web conflict resolver.
- ƒ **resolve_merge_conflicts** (`Function`)
- 📝 Apply mine/theirs/manual conflict resolutions from WebUI and stage files.
- ƒ **abort_merge** (`Function`)
- 📝 Abort unfinished merge from WebUI flow.
- ƒ **continue_merge** (`Function`)
- 📝 Finalize unfinished merge from WebUI flow.
- ƒ **sync_dashboard** (`Function`)
- 📝 Sync dashboard state from Superset to Git using the GitPlugin.
- ƒ **promote_dashboard** (`Function`)
@@ -3279,6 +3390,8 @@
- 🔗 DEPENDS_ON -> `backend.src.models.git`
- **GitServerConfigBase** (`Class`) `[TRIVIAL]`
- 📝 Base schema for Git server configuration attributes.
- **GitServerConfigUpdate** (`Class`)
- 📝 Schema for updating an existing Git server configuration.
- **GitServerConfigCreate** (`Class`)
- 📝 Schema for creating a new Git server configuration.
- **GitServerConfigSchema** (`Class`)
@@ -3297,6 +3410,14 @@
- 📝 Schema for staging and committing changes.
- **ConflictResolution** (`Class`)
- 📝 Schema for resolving merge conflicts.
- **MergeStatusSchema** (`Class`)
- 📝 Schema representing unfinished merge status for repository.
- **MergeConflictFileSchema** (`Class`)
- 📝 Schema describing one conflicted file with optional side snapshots.
- **MergeResolveRequest** (`Class`)
- 📝 Request schema for resolving one or multiple merge conflicts.
- **MergeContinueRequest** (`Class`)
- 📝 Request schema for finishing merge with optional explicit commit message.
- **DeploymentEnvironmentSchema** (`Class`)
- 📝 Schema for representing a target deployment environment.
- **DeployRequest** (`Class`)
@@ -3636,6 +3757,18 @@
- 📝 Ensure batch endpoint marks failed items as ERROR without failing entire request.
- ƒ **test_get_repository_status_batch_deduplicates_and_truncates_ids** (`Function`)
- 📝 Ensure batch endpoint protects server from oversized payloads.
- ƒ **test_commit_changes_applies_profile_identity_before_commit** (`Function`)
- 📝 Ensure commit route configures repository identity from profile preferences before commit call.
- ƒ **test_pull_changes_applies_profile_identity_before_pull** (`Function`)
- 📝 Ensure pull route configures repository identity from profile preferences before pull call.
- ƒ **test_get_merge_status_returns_service_payload** (`Function`)
- 📝 Ensure merge status route returns service payload as-is.
- ƒ **test_resolve_merge_conflicts_passes_resolution_items_to_service** (`Function`)
- 📝 Ensure merge resolve route forwards parsed resolutions to service.
- ƒ **test_abort_merge_calls_service_and_returns_result** (`Function`)
- 📝 Ensure abort route delegates to service.
- ƒ **test_continue_merge_passes_message_and_returns_commit** (`Function`)
- 📝 Ensure continue route passes commit message to service.
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
@@ -3662,6 +3795,40 @@
- 📝 Auto-detected function (orphan)
- ƒ **get_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **__init__** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **configure_identity** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **commit_changes** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **filter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **first** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **query** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **__init__** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **configure_identity** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **pull_changes** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **filter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **first** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **query** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_merge_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **resolve_merge_conflicts** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **dict** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **abort_merge** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **continue_merge** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.tests.test_reports_openapi_conformance** (`Module`)
- 📝 Validate implemented reports payload shape against OpenAPI-required top-level contract fields.
- 🏗️ Layer: Domain (Tests)
@@ -3858,6 +4025,80 @@
- 📝 Auto-detected function (orphan)
- ƒ **rollback** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.api.routes.__tests__.test_git_api** (`Module`)
- 📝 API tests for Git configurations and repository operations.
- ƒ **__init__** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **query** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **filter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **first** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **all** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **add** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **delete** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **commit** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **refresh** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_get_git_configs_masks_pat** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_create_git_config_persists_config** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_update_git_config_modifies_record** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **query** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **filter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **first** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **commit** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **refresh** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_update_git_config_raises_404_if_not_found** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_delete_git_config_removes_record** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **query** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **filter** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **first** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **delete** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **commit** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_test_git_config_validates_connection_successfully** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_connection** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_test_git_config_fails_validation** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_connection** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_list_gitea_repositories_returns_payload** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **list_gitea_repositories** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_list_gitea_repositories_rejects_non_gitea** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_create_remote_repository_creates_provider_repo** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **create_gitlab_repository** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_init_repository_initializes_and_saves_binding** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **init_repo** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_get_repo_path** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.api.routes.__tests__.test_assistant_api** (`Module`)
- 📝 Validate assistant API endpoint logic via direct async handler invocation.
- 🏗️ Layer: UI (API Tests)
@@ -4201,9 +4442,9 @@
- 📝 Maps an Active Directory group to a local System Role.
- 🔗 DEPENDS_ON -> `Role`
- 📦 **backend.src.models.profile** (`Module`)
- 📝 Defines persistent per-user dashboard filter preferences.
- 📝 Defines persistent per-user profile settings for dashboard filter, Git identity/token, and UX preferences.
- 🏗️ Layer: Domain
- 🔒 Invariant: Exactly one preference row exists per user_id.
- 🔒 Invariant: Sensitive Git token is stored encrypted and never returned in plaintext.
- 🔗 DEPENDS_ON -> `backend.src.models.auth`
- **UserDashboardPreference** (`Class`)
- 📝 Stores Superset username binding and default "my dashboards" toggle for one authenticated user.
@@ -4318,6 +4559,24 @@
- 📝 Query Superset users in selected environment and project canonical account candidates.
- ƒ **matches_dashboard_actor** (`Function`)
- 📝 Apply trim+case-insensitive actor match across owners OR modified_by.
- ƒ **_build_security_summary** (`Function`)
- 📝 Build read-only security snapshot with role and permission badges.
- ƒ **_collect_user_permission_pairs** (`Function`)
- 📝 Collect effective permission tuples from current user's roles.
- ƒ **_format_permission_key** (`Function`)
- 📝 Convert normalized permission pair to compact UI key.
- ƒ **_to_preference_payload** (`Function`)
- 📝 Map ORM preference row to API DTO with token metadata.
- ƒ **_mask_secret_value** (`Function`)
- 📝 Build a safe display value for sensitive secrets.
- ƒ **_sanitize_text** (`Function`)
- 📝 Normalize optional text into trimmed form or None.
- ƒ **_sanitize_secret** (`Function`)
- 📝 Normalize secret input into trimmed form or None.
- ƒ **_normalize_start_page** (`Function`)
- 📝 Normalize supported start page aliases to canonical values.
- ƒ **_normalize_density** (`Function`)
- 📝 Normalize supported density aliases to canonical values.
- ƒ **_resolve_environment** (`Function`)
- 📝 Resolve environment model from configured environments by id.
- ƒ **_get_preference_row** (`Function`)
@@ -4504,6 +4763,8 @@
- 📝 Remove local repository and DB binding for a dashboard.
- ƒ **get_repo** (`Function`)
- 📝 Get Repo object for a dashboard.
- ƒ **configure_identity** (`Function`)
- 📝 Configure repository-local Git committer identity for user-scoped operations.
- ƒ **list_branches** (`Function`)
- 📝 List all branches for a dashboard's repository.
- ƒ **create_branch** (`Function`)
@@ -4512,6 +4773,14 @@
- 📝 Switch to a specific branch.
- ƒ **commit_changes** (`Function`)
- 📝 Stage and commit changes.
- ƒ **_extract_http_host** (`Function`)
- 📝 Extract normalized host[:port] from HTTP(S) URL.
- ƒ **_strip_url_credentials** (`Function`)
- 📝 Remove credentials from URL while preserving scheme/host/path.
- ƒ **_replace_host_in_url** (`Function`)
- 📝 Replace source URL host with host from configured server URL.
- ƒ **_align_origin_host_with_config** (`Function`)
- 📝 Auto-align local origin host to configured Git server host when they drift.
- ƒ **push_changes** (`Function`)
- 📝 Push local commits to remote.
- ƒ **pull_changes** (`Function`)
@@ -4558,6 +4827,22 @@
- 📝 Create pull request in GitHub or GitHub Enterprise.
- ƒ **create_gitlab_merge_request** (`Function`)
- 📝 Create merge request in GitLab.
- ƒ **_read_blob_text** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_get_unmerged_file_paths** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **_build_unfinished_merge_payload** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_merge_status** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **get_merge_conflicts** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **resolve_merge_conflicts** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **abort_merge** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **continue_merge** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.src.services.mapping_service** (`Module`)
- 📝 Orchestrates database fetching and fuzzy matching suggestions.
- 🏗️ Layer: Service
@@ -5757,6 +6042,8 @@
- 📝 Auto-detected function (orphan)
- ƒ **remote** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- ƒ **test_git_service_configure_identity_updates_repo_local_config** (`Function`) `[TRIVIAL]`
- 📝 Auto-detected function (orphan)
- 📦 **backend.tests.core.test_migration_engine** (`Module`)
- 📝 Unit tests for MigrationEngine's cross-filter patching algorithms.
- 🏗️ Layer: Domain