UI: Collapse deployment methods

Open
#2,487 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, typescript
Domain
devops, frontend

Research direction

Start at the Deploy tab UI and inspect how its deployment options are rendered. Make the options collapsed by default and expandable with a click, while keeping the direct-container deployment flow and “deploy now” action usable; verify the layout on a regular desktop view.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.

When deploying a new version of a direct container, I have to scroll all the way to the bottom of the page to enter e.g. "mariadb:latest", and click "deploy now"

Describe the solution you'd like

All deployment options are by default collapsed, and can be expanded with a click. This would bring all deployment options into view on most regular desktop views.

Describe alternatives you've considered

Changing the order does not sound reasonable. A more elaborate version of the Deploy tab, could be a version where the deployed container has a setting that defines if it's a pull-from-source, or self-build container. If it's a pull-from-source, don't show the other deployment options. As a bonus, that option could also be pre-filled with the current container.

Additional context

I don't have any, really...

Dominant language
TypeScript
Stars
15.2k
Forks
1k
Avg merge
10h 28m
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from caprover/caprover

All issues in caprover/caprover

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.