-
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
Fix: Filter block rows in bucket UI according to searched block ID #5102
Conversation
Signed-off-by: soumya <somu12.ss@gmail.com>
Signed-off-by: soumya <somu12.ss@gmail.com>
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.
Don't forget to do make assets
&& add an item to the CHANGELOG (:
@@ -146,3 +146,21 @@ export const getBlocksByCompactionLevel = (blocks: Block[], compactionLevel: num | |||
const blockResult = blocks.filter((block) => block.compaction.level === compactionLevel); | |||
return blockResult; | |||
}; | |||
|
|||
export const getFilteredBlockPools = ( |
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.
Maybe we could add a unit test or two for this?
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.
Yeah for sure, I can add one
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.
Hey @GiedriusS you can review now
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.
Great work!
Signed-off-by: soumya <somu12.ss@gmail.com>
@yeya24 @GiedriusS can anyone run CI for this PR |
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.
Thanks @tend2infinity
…hanos-io#5102) * added helper function to filter block rows Signed-off-by: soumya <somu12.ss@gmail.com> * updated store UI to show filtered block rows Signed-off-by: soumya <somu12.ss@gmail.com> * added unit tests for getFilteredBlockPools function Signed-off-by: soumya <somu12.ss@gmail.com> Signed-off-by: Nicholaswang <wzhever@gmail.com>
Issue: #5044
Changes
Verification
UI preview
Attached a short video file that demonstrates my implementation.
Screencast.from.25-01-22.08.29.35.PM.IST.mp4