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: remove duplicated rules #9876

Merged
merged 2 commits into from Apr 26, 2024
Merged

Conversation

almeidabbm
Copy link
Contributor

@almeidabbm almeidabbm commented Apr 24, 2024

Closes: #9840

Description:

Screen.Recording.2024-04-24.at.16.10.46.mov

Reviewer actions

  • I have manually tested the changes in the preview environment
  • I have reviewed the code
  • I understand that "request changes" will block this PR from merging

test-frontend test-backend

@almeidabbm almeidabbm requested a review from a team April 24, 2024 15:11
@almeidabbm almeidabbm self-assigned this Apr 24, 2024
@almeidabbm almeidabbm requested review from ZeRego and removed request for a team April 24, 2024 15:11
@owlas owlas requested a deployment to fix-dashboard-chart-filter-override - jaffle_db_pg_13 PR #9876 April 24, 2024 15:11 — with Render Abandoned
@owlas owlas deployed to fix-dashboard-chart-filter-override - headless-browser PR #9876 April 24, 2024 15:11 — with Render Active
@almeidabbm almeidabbm requested review from a team and joaoviana and removed request for ZeRego, a team and joaoviana April 24, 2024 15:12
Copy link

netlify bot commented Apr 24, 2024

Deploy Preview for peaceful-bassi-cbf284 canceled.

Name Link
🔨 Latest commit 92feabe
🔍 Latest deploy log https://app.netlify.com/sites/peaceful-bassi-cbf284/deploys/662926ceb73b240008d2a13f

@owlas owlas temporarily deployed to fix-dashboard-chart-filter-override - lightdash PR #9876 April 24, 2024 15:35 — with Render Destroyed
@owlas owlas temporarily deployed to fix-dashboard-chart-filter-override - headless-browser PR #9876 April 24, 2024 15:35 — with Render Destroyed

const overriddenGroup = overrideChartFilter(filterGroup, filterRules);

// deduplicate the dashboard filter rules from the ones used when overriding the chart filterGroup
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is ok because we recently said chart filters should NOT be used for limiting data access...

@rephus
Copy link
Collaborator

rephus commented Apr 25, 2024

Triggering tests

@rephus rephus merged commit fe79ee7 into main Apr 26, 2024
56 of 57 checks passed
@rephus rephus deleted the fix-dashboard-chart-filter-override branch April 26, 2024 06:33
lightdash-bot pushed a commit that referenced this pull request Apr 26, 2024
## [0.1076.5](0.1076.4...0.1076.5) (2024-04-26)

### Bug Fixes

* remove duplicated rules ([#9876](#9876)) ([fe79ee7](fe79ee7))
@lightdash-bot
Copy link
Collaborator

🎉 This PR is included in version 0.1076.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants