-
Notifications
You must be signed in to change notification settings - Fork 295
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
Add UI to select number of non-current versions subject to ILM expiry rule #3088
Conversation
bf90555
to
7357667
Compare
5cb5515
to
d9ff3b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jinapurapu please remove the console log: |
if the number is too long:
And there is no ui indication that something went wrong. |
Since 0 days is not a valid value. |
Yes, it can be done by setting the |
portal-ui/src/screens/Console/Buckets/BucketDetails/AddLifecycleModal.tsx
Outdated
Show resolved
Hide resolved
WIP edit lifecyle rule with versions count Fixed lint error Fix lint error Fix lint errors correctly Fix lint error Removed changes to EditILMRule to put in new PR Removed newer_noncurrent_version_transition elements UI cleanup enabling button, display correct unit
…der relevant conditions, informative error text if inappropriate value used for lifecycleDays
c35a657
to
f9ebd44
Compare
Can we change the validation error to be something like: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah @jinapurapu the message should be either less than or equal to 2147483647
or less than 2147483648
cause it allows 2147483647
.
Adds unit selector to Add Lifecycle rule modal to enable selection to expire non-current versions of objects after a number of non-current versions OR a number of days, and UI changes to display non-current version count based rules.
Edit ILM Rule for version count based rules in a separate PR
Screen.Recording.2023-11-01.at.3.14.30.PM.mov