Skip to content

Color Palette Names are unique across the application #2358

@sosiology

Description

@sosiology

Description

If a color palette name already exists (even if it's from another user), the palette doesn't get saved (e.g., "BAKOM 1234").

Reported by Nick in Gitlab here: https://gitlab.ldbar.ch/bafu/visualize/-/issues/377#note_18850

To Reproduce Steps to reproduce the behavior:

  1. Go to test.visualize.admin.ch
  2. Login
  3. Go to Color Palette
  4. Create a color palette with the name Emma's Color Palette
  5. See that color palette cannot be saved as the name is already used by another user (me)

Expected behavior
Color palette names should be unique to a user not across the application (unless of course in future this could allow color palettes to be be shared across applications).

Environment (please complete the following information):

  • Visualize environment and version: v5.8.1 (01495c7)
  • Browser and version [e.g. Chrome 132]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions