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

feat(filter): expose a method #2600

Merged
merged 1 commit into from
Jan 3, 2024
Merged

feat(filter): expose a method #2600

merged 1 commit into from
Jan 3, 2024

Conversation

adisreyaj
Copy link
Contributor

Description

Expose a util method from FilterUrlService.

@adisreyaj adisreyaj requested a review from a team as a code owner January 3, 2024 09:12
this.navigationService.addQueryParametersToUrl(this.getQueryParamsObjectForFilters(filters));
}

public getQueryParamsObjectForFilters(filters: Filter[]): QueryParamObject {
Copy link
Contributor

@arjunlalb arjunlalb Jan 3, 2024

Choose a reason for hiding this comment

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

Suggested change
public getQueryParamsObjectForFilters(filters: Filter[]): QueryParamObject {
public buildQueryParamsForFilters(filters: Filter[]): QueryParamObject {

nit: shorter name

Copy link

github-actions bot commented Jan 3, 2024

Test Results

    4 files  ±0    316 suites  ±0   32m 46s ⏱️ -13s
1 136 tests ±0  1 136 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 146 runs  ±0  1 146 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 33afb29. ± Comparison against base commit e9cbabb.

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e9cbabb) 81.70% compared to head (33afb29) 81.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2600   +/-   ##
=======================================
  Coverage   81.70%   81.71%           
=======================================
  Files         928      928           
  Lines       20792    20794    +2     
  Branches     3137     3137           
=======================================
+ Hits        16989    16991    +2     
  Misses       3662     3662           
  Partials      141      141           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adisreyaj adisreyaj merged commit 7080b66 into main Jan 3, 2024
13 checks passed
@adisreyaj adisreyaj deleted the feat/filter-expose branch January 3, 2024 09:39
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