bluerobotics / bluerobotics/cockpit

Custom Actions can be replaced without warning

Open
#1,673 0 comments 1 reaction 1 assignee Claimed by @rafaellehmkuhl View on GitHub
Actions polish ux
Dominant language
TypeScript
Stars
198
Forks
63
Avg merge
2d 7h
Merged PRs (30d)
57

Description

### Bug description

Custom Actions are apparently registered by name, so if you create one with a name matching an existing one then it (silently!) replaces the old one:

https://github.com/user-attachments/assets/f1cd7da3-100d-44b7-b91a-55e58feebdc7

### Steps to reproduce

1. Create a Custom Action
2. Create another one with the same name and type, but different features
3. On save, only the new one exists (the old one has been replaced)

### Primary pain point(s)

It's unexpected for a name conflict to cause an instance replacement without warning.

Ideally choosing an existing name when it is in use elsewhere should be treated as invalid input, with a warning like "Action names must be unique - please choose a different one."

### Additional context

_No response_

### Prerequisites

- [x] I have checked to make sure that a similar request has not already been filed or fixed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.