OpenFn / OpenFn/lightning

Keyboard Shortcut: Delete Selected Step/Job with Delete/Backspace

Open
#3,987 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

Summary

Enable a keyboard shortcut for deleting a selected step/job in the Collaborative Workflow Editor.
If a node/step is selected, pressing a delete key should remove that node and its connected edges.

Proposed Behaviour

  • When a user selects a step/job:
    • Command + Delete (Mac)
    • Control + Backspace (Windows)
  • Trigger: Delete the selected node and all connected paths/edges.
  • The action should mimic clicking the Delete button inside the inspector modal.
  • Maintain the current confirmation modal before deletion.

Acceptance Criteria

  • Selecting a node and pressing Cmd+Delete (Mac) or Ctrl+Backspace (Windows) opens the delete confirmation modal.
  • Confirming deletion removes the node + connected edges.
  • Shortcut must not fire when a form field or text input is focused.
  • Works for Job, Trigger, and Edge nodes.
  • Behaviour consistent with inspector “Delete” button.

Validation Steps

  1. Select any node in the workflow.
  2. Press Cmd+Delete (Mac) / Ctrl+Backspace (Windows).
  3. Confirm the modal appears.
  4. Accept deletion → Node + edges removed.
Image

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 in the Collaborative Workflow Editor and trace the existing inspector “Delete” button and its confirmation modal. Reproduce the validation steps for Job, Trigger, and Edge nodes, including focused form fields; done means the shortcut opens the same confirmation and confirmed deletion removes the node and connected edges.

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
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.