-
Notifications
You must be signed in to change notification settings - Fork 943
feat(site): add workspace timings #15068
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
5268b1e
Add base components for the chart
BrunoQuaresma 4d509f9
Improve spacing calc
BrunoQuaresma d48624b
Make bars clickable
BrunoQuaresma 62152ce
Refactor code to allow multiple views
BrunoQuaresma fd84ed9
Add basic view and breadcrumbs
BrunoQuaresma f7f09ff
Add resource filtering
BrunoQuaresma 2ffc75a
Find the right tick spacings
BrunoQuaresma a8372e1
Add colors to the bars
BrunoQuaresma f7c7488
Do not display Coder resource
BrunoQuaresma 0868185
Add legends
BrunoQuaresma 54d13c8
Handle empty search
BrunoQuaresma 714e37b
Improve coder resource filter and adjust bar hover
BrunoQuaresma a2dd126
Only scroll the chart
BrunoQuaresma 0b4747e
Add tooltip
BrunoQuaresma 49d3a72
Refactor code and improve legends
BrunoQuaresma 647635d
Adjust columns to fit the space
BrunoQuaresma 6c742aa
Customize scroll
BrunoQuaresma 9a8bb59
Add info tooltip
BrunoQuaresma 4139151
Fix fmt
BrunoQuaresma bcff9c6
Fix nblock gen
BrunoQuaresma 97b25d9
Fix key
BrunoQuaresma 6d5c344
Debug on chromatic
BrunoQuaresma c4bd74e
Another debug image
BrunoQuaresma 939ec9a
Try with useEffect
BrunoQuaresma 49c69e0
Fix labels alignment
BrunoQuaresma 61008a3
Increase border radius tooltip
BrunoQuaresma f969ef2
Add scroll mask
BrunoQuaresma f55033a
Merge branch 'main' of https://github.com/coder/coder into bq/workspa…
BrunoQuaresma 00616d3
Include agent scripts
BrunoQuaresma 8cc7eef
Add failed icon
BrunoQuaresma 6b95860
Use use effect
BrunoQuaresma 5d08ff0
Apply @chifro feedback
BrunoQuaresma ea3676a
Add legends to script chart
BrunoQuaresma 1c74c96
Fix fmt
BrunoQuaresma 57df89b
Apply Christin suggestions
BrunoQuaresma 48a61d8
Move style constants to css variables
BrunoQuaresma 0726f39
Fix and rename bar blocks
BrunoQuaresma a4752c3
Remove unecessary cursor
BrunoQuaresma b481edd
Add tooltip for scripts
BrunoQuaresma 90b54b4
Fix fmt
BrunoQuaresma 266d82d
Add provisioning time collapse
BrunoQuaresma a4a1ba8
Merge branch 'main' of https://github.com/coder/coder into bq/workspa…
BrunoQuaresma 4eb24f7
Add timings to the workspace UI
BrunoQuaresma 79f370c
Fix fmt
BrunoQuaresma a1ee002
Merge branch 'main' of https://github.com/coder/coder into bq/workspa…
BrunoQuaresma 75ea1e5
Fix code verbiage
BrunoQuaresma edb885c
Fetch timings from build and not workspace
BrunoQuaresma f8bb22c
Don't could coder resources for blocks
BrunoQuaresma 1ff245c
Fix timings getting fetched before build getting done
BrunoQuaresma 541ccba
Fix comment spacing
BrunoQuaresma b3f0351
Revert scales on def
BrunoQuaresma 65ca087
Fix columnd calcl
BrunoQuaresma f288169
Fix fmt
BrunoQuaresma 08874a3
Add extra tests
BrunoQuaresma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Refactor code and improve legends
- Loading branch information
commit 49d3a72af572962895c9618cd20370015a6dd6d4
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I kept thinking the gray box was a checkbox 😆
I wonder if we could change the shape or default color a bit, but then again I might be the only one dumb enough not to realize it was the legend color.
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.
lol, @chrifro wdyt?
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.
You are referring to the "state refresh" color right?
We could totally change that color. Either to orange if we also want to draw more attention to the "state refresh"
orange-bg: #431407
orange-stroke: #FDBA74 (we use the same color already on different views)
or if we want to keep it more subtle to grey
grey-bg: #18181B
grey-stroke: #71717A
something to keep in mind: the colors will likely slightly change as part of #14780. Then the difference between the newly introduced grey colors and the bg will be more obvious (see screenshot).

Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry for the late reply, yes that is what I meant! When there are two or more, it is pretty obvious they are a legend, but with just one I thought it was supposed to be a checkbox, in particular the dark or grey ones. This might just be me being dumb though.