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(Network): add table view #1622

Merged
merged 1 commit into from
Nov 18, 2024
Merged

feat(Network): add table view #1622

merged 1 commit into from
Nov 18, 2024

Conversation

artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Nov 14, 2024

Closes #1602

Stand: https://nda.ya.ru/t/p6L2nqSM79fDT5

You need to turn on setting "Enable network table"

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
134 133 0 1 0

Bundle Size: 🔺

Current: 66.10 MB | Main: 66.07 MB
Diff: +0.03 MB (0.05%)

⚠️ Bundle size increased. Please review.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@artemmufazalov artemmufazalov force-pushed the 1602-network-tab branch 4 times, most recently from 1497f98 to 34a230c Compare November 15, 2024 15:15
digits = '';
}
if (digits.length >= precision) {
return Math.round(Number(value));
return Number(Number(value).toFixed(0));
Copy link
Member Author

Choose a reason for hiding this comment

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

Math.round(0.5) = 1
Math.round(-0.5) = -0
Use toFixed to prevent it

@artemmufazalov artemmufazalov force-pushed the 1602-network-tab branch 2 times, most recently from df19502 to 0142e07 Compare November 15, 2024 15:20
export function prepareClockSkewValue(value: string | number) {
const valueMs = parseUsToMs(value, 1);
// Add + sign to positive values, do not add + to values that displayed as 0
const sign = Number(valueMs) <= 0 ? '' : '+';
Copy link
Contributor

Choose a reason for hiding this comment

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

what if we use numeral formats for this? Like '+0,0'

Copy link
Member Author

Choose a reason for hiding this comment

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

numeral adds + to 0 values, I don't like such display

numeral:
Screenshot 2024-11-18 at 12 38 00

current solution:
Screenshot 2024-11-18 at 12 36 23

@artemmufazalov artemmufazalov added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit 507aa71 Nov 18, 2024
7 checks passed
@artemmufazalov artemmufazalov deleted the 1602-network-tab branch November 18, 2024 12:37
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.

replace network diagnostics page
2 participants