Skip to content

[UI] Add per-project templates repo support#3640

Merged
peterschmidt85 merged 10 commits intomasterfrom
feat/project-templates-repo
Mar 9, 2026
Merged

[UI] Add per-project templates repo support#3640
peterschmidt85 merged 10 commits intomasterfrom
feat/project-templates-repo

Conversation

@peterschmidt85
Copy link
Contributor

No description provided.

Andrey Cheptsov added 4 commits March 6, 2026 13:40
Allow project settings to store and validate a templates Git repository, use it as template source with cache invalidation/fallback behavior, and surface clear launch/settings UX when templates are unavailable.

Made-with: Cursor
Apply ruff-format normalization required by GitHub Actions so lint hooks pass without modifying tracked files in CI.

Made-with: Cursor
Keep update semantics straightforward: omitted or null values do not mutate `is_public`/`templates_repo`, and only `reset_templates_repo=true` clears templates for a project.

Made-with: Cursor
Switch `git.cmd.Git` to `git.Git` so pyright accepts the access while preserving the same runtime behavior for `ls_remote` validation.

Made-with: Cursor
@peterschmidt85 peterschmidt85 marked this pull request as ready for review March 6, 2026 16:13
@peterschmidt85 peterschmidt85 requested a review from r4victor March 6, 2026 16:14
Andrey Cheptsov added 6 commits March 9, 2026 09:47
Restrict visibility and templates controls in project settings to project admins to match backend ProjectAdmin enforcement for /update, and use a templates-specific action label.

Made-with: Cursor
Make templates repo URL normalization async and call git reachability validation via run_async so project create/update paths do not block request handling.

Made-with: Cursor
@peterschmidt85 peterschmidt85 requested a review from r4victor March 9, 2026 09:28
@peterschmidt85 peterschmidt85 merged commit a357347 into master Mar 9, 2026
28 checks passed
@peterschmidt85 peterschmidt85 deleted the feat/project-templates-repo branch March 9, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants