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

Refactor: define join element rather than indexes in the FilterList #477

Closed
wants to merge 2 commits into from

Conversation

andresmgot
Copy link
Contributor

Applying the suggestion at grafana/grafana#55664 (comment)

Rather than adding the index to the List type and conditionally render the "OR" label within an Item, this PR adds the type of a list item, which is either an expression or a condition ("OR" label in this case).

I don't necessarily like this option better, mostly because the code is a bit messing to insert (or remove) "conditions" between "expressions", but leaving this here for reference.

@github-actions
Copy link

Backend code coverage report for PR #477
No changes

@github-actions
Copy link

Frontend code coverage report for PR #477

Plugin Main PR Difference
src 79.23% 79.23% 0%

@andresmgot andresmgot closed this Jan 18, 2023
@aangelisc aangelisc deleted the filterListAlternative branch November 30, 2023 18:37
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.

None yet

1 participant