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

Error shown for wrong user input in filter #403

Merged
merged 16 commits into from
Jun 3, 2024

Conversation

MarkvdVorst
Copy link
Contributor

Should not be merged without merge of PR #239 of the ladybug project.

In the backend the types for each metadata is given through the API to the frontend. User input for the filter is now being validated. If it's the wrong type, it will display an error and will not submit the input given by the user to filter.

afbeelding

@MarkvdVorst MarkvdVorst requested a review from Matthbo May 21, 2024 15:23
Matthbo
Matthbo previously approved these changes May 21, 2024
src/app/debug/filter-side-drawer/filter.service.ts Outdated Show resolved Hide resolved
src/app/debug/table/table.component.ts Outdated Show resolved Hide resolved
src/app/debug/table/table.component.ts Outdated Show resolved Hide resolved
src/app/debug/table/table.component.ts Outdated Show resolved Hide resolved
… the validator if-statements in filter service
MatthijsSmets
MatthijsSmets previously approved these changes May 24, 2024
Copy link
Contributor

@MatthijsSmets MatthijsSmets left a comment

Choose a reason for hiding this comment

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

Some minor suggestions

src/app/debug/filter-side-drawer/filter.service.ts Outdated Show resolved Hide resolved
src/app/debug/table/table.component.ts Outdated Show resolved Hide resolved
philipsens
philipsens previously approved these changes May 28, 2024
@MarkvdVorst MarkvdVorst linked an issue May 29, 2024 that may be closed by this pull request
@MatthijsSmets MatthijsSmets merged commit 90a44c6 into master Jun 3, 2024
1 check passed
@MatthijsSmets MatthijsSmets deleted the feat/error-filter-input-type branch June 3, 2024 08:02
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.

Error not shown to user: Search value 'x' isn't a valid number
4 participants