Skip to content

fix(console): a tag row with an empty key is dropped silently on Save #480

Open

Description

@fredpena

Summary

Follow-up to #477. In the resource tags editor, a row whose key is empty is ignored when the tags are saved, so a half filled row (a value with no key) loses its value without any message.

Expected

The form says why the row was not saved, for example an inline hint next to the row or beside Save, instead of dropping it quietly. Duplicate keys already get a visible error, and this would follow the same pattern.

Where

packages/frontend/src/lib/resourceTags.ts (changesBetween filters rows with an empty key) and packages/frontend/src/components/ResourceTagsEditor.tsx.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions