Skip to content

fix: allow duplicate slice names - #532

Draft
zaidsheikh wants to merge 3 commits into
mainfrom
allow_dup_sliceNames
Draft

fix: allow duplicate slice names#532
zaidsheikh wants to merge 3 commits into
mainfrom
allow_dup_sliceNames

Conversation

@zaidsheikh

@zaidsheikh zaidsheikh commented Dec 7, 2023

Copy link
Copy Markdown
Collaborator

Description

Allow duplicate slice names, mainly so we can easily "Create slices for all values" without worrying about existing slice names. This was decided during a discussion on ZEN-282.

(Note: we probably need a way to disambiguate slices with the same name in the chart editor … maybe by including the folder name as well)

References

fix ZEN-399

(Note: this is a duplicate of my previous PR #531 which was created from a fork. CI tests kept failing because Github Action secrets are not accessible if the PR is from a fork)

@linear

linear Bot commented Dec 7, 2023

Copy link
Copy Markdown

@Sparkier

Copy link
Copy Markdown
Member

Hi @zaidsheikh is this ready for review?

@zaidsheikh

Copy link
Copy Markdown
Collaborator Author

I need to push one more commit to fix an issue with charts (they currently assume slice names are unique, so only one slice is shown even if multiple slices with the same name are selected).

@Sparkier

Copy link
Copy Markdown
Member

Ah ok sounds good, thank you!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants