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: feature search basic functionality #5150

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

kwasniew
Copy link
Contributor

About the changes

Basic search

Important files

Discussion points

@vercel
Copy link

vercel bot commented Oct 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2023 2:00pm
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2023 2:00pm

{
name: 'query',
schema: {
default: '',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need to investigate why the default is not set

{
name: 'projectId',
schema: {
default: '',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

store should do * or %

Copy link
Contributor

@FredrikOseberg FredrikOseberg left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -56,6 +55,8 @@ export default class FeatureSearchController extends Controller {
summary: 'Search and filter features',
description: 'Search and filter by selected fields.',
operationId: 'searchFeatures',
// TODO: fix the type
parameters: featureSearchQueryParameters as any,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thomasheartman can you help here? Do we have a standard method for externalizing query params to a type without type assertions?

@kwasniew kwasniew merged commit de540e0 into main Oct 25, 2023
10 checks passed
@kwasniew kwasniew deleted the tests-for-feature-search branch October 25, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants