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

area/ui: fix bug in relative range picker #4814

Merged
merged 3 commits into from
Jul 1, 2024
Merged

area/ui: fix bug in relative range picker #4814

merged 3 commits into from
Jul 1, 2024

Conversation

yomete
Copy link
Contributor

@yomete yomete commented Jun 27, 2024

This fixes a bug where typing something like 1w in the relative range picker and then hitting enter resets the input to 15m. This was happening because we were not handling cases for where users are typing in week ranges. This has been added now.

@yomete yomete requested a review from a team as a code owner June 27, 2024 17:58
Copy link

alwaysmeticulous bot commented Jun 27, 2024

🤖 Meticulous spotted visual differences in 24 of 524 screens tested: view and approve differences detected.

Last updated for commit a7d410c. This comment will update as new commits are pushed.

Fix CodeQL error `Polynomial regular expression used on uncontrolled data` by  limiting the input size and ensuring the regular expression is applied to controlled data, reducing the risk of ReDoS attacks.
Copy link
Contributor

@manojVivek manojVivek left a comment

Choose a reason for hiding this comment

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

Lgtm!

@yomete yomete merged commit 7ae37f6 into main Jul 1, 2024
38 checks passed
@brancz brancz deleted the datepicker-input branch July 2, 2024 08:43
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.

None yet

2 participants