Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ZeRego
Copy link
Collaborator

@ZeRego ZeRego commented May 23, 2025

Related to: #14969

Description:

Refactored filter type determination by extracting a new utility function getFilterTypeFromItemType that accepts a dimension, metric, or table calculation type directly. This allows for more flexibility when determining filter types without needing the full item object.

The original getFilterTypeFromItem function now uses this new utility function internally, maintaining backward compatibility while enabling more granular filter type determination.

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

@ZeRego ZeRego force-pushed the refactor_rename_getConditionalRuleLabel_to_getConditionalRuleLabelFromItem_and_add_tests branch from 9e6040b to 25f476e Compare May 23, 2025 14:02
@ZeRego ZeRego force-pushed the refactor_extract_getFilterTypeFromItemType_function branch from 5c1024b to 06c0f19 Compare May 23, 2025 14:02
@ZeRego ZeRego requested a review from a team May 23, 2025 14:18
@ZeRego ZeRego force-pushed the refactor_rename_getConditionalRuleLabel_to_getConditionalRuleLabelFromItem_and_add_tests branch from 25f476e to 12f72c8 Compare May 23, 2025 15:59
@ZeRego ZeRego force-pushed the refactor_extract_getFilterTypeFromItemType_function branch from 06c0f19 to 5e2ca4f Compare May 23, 2025 15:59
@ZeRego ZeRego force-pushed the refactor_rename_getConditionalRuleLabel_to_getConditionalRuleLabelFromItem_and_add_tests branch from 12f72c8 to b543a31 Compare May 23, 2025 16:10
@ZeRego ZeRego force-pushed the refactor_extract_getFilterTypeFromItemType_function branch 2 times, most recently from 6ae17d0 to d4aaf23 Compare May 23, 2025 17:33
@ZeRego ZeRego force-pushed the refactor_rename_getConditionalRuleLabel_to_getConditionalRuleLabelFromItem_and_add_tests branch 2 times, most recently from f506024 to 63b5df3 Compare May 24, 2025 07:49
@ZeRego ZeRego force-pushed the refactor_extract_getFilterTypeFromItemType_function branch from d4aaf23 to 79ea36e Compare May 24, 2025 07:49
Base automatically changed from refactor_rename_getConditionalRuleLabel_to_getConditionalRuleLabelFromItem_and_add_tests to main May 24, 2025 08:04
@ZeRego ZeRego force-pushed the refactor_extract_getFilterTypeFromItemType_function branch from 79ea36e to 6ad247d Compare May 24, 2025 08:08
@owlas owlas deployed to refactor_extract_getFilterTypeFromItemType_function - jaffle_db_pg_13 PR #14985 May 24, 2025 08:08 — with Render Active
@owlas owlas temporarily deployed to refactor_extract_getFilterTypeFromItemType_function - headless-browser PR #14985 May 24, 2025 08:08 — with Render Destroyed
@owlas owlas temporarily deployed to refactor_extract_getFilterTypeFromItemType_function - lightdash PR #14985 May 24, 2025 08:09 — with Render Destroyed
@ZeRego ZeRego merged commit 6a2cbe3 into main May 24, 2025
55 checks passed
@ZeRego ZeRego deleted the refactor_extract_getFilterTypeFromItemType_function branch May 24, 2025 08:23
@lightdash-bot
Copy link
Collaborator

🎉 This PR is included in version 0.1650.0 🎉

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

Development

Successfully merging this pull request may close these issues.

5 participants