-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
block (UI and API): Add mark deletion and no compaction UI #4620
Conversation
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.
It looks pretty sweet, thank your!
I would be happy to merge it TBH, LGTM!
pkg/api/blocks/v1.go
Outdated
} | ||
|
||
switch actionParam { | ||
case "DELETION": |
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.
Can move this to Go content so we don't make typo/mistake here?
Do you mind rebasing to fix bindata? |
What about having adding this to the latest release? @bwplotka |
b637cb3
to
ecf1ec1
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.
Let's fix the comment, resolve the conflicts and add a changelog entry? Then we are ready to merge it I think.
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Signed-off-by: Shafiya Adzhani <[email protected]>
Update pkg/api/blocks/v1.go Co-authored-by: Prem Kumar <[email protected]> Signed-off-by: Ben Ye <[email protected]>
5976c61
to
5611c69
Compare
Sorry for my poor git skill. I rebased the code and all previous commits are also signed off by me, too. Hope this is okay @adzshaf. I fixed the bindata and tested it working locally. Overall this looks good, but there is some work to fix: In the dark mode, I expect the button to have a lighter color. Also after I click |
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. Let's fix nits in next pr.
This is part of LFX mentorship project (issue: #3112). We want to add mark deletion and no compaction button in block details UI.
Changes
/block/mark
endpoint for trigger marking block APIVerification
Tested in local using
make quickstart
Example of mark deletion:
Result of mark deletion:
Example of mark no compaction:
Result of mark no compaction:
cc: @squat @onprem