brettkolodny
f108f9d71f
chore: setup knip and remove unused exports, files, and dependencies ( #17608 )
...
Closes [coder/interal#600 ](https://github.com/coder/internal/issues/600 )
2025-04-30 15:08:25 -04:00
Bruno Quaresma
205076e6e7
refactor: change how timings are formatted ( #17623 )
2025-04-30 13:58:12 -03:00
Bruno Quaresma
1da27a1ebc
fix: handle missed actions in workspace timings ( #17593 )
...
Fix https://github.com/coder/coder/issues/16409
Since the provisioner timings action is not strongly typed, but it is
typed as a generic string, and we are not using
`noUncheckedIndexedAccess`, we can miss some of the actions returned
from the API, causing type errors. To avoid that, I changed the code to
be extra safe by adding `undefined` into the return type.
2025-04-28 15:20:07 -03:00
Bruno Quaresma
88589ef32f
fix: fix build timeline scale for longer builds ( #17514 )
...
Fix https://github.com/coder/coder/issues/15374
2025-04-23 11:34:08 -03:00
Michael Smith
a03a54dd14
fix(site): resolve all Array.prototype.toSorted and Array.prototype.sort bugs ( #17307 )
...
Closes https://github.com/coder/coder/issues/16759
## Changes made
- Replaced all instances of `Array.prototype.toSorted` with
`Array.prototype.sort` to provide better support for older browsers
- Updated all `Array.prototype.sort` calls where necessary to remove
risks of mutation render bugs
- Refactored some code (moved things around, added comments) to make it
more clear that certain `.sort` calls are harmless and don't have any
risks
2025-04-09 15:17:02 -04:00
ケイラ
8de3cd6400
chore: tweak biome config ( #15864 )
2024-12-17 12:49:34 -07:00
Bruno Quaresma
ebfc133641
fix: display build timings when all timings are loaded ( #15728 )
...
- [Refetch timings until script timings are
present](https://github.com/coder/coder/commit/2181bec72b5334e5e15dc575d2234860be02920b )
- [Stay on loading state when agent script timings are
empty](https://github.com/coder/coder/commit/b16fad165c8733c60150b0dfce5df73ab2669e36 )
Fix https://github.com/coder/coder/issues/15273
2024-12-03 13:28:32 -03:00
Bruno Quaresma
f3e1dd8d1c
fix: deduplicate agent script timings ( #15631 )
...
Related to https://github.com/coder/coder/issues/15413
2024-11-22 14:29:31 -03:00
Bruno Quaresma and Danny Kopping
e232aee011
feat(site): add agent connection timings ( #15276 )
...
Local preview:
<img width="1260" alt="Screenshot 2024-10-29 at 16 16 01"
src="https://github.com/user-attachments/assets/10fdb20d-1f2a-4b0a-a8a1-171050ee620d ">
Close https://github.com/coder/internal/issues/116
---------
Co-authored-by: Danny Kopping <danny@coder.com >
2024-11-01 13:29:00 -03:00
Bruno Quaresma
3c7808c575
fix(site): update workspace timings to use theme colors ( #15269 )
...
Fix https://github.com/coder/coder/issues/15266
After fix:
<img width="1210" alt="Screenshot 2024-10-29 at 09 37 02"
src="https://github.com/user-attachments/assets/35ff0361-6323-4e26-b4f2-05da6f1651c6 ">
<img width="1200" alt="Screenshot 2024-10-29 at 09 36 49"
src="https://github.com/user-attachments/assets/c2e55364-9f21-4bd1-bda6-aedf106a9742 ">
<img width="1202" alt="Screenshot 2024-10-29 at 09 36 40"
src="https://github.com/user-attachments/assets/2d0222d9-cf25-4ef9-8d74-f426fbae7bec ">
2024-10-29 13:02:24 -03:00
Bruno Quaresma
4cad6f75a9
fix(site): fix workspace timings verbiage ( #15268 )
2024-10-29 09:05:41 -03:00
Bruno Quaresma
d89ecebb4e
feat(site): add workspace timings ( #15068 )
...
Demo:
https://github.com/user-attachments/assets/046a7224-48e4-4e66-a2ff-a8e1252ad18b
2024-10-23 10:09:37 -03:00