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

Remove auto refresh option in create acceleration flyout #1716

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Apr 18, 2024

Description

Remove auto refresh option, update tests

Issues Resolved

  1. Remove auto refresh option without interval
  2. Set minimum refresh time as 15 mins
  3. Update tests
Screenshot 2024-04-17 at 6 24 48 PM Screenshot 2024-04-17 at 6 25 13 PM

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

return refreshType === 'autoInterval' && refreshWindow < 1
? ['refresh window should be greater than 0']
: [];
if (refreshType === 'autoInterval' && refreshInterval === 'minute' && refreshWindow < 15)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it possible to have decimal numbers? like 0.1 hour?

Copy link
Member Author

Choose a reason for hiding this comment

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

we use parse int to refresh window doesn't take decimal inputs

Signed-off-by: Shenoy Pratik <[email protected]>
@ps48 ps48 merged commit 1f7ee0a into opensearch-project:main Apr 18, 2024
15 of 20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 18, 2024
* remove auto refresh option, update tests

Signed-off-by: Shenoy Pratik <[email protected]>

* update error on blur

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit 1f7ee0a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Apr 18, 2024
* remove auto refresh option, update tests



* update error on blur



---------


(cherry picked from commit 1f7ee0a)

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
RyanL1997 pushed a commit to RyanL1997/dashboards-observability that referenced this pull request Apr 18, 2024
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…project#1716) (opensearch-project#1718)

* remove auto refresh option, update tests

* update error on blur

---------

(cherry picked from commit 1f7ee0a)

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit f1e2ce1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants