Bruno Quaresma
aec64e0c73
chore: remove unused exports ( #18038 )
2025-05-26 16:17:21 -03:00
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
Michael Smith
c938bfeaab
fix: prevent invalid render output for build logs ( #17233 )
...
## Changes made
- Updated `Line` type in `LogLine.tsx` to support an ID value to prevent
key conflicts during React rendering. Also deleted the `LineWithID`
type, which became redundant after the change
- Updated the `Logs` component to use the ID to avoid render key
conflicts
- Updated any component calls to add the ID as a prop
## Notes
- This does prevent a bunch of extra `console.error` calls that React
will automatically spit out, so this should help us a good bit in the
future
- Beyond being a little annoying, there was a chance (that was tiny for
now) that React could accidentally mix up component instances during
re-renders. That wasn't my main goal with this PR (I just wanted less
noisy logs), but that should now be impossible
2025-04-02 17:32:49 -04:00
Kayla Washburn-Love
03f05e25f6
chore(site): make info gray ( #14356 )
2024-08-20 11:59:23 -06:00
Kayla Washburn-Love
95a7c0c4f0
chore: use tabs for prettier and biome ( #14283 )
2024-08-15 14:53:53 -06:00
Kayla Washburn-Love
d15f16fa2e
chore: replace eslint with biome ( #14263 )
2024-08-15 13:26:29 -06:00
Bruno Quaresma
f78b5c1cfe
chore(site): refactor logs and add stories ( #12553 )
2024-03-14 14:49:37 -03:00
Bruno Quaresma
b15bfa41c2
chore(site): move components close to where they are used ( #9552 )
...
* Move AppLink
* Move AuditLogRow
* Move UserDropdown
* Move BuildsTable
* Remove CodeBlock
* Move CreateUserForm
* Move DeploymentBanner
* Move ResetPassworDialog
* Move EditRolesButton
* Move EnterpriseSnackbar
* Move GitAuth
* Move LicenseBanner
* Move Logs
* Move MultiTextField
* Move Navbar
* Remove PasswordField
* Move RuntimeErrorState
* Remove Section
* Move SectionAction
* Move ServiceBanner
* Move SettingsAccountForm
* Move LicenseCard
* Move SettingsSecurityForm
* Move SignInForm
* Remove TabPanel and TabSidebar
* Move TemplateStats and TemplateVariableField
* Move TemplateEditor
* Move TerminalLink
* Move SSH Button
* Move many tooltips
* Move UsersTable
* Move VersionsTable
* Move VSCodeDesktopButton
* Remove WarningAlert
* Move Workspace
* Move WorkspaceActions
* Move WorkspaceBuildProgress
* Move WorkspaceDeletedBanner
* Move WorkspaceScheduleForm
* Move WorkspaceSection
* Move WorkspaceStats
* Fix imports
* Flat CreateUserForm
* Flat GitAuth
* Transform WorkspaceSection into ChartSection
* Flat AccountForm
* Flat ConfirmDeleteDialog
* Flat ResetPasswordDialog
* Flat BuildsTable
2023-09-06 18:06:08 +00:00
Bruno Quaresma
c83975cee0
fix(site): fix bottom border on build logs ( #8554 )
2023-07-17 11:57:24 -03:00
Bruno Quaresma
d896b74fa2
feat(site): display build logs on workspace transitioning statuses ( #8397 )
2023-07-10 17:47:39 -03:00
Bruno Quaresma
816c37dd0d
chore(site): Upgrade to MUI v5 ( #7437 )
2023-05-10 19:42:40 +00:00
Bruno Quaresma
d8eda97dbe
refactor(site): Redesign the agent row ( #7226 )
2023-04-20 18:37:10 +00:00
Bruno Quaresma
56bf9cfdbe
fix(site): Handle carriage on logs output ( #7172 )
2023-04-17 20:45:48 +00:00
Bruno Quaresma
17bb1a1ff1
chore(site): Upgrade storybook to 7.0.4 ( #7127 )
2023-04-13 21:36:20 +00:00
Kyle Carberry
e1149992d8
feat: support ansi colors in startup script logs ( #7037 )
...
This will help with beautiful output for devcontainers!
2023-04-06 12:39:09 -05:00
Bruno Quaresma
90e2bab078
feat(site): Display workspace build error + option to retry in debug mode ( #6903 )
2023-03-31 14:01:12 +00:00
Marcin Tojek
c9cbc63cd4
feat: Fine-tune logs presentation ( #6771 )
...
* Process debug mode logs
* Debug logs are grey
* Fix
2023-03-24 13:29:18 +01:00
Kyle Carberry and Asher
cb7375450b
feat: add startup script logs to the ui ( #6558 )
...
* Add startup script logs to the database
* Add coderd endpoints for startup script logs
* Push startup script logs from agent
* Pull startup script logs on frontend
* Rename queries
* Add constraint
* Start creating log sending loop
* Add log sending to the agent
* Add tests for streaming logs
* Shorten notify channel name
* Add FE
* Improve bulk log performance
* Finish UI display
* Fix startup log visibility
* Add warning for overflow
* Fix agent queue logs overflow
* Display staartup logs in a virtual DOM for performance
* Fix agent queue with loads of logs
* Fix authorize test
* Remove faulty test
* Fix startup and shutdown reporting error
* Fix gen
* Fix comments
* Periodically purge old database entries
* Add test fixture for migration
* Add Storybook
* Check if there are logs when displaying features
* Fix startup component overflow gap
* Fix startup log wrapping
---------
Co-authored-by: Asher <ash@coder.com >
2023-03-23 14:09:13 -05:00
Kyle Carberry
dd9e1f3d3f
feat: add template editor to the ui ( #5963 )
...
* Add initial editor
* Fix editor file being reset onChange
* Add updating the active build version
* Update nav height
* Add tabs
* Fix title
* Hide timestamps in build logs
* Add create file dialog
* Add validation for empty path
* Hide resources tab
* Fix label names
* Add rename and delete
* Improve UX
* Add padding to the editor
* Add dirty state
* Hide build logs until a build is made
* Add stories
* Add experiment to enable the template editor
* Fix linting errors
* Fix duplicate fields
* Fix theme type
2023-02-07 01:24:04 +00:00
Bruno Quaresma
c505e8b207
feat: Add create template from the UI ( #5427 )
2022-12-21 18:07:00 -03:00
Ammar Bandukwala
97dbd4dc5d
Implement Quotas v3 ( #5012 )
...
* provisioner/terraform: add cost to resource_metadata
* provisionerd/runner: use Options struct
* Complete provisionerd implementation
* Add quota_allowance to groups
* Combine Quota and RBAC licenses
* Add Opts to InTx
2022-11-14 17:57:33 +00:00
Bruno Quaresma
a7e5588a65
refactor: Refactor build page ( #4815 )
...
* refactor: Improve build page
* Add build translation
* Add build avatar better props
* Get build number from build
2022-11-01 11:49:32 -03:00
Ammar Bandukwala
85c679597c
site: reduce printWidth to 80 ( #4437 )
...
Resolves #4435
2022-10-10 10:33:35 -07:00
Kyle Carberry
4f8270d95b
fix: Exclude time column when selecting build log ( #3673 )
...
Closes #2962 .
2022-08-24 12:04:33 -05:00
Ammar Bandukwala and Kira Pilot
2ee6acb2ad
Upgrade frontend to React 18 ( #3353 )
...
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com >
2022-08-22 15:42:06 -05:00
Bruno Quaresma
c41261cf6e
fix: Remove unexpected break lines when copy logs ( #3492 )
2022-08-12 19:18:41 +00:00
Kira Pilot
dd55d4577d
chore: remove react imports ( #1867 )
...
reolves #1856
2022-05-31 10:01:37 -04:00
Bruno Quaresma
0b1a35f7b8
feat: Add workspace build logs page ( #1598 )
2022-05-19 15:34:42 -05:00