Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 55.4k
    • Issues 55.4k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1.6k
    • Merge requests 1.6k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #20620
Closed
Open
Issue created Jan 10, 2018 by Kay Strobach@kaystrobach

Delete an environment via UI

Description

Via the endpoint environments/new you can easily create environments via the webui, but there is no way to delete them via the UI.

Proposal

Add Button to delete an environment in the endpoint environments/18/edit. If an environment has been stopped display a delete button in both the list and detail views.

Detail - Available

delete_enviorments_detail

Detail - Stopped

delete_enviorments_detail_stopped

List - Available

delete_enviorments_list

List - Stopped

delete_enviorments_list_stopped

Delete buttons should display the following warning message before action is complete: "Deleting the 'example' environment cannot be undone. Are you sure?" and include 'Delete environment' and cancel buttons. Delete enviorment would perform the delete operation, Cancel would cancel the operation and close modal.

The list view delete button should have a tooltip titled "Delete environment"

What does success look like, and how can we measure that?

Although a minimal UI and functionality addition given users can already delete via the API, it would be important to measure success by monitoring an increase in support desk issues resulting in accidental deletion, despite confirmation notification.

Links / references

Edited Jul 22, 2019 by Mike Nichols
Assignee
Assign to
Time tracking