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

Check validity of regexes before sending them to the frontend + tooltip for invalid regex #36

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

vdpoora
Copy link
Contributor

@vdpoora vdpoora commented Nov 26, 2024

@vdpoora vdpoora self-assigned this Nov 26, 2024
@vdpoora vdpoora force-pushed the bug/regex_validity branch 2 times, most recently from eb2f005 to 014923d Compare November 26, 2024 13:35
@vereecw vereecw self-requested a review November 26, 2024 14:27
src/components/util/MeasurementSelect.tsx Outdated Show resolved Hide resolved
src/util/util.ts Outdated Show resolved Hide resolved
src/variable_support.ts Outdated Show resolved Hide resolved
src/components/util/MaybeRegexInput.tsx Outdated Show resolved Hide resolved
@vereecw
Copy link
Contributor

vereecw commented Nov 26, 2024

still does the request sometimes even though the regex is invalid? When you enter an invalid regex for assets/measurement in the regular query editor en manually press the refresh button

@vdpoora vdpoora force-pushed the bug/regex_validity branch 2 times, most recently from 9b13756 to 11bdb06 Compare November 27, 2024 08:13
@vdpoora
Copy link
Contributor Author

vdpoora commented Nov 27, 2024

still does the request sometimes even though the regex is invalid? When you enter an invalid regex for assets/measurement in the regular query editor en manually press the refresh button

Don't think I can easily prevent that, might be a bigger refactor than it is worth

@vdpoora vdpoora force-pushed the bug/regex_validity branch 2 times, most recently from cf4ad69 to 67b5388 Compare November 27, 2024 08:27
src/variable_support.ts Outdated Show resolved Hide resolved
@vdpoora vdpoora merged commit fde403a into main Nov 29, 2024
5 checks passed
@vdpoora vdpoora deleted the bug/regex_validity branch November 29, 2024 10:25
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