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

autocomplete [nfc]: Cut disused CandidateT type parameters #908

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Aug 22, 2024

This is a small followup to #896 — after making these type parameters no longer needed, I forgot to also go back and remove them.

(/cc @sm-sayedi as you'll want to rebase #889 atop this)

The type argument here is the one passed to RawAutocomplete; it
doesn't know anything about this widget's CandidateT type parameter.
This is no longer used since cfce389 introduced computeResults and
eliminated getSortedItemsToTest and testItem from the base class.
Now that AutocompleteView doesn't have such a type parameter,
AutocompleteField doesn't need it.
@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label Aug 22, 2024
@gnprice gnprice requested a review from chrisbobbe August 22, 2024 23:03
@chrisbobbe
Copy link
Collaborator

Thanks, LGTM! Merging.

@chrisbobbe chrisbobbe merged commit e91694f into zulip:main Aug 23, 2024
1 check passed
@gnprice gnprice deleted the pr-autocomplete-trim-typaram branch August 23, 2024 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer review PR ready for review by Zulip maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants