Skip to content

Conversation

@atsai-jumptrading
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@asuzuki-jumptrading asuzuki-jumptrading left a comment

Choose a reason for hiding this comment

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

Looks good! Just one Q

} {
const bits = bytes * 8;
if (bits < 1_000) return { value: bits, unit: "b" };
if (bits < 1_000) return { value: getRoundedBitsValue(bits), unit: "b" };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing this!

>
{Array.from({ length: barCount }, (_, i) => {
const isHigh = i >= barCount * 0.95;
const isHigh = i >= barCount * 0.95 || i === barCount - 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice


function setTickMs(newTickMs?: number) {
if (newTickMs === undefined) return;
tickMs = newTickMs;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Doesn't this update for all users of this hook? Are we ok with that ok?

@atsai-jumptrading atsai-jumptrading force-pushed the atsai/overview_stats branch 2 times, most recently from fb5e29b to 1073120 Compare December 2, 2025 17:06
<Table.Cell className={styles.chart}>
<TileSparkLine
value={Math.min(1, emaValue / maxValue)}
background="#0000001F"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we put this in the colors.ts file since we're also using it in the SlotPerformance TileCard?

@atsai-jumptrading atsai-jumptrading merged commit 1f40f12 into amliu/navigation1 Dec 2, 2025
@atsai-jumptrading atsai-jumptrading deleted the atsai/overview_stats branch December 2, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants