Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow duplicate slice names #532

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

zaidsheikh
Copy link
Collaborator

@zaidsheikh zaidsheikh commented Dec 7, 2023

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)

Copy link

linear bot commented Dec 7, 2023

@Sparkier
Copy link
Member

Hi @zaidsheikh is this ready for review?

@zaidsheikh
Copy link
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
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