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

feat: datasets info / key-value-stores info #726

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Conversation

vladfrangu
Copy link
Member

Datasets

Code - 2025-01-13 at 21 48 15

Key value stores

Code - 2025-01-13 at 21 48 42

@vladfrangu vladfrangu added the adhoc Ad-hoc unplanned task added during the sprint. label Jan 13, 2025
@vladfrangu vladfrangu requested a review from B4nan as a code owner January 13, 2025 19:48
@github-actions github-actions bot added this to the 106th sprint - Tooling team milestone Jan 13, 2025
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Jan 13, 2025
@vladfrangu vladfrangu requested a review from netmilk January 13, 2025 20:02
Copy link
Contributor

@netmilk netmilk left a comment

Choose a reason for hiding this comment

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

I haven't reviewed the code, but I have validated it from the product perspective and it seems all OK and pretty cool! Thank you!

@@ -16,7 +16,7 @@ export function prettyPrintBytes({
return `${(0).toPrecision(precision)} Byte`;
}

const i = Math.floor(Math.log(bytes) / Math.log(1024));
const i = Math.floor(Math.log(bytes) / Math.log(1000));
Copy link
Member

Choose a reason for hiding this comment

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

wasnt it correct before?

Copy link
Member Author

@vladfrangu vladfrangu Jan 14, 2025

Choose a reason for hiding this comment

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

Turns out no, the console does / 1000 more often than / 1024 (except i think in some very specific edge cases / pages, I need to re-check their source code some other time)

@vladfrangu vladfrangu merged commit 56e8ffa into master Jan 14, 2025
17 checks passed
@vladfrangu vladfrangu deleted the feat/storage-info branch January 14, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants