Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

clean up FilteredConnection filter types and code#63590

Merged
sqs merged 1 commit intomainfrom
sqs/fc-cleanup
Jul 3, 2024
Merged

clean up FilteredConnection filter types and code#63590
sqs merged 1 commit intomainfrom
sqs/fc-cleanup

Conversation

@sqs
Copy link
Member

@sqs sqs commented Jul 2, 2024

  • Renames some types and fields for clarity:
    • FilteredConnectionFilter -> Filter
      • field name values -> options
    • FilteredConnectionFilterValue -> FilterOption
  • Avoids passing around unnecessary data

No behavior change. This makes it easier to use the FilterControl component.

Test plan

Use existing filtered connections with filters (see the diff for a list of pages that contain this component).

@cla-bot cla-bot bot added the cla-signed label Jul 2, 2024
@sqs sqs force-pushed the sqs/fc-cleanup branch from 4587798 to 14c5729 Compare July 2, 2024 00:29
@sqs sqs marked this pull request as ready for review July 2, 2024 00:29
@sqs sqs requested a review from a team July 2, 2024 00:29
@sqs sqs force-pushed the sqs/fc-cleanup branch 2 times, most recently from 64cdbf5 to faf4ca7 Compare July 2, 2024 03:15
- Renames some types and fields for clarity:
  - FilteredConnectionFilter -> Filter
    - field name `values` -> `options`
  - FilteredConnectionFilterValue -> FilterOption
- Avoids passing around unnecessary data

No behavior change. This makes it easier to use the FilterControl component.
@sqs sqs force-pushed the sqs/fc-cleanup branch from faf4ca7 to e53ffed Compare July 2, 2024 23:00
@sqs sqs requested a review from a team July 3, 2024 03:44
@sqs sqs merged commit a73b1b0 into main Jul 3, 2024
@sqs sqs deleted the sqs/fc-cleanup branch July 3, 2024 07:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants