Skip to content

Conversation

@dogfrogfog
Copy link
Contributor

@dogfrogfog dogfrogfog commented Oct 4, 2022

Brief

Changes

  • make adhoc table fit width
  • change adhoc table time format to MMM d, yyyy at H:mm
  • add "tooltip" (title span attribute) to Filename cells
  • add suffix column, the suffix value should be part of /api/adhoc/v1/profiles reponse

Screenshot 2022-10-05 at 12 28 33

Screenshot 2022-10-05 at 12 25 59

Concerns

  • FileNames column values are hidden when screen width is small (thats not a problem since we are adding suffix column?)

Screenshot 2022-10-05 at 12 27 16

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2022

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
webapp/public/assets/app.js 444.59 KB (+0.03% 🔺) 8.9 s (+0.03% 🔺) 3.4 s (-4.68% 🔽) 12.2 s
webapp/public/assets/app.css 17.59 KB (+0.27% 🔺) 352 ms (+0.27% 🔺) 0 ms (+100% 🔺) 352 ms
webapp/public/assets/styles.css 9.5 KB (0%) 191 ms (0%) 0 ms (+100% 🔺) 191 ms
packages/pyroscope-flamegraph/dist/index.js 92.19 KB (0%) 1.9 s (0%) 1.3 s (+14.4% 🔺) 3.2 s
packages/pyroscope-flamegraph/dist/index.node.js 92.08 KB (0%) 1.9 s (0%) 563 ms (+17.39% 🔺) 2.5 s
packages/pyroscope-flamegraph/dist/index.css 7.39 KB (+0.12% 🔺) 148 ms (+0.12% 🔺) 0 ms (+100% 🔺) 148 ms

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Base: 66.63% // Head: 66.53% // Decreases project coverage by -0.10% ⚠️

Coverage data is based on head (de68547) compared to base (67227bf).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head de68547 differs from pull request most recent head d009f6d. Consider uploading reports for the commit d009f6d to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1591      +/-   ##
==========================================
- Coverage   66.63%   66.53%   -0.09%     
==========================================
  Files         147      148       +1     
  Lines        5004     5031      +27     
  Branches     1161     1165       +4     
==========================================
+ Hits         3334     3347      +13     
- Misses       1665     1679      +14     
  Partials        5        5              
Impacted Files Coverage Δ
webapp/javascript/ui/Table.module.scss 61.54% <100.00%> (ø)
...p/javascript/components/Heatmap/HeatmapTooltip.tsx 58.47% <0.00%> (-2.25%) ⬇️
.../components/TimelineChart/TooltipWrapper/index.tsx 65.63% <0.00%> (-2.11%) ⬇️
webapp/javascript/components/Heatmap/utils.ts 57.15% <0.00%> (-0.54%) ⬇️
...ript/components/Heatmap/HeatmapTooltip.module.scss 53.85% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dogfrogfog
Copy link
Contributor Author

/create-server

@dogfrogfog dogfrogfog marked this pull request as ready for review October 4, 2022 10:30
@eh-am
Copy link
Collaborator

eh-am commented Oct 4, 2022

/create-server

3 similar comments
@eh-am
Copy link
Collaborator

eh-am commented Oct 4, 2022

/create-server

@eh-am
Copy link
Collaborator

eh-am commented Oct 4, 2022

/create-server

@Rperry2174
Copy link
Contributor

/create-server

Copy link
Collaborator

@eh-am eh-am left a comment

Choose a reason for hiding this comment

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

I like having the names fully visible, specially if you have a bunch of profiles (.cpu, .mutex, .inuse_objects) that would be all trimmed to rideshare-app-golang..., but from design purposes I guess it makes sense making it "prettier".

),
},
{ value: profile.updatedAt },
{ value: format(parseISO(profile.updatedAt), 'yyyy-MM-dd') },
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Rperry2174 Not sure I understand the reasoning behind this. What if I am uploading multiple files (via adhoc command for example) in a short interval (minutes) and I am basing off that info to navigate through my files.

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good for time lets do this format:
image

Lets add one more column with the suffix:
cpu, mutex, inuse_objects, etc

@dogfrogfog
Copy link
Contributor Author

/create-server

@dogfrogfog
Copy link
Contributor Author

updated PR description

@dogfrogfog
Copy link
Contributor Author

Screen.Recording.2022-10-05.at.15.43.02.mov

@dogfrogfog
Copy link
Contributor Author

/create-server

1 similar comment
@dogfrogfog
Copy link
Contributor Author

/create-server

@eh-am
Copy link
Collaborator

eh-am commented Oct 5, 2022

Closes #1338

@Ivanikitin Ivanikitin added the frontend Mostly JS code label Oct 6, 2022
@Rperry2174
Copy link
Contributor

/create-server

Copy link
Contributor

@Rperry2174 Rperry2174 left a comment

Choose a reason for hiding this comment

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

lgtm

@Rperry2174 Rperry2174 merged commit da74fe8 into main Oct 9, 2022
@Rperry2174 Rperry2174 deleted the feature/fix-adhoc-scroll branch October 9, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Mostly JS code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants