Skip to content

feat: add project selector on one-click app setup page#218

Closed
bestony wants to merge 1 commit into
caprover:masterfrom
bestony:agent/pi-musk/6783907e
Closed

feat: add project selector on one-click app setup page#218
bestony wants to merge 1 commit into
caprover:masterfrom
bestony:agent/pi-musk/6783907e

Conversation

@bestony

@bestony bestony commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the same Parent project TreeSelect used when creating/editing apps to the one-click app setup page (/#/apps/oneclick/...).

Changes

  • Load projects via getAllProjects() on the one-click config page
  • Show parent project selector above template variables (hidden when there are no projects, same as Create New App)
  • Pass selection through deploy as $$cap_project_id and a projectId query param

Companion backend PR

Motivation

Users currently cannot choose a project when deploying a one-click app; they must reassign afterward. This matches the create/edit app UX.

Test plan

  • Open a one-click app setup page with at least one project → parent project selector is visible
  • With no projects defined → selector is hidden
  • Deploy after selecting a project (with backend #2412) → app lands under that project
  • Deploy with root / no selection → previous behavior

Show the same Parent project TreeSelect used when creating/editing apps
on the one-click configuration page, and pass the selection through to
deploy so apps are placed under the chosen project.
@githubsaturn

Copy link
Copy Markdown
Collaborator

Can you please include a before/after screenshot?

@bestony bestony closed this Jul 16, 2026
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