OpenFn / OpenFn/lightning

Sandboxes: Add a Delete Now button

Open
#4,689 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

sandboxes and sync
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Sandboxes are now soft-deleted before being purged from the database, and will hang around for 7 days. See #4670

There's a bit of problem there because you can't re-create another sandbox with the same name. It also adds clutter to the UI.

A cheap solution is to add a "Delete Now" button to the greyed-out sandbox tile

Very crude mockup:

Image

Like this but do it nicely, with a less prominent button and a nice layout. A red delete icon might be all we need?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start from the greyed-out sandbox tile and trace the existing soft-delete and seven-day purge behavior described in the issue. Add a clearly arranged, less prominent Delete Now control that immediately removes the sandbox, then verify that the tile updates and a sandbox with the same name can be recreated.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.