Presley Pizzo
67941b4f80
chore: refactor audit page to use window function for count ( #5133 )
...
* Move count query to window function
* Unpack count and update types
* Remove count endpoint
* Update tests, wip
* Fix tests
* Update frontend, wip
* Remove space
* Fix frontend test
* Don't hang on error
* Handle no results
* Don't omit count
* Fix frontend tests
2022-11-21 11:30:41 -05:00
Bruno Quaresma
7a369e0a30
refactor: Minor build bar UI improvement ( #5132 )
2022-11-21 10:04:24 -05:00
Bruno Quaresma
5fa3fdeca0
refactor: Improve empty views ( #5134 )
2022-11-19 01:46:11 +00:00
Bruno Quaresma
a477d901d6
refactor: Fix up to date color ( #5131 )
2022-11-19 01:18:40 +00:00
Bruno Quaresma
5866ca48a9
refactor: Reemove mono font from empty title ( #5125 )
2022-11-18 10:09:13 -03:00
Ammar Bandukwala
acf34d4295
site: support high build time variation in progress bar ( #4941 )
2022-11-17 16:56:56 +00:00
Marcin Tojek
32927b1a24
feat: show template.display_name on Workspace pages ( #5082 )
...
* feat: expose template.display_name via Workspaces endpoint
* Fix: MockWorkspace
* UI: Workspace stats and row
* Show template.display_name on pages
* Fix: address PR comments
* Add helper function: getDisplayWorkspaceTemplateName
2022-11-16 15:50:32 +01:00
Mathias Fredriksson
c1ecc91aab
feat: Add fallback troubleshooting URL for coder agents ( #5005 )
2022-11-16 12:53:02 +02:00
Bruno Quaresma
2a46702fc5
fix: Syntax highlighting with long lines and untar content with emojis ( #5098 )
2022-11-15 20:09:54 +00:00
Bruno Quaresma
f262fb4811
feat: Add template version page ( #5071 )
2022-11-15 16:24:13 +00:00
Marcin Tojek
49b340e039
Show template.display_name in the site UI ( #5069 )
...
* Show display_name field in the template settings
* Show template.display_name on pages: Templates, CreateWorkspace
* Fix: template.display_name pattern
* make fmt/prettier
* Fix tests
* Fix: make fmt/prettier
* Fix: merge
* Fix: autoFocus
* i18n: display_name
2022-11-14 21:11:50 +01: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
Kira Pilot
3fb7892c07
fix: template permissions page never loads ( #5014 )
...
* removed redundant permissions loader
* fixed tests
2022-11-14 12:33:17 -05:00
Kira Pilot
1c9677d37a
Template delete button/kira pilot ( #4992 )
...
* removed button
* ripped out delete dialog
* fixed tests
* added error message back
* redirecting after success
2022-11-10 10:41:36 -05:00
Bruno Quaresma
d225f2c6ba
feat: Display warning on agent connection timeout ( #4983 )
2022-11-09 20:40:34 +00:00
Presley Pizzo
fa844d0878
Feat: hide pagination widget when not needed ( #4957 )
...
* Hide pagination widget when not needed. Don't merge until count is in.
* Format
* Refactor
* Remove story
* Fix bug
* Format
2022-11-08 13:29:32 -05:00
Presley Pizzo
87b3fe1afb
feat: add "on this page" to empty table message when you're past page 1 ( #4886 )
...
* Use empty page message on workspaces page
* Add prop for story
* AuditPage
* UsersPage
* Lint and format
* Fix tests
* Remove log
* Try to fix story
* Fix the right story
2022-11-08 11:08:51 -05:00
Bruno Quaresma
e7bd04999f
fix: Optimistically update the UI when a workspace action is triggered ( #4929 )
2022-11-08 09:35:19 -05:00
Bruno Quaresma
f6130e25b2
refactor: Disable auto-complete for the new user form ( #4933 )
2022-11-08 13:10:25 +00:00
Bruno Quaresma
2af698c43d
refactor: Remove workspace schedule banner ( #4932 )
2022-11-08 10:05:47 -03:00
Bruno Quaresma
f15854c179
fix: Fix long audit log string ( #4931 )
2022-11-07 14:39:37 -03:00
Kyle Carberry
30281852d6
feat: Add buffering to provisioner job logs ( #4918 )
...
* feat: Add bufferring to provisioner job logs
This should improve overall build performance, and especially under load.
It removes the old `id` column on the `provisioner_job_logs` table
and replaces it with an auto-incrementing big integer to preserve order.
Funny enough, we never had to care about order before because inserts
would at minimum be 1ms different. Now they aren't, so the order needs
to be preserved.
* Fix log bufferring
* Fix frontend log streaming
* Fix JS test
2022-11-06 20:50:34 -06:00
Bruno Quaresma
ab78f9c2c5
refactor: Improve long rows in audit log ( #4904 )
2022-11-04 15:24:49 -03:00
Bruno Quaresma
f76e7b1dbd
refactor: Refactor create workspace page ( #4862 )
2022-11-02 20:44:41 +00:00
Bruno Quaresma
86fc3e09a3
refactor: Better colocate suspense ( #4863 )
2022-11-02 13:17:14 -07: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
Joe Previte
34268e6dee
refactor: remove eslint-disable ( #4817 )
2022-10-31 22:04:51 +00:00
Bruno Quaresma
97bcd441f3
refactor: Improve agent loading state ( #4814 )
2022-10-31 17:35:05 -03:00
Bruno Quaresma
46e0953876
refactor: Show template versions as timeline ( #4800 )
2022-10-31 16:38:07 +00:00
Bruno Quaresma
cc655672eb
refactor: Fix list styles in markdown ( #4802 )
2022-10-31 11:56:26 -04:00
Joe Previte
ffe461ae58
chore(site): enable eslint-plugin-eslint-comments ( #4799 )
...
* chore(site): enable eslint-plugin-eslint-comments
* chore: add descriptions to eslint-disable comments
* chore: update eslint-disable comments in main.go
2022-10-28 17:46:51 -03:00
Presley Pizzo
506a81e3dc
feat: paginating Users page ( #4792 )
...
* Extract PageButton
* Fix import
* Extract utils
* Format
* Separate pagination - wip
* Spawn pagination machine - buggy filter
* Make labels optional
* Layout, fix send reset bug
* Format
* Fix refresh data bug
* Remove debugging line
* Fix url updates
setSearchParams overwrites all search params, rather than merging
* Update Audit Page
* Simplify pagination widget
* Fix workspaces story
* Fix Audit story
* Fix pagination story and pagebutton highlight
* Fix pagination tests
* Add to utils tests
* Format
* Add tests
* Start adding pagination - type error
* Tweak machine
* Refactor paginated api calls
* Show pagination when count is undefined
* fix stories
* Fix api helper
* Add test
* Format
* Make widget show all the time to avoid blink
2022-10-28 15:43:10 -04:00
Bruno Quaresma
708abd37cf
refactor: Improve template README section ( #4794 )
...
* refactor: Improve template README section
* Fix version
* Add darcula
* Fix typos
2022-10-28 19:40:41 +00:00
Bruno Quaresma
6add465365
fix: display None when there are no apps ( #4797 )
2022-10-28 19:37:45 +00:00
Bruno Quaresma
d2fac850cb
refactor: Align values when there are more than one row in agent preview ( #4795 )
2022-10-28 19:09:05 +00:00
Dean Sheather
10df2fd4fb
feat: add new required slug property to coder_app, use in URLs ( #4573 )
2022-10-28 17:41:31 +00:00
Bruno Quaresma
ce2a7d49b1
refactor: Refactor template resources ( #4789 )
2022-10-27 17:27:15 -03:00
Kira Pilot
8282e46813
chore: add audit log tests ( #4764 )
...
* added test for stopping a workspace build
* formatted sfriendly string; added tests
* logging unmarshal error in auditLogDescription
* prettier
* got rid of extra workspace word
* PR feedback
* fixed mistake; wrote tests in penance
* fix be
2022-10-27 15:57:41 -04:00
Bruno Quaresma
3e15ee3ba0
fix: Fix audit log collapse ( #4781 )
2022-10-27 01:02:52 +00:00
Bruno Quaresma
d88b824328
refactor: Inline workspace badge ( #4774 )
2022-10-26 12:30:02 -07:00
Bruno Quaresma
00495568e4
refactor: Make the audit log looks like a timeline ( #4765 )
2022-10-26 19:20:26 +00:00
Presley Pizzo
b0d5e0613e
chore: refactor pagination ( #4753 )
...
* Extract PageButton
* Fix import
* Extract utils
* Format
* Separate pagination - wip
* Spawn pagination machine - buggy filter
* Make labels optional
* Layout, fix send reset bug
* Format
* Fix refresh data bug
* Remove debugging line
* Fix url updates
setSearchParams overwrites all search params, rather than merging
* Update Audit Page
* Simplify pagination widget
* Fix workspaces story
* Fix Audit story
* Fix pagination story and pagebutton highlight
* Fix pagination tests
* Add to utils tests
* Format
* Add tests
2022-10-26 13:08:22 -04:00
Bruno Quaresma
b217f2c210
refactor: Refactor resources colors and avatars ( #4751 )
2022-10-25 16:41:38 -03:00
Kira Pilot
3c5e292c5a
feat: add workspace build start/stop to audit log ( #4744 )
...
* adding workspace_build resource
* added migration
* fix keyword
* got rid oof diffs for workspace builds
* adding workspace name to string
* renamed migrations
* fixed lint
* pass throough AdditionalFields and fix tests
* no need to pass through each handler
* cleaned up migrations
* generated types; fixed missing cases
* logging error
2022-10-25 15:34:48 -04:00
Bruno Quaresma
9070fcd5e7
refactor: Refactor page header spacing and stats ( #4750 )
2022-10-25 14:51:58 -03:00
Bruno Quaresma
2ffefc3bbd
fix: Don't show pagination during workspaces load ( #4743 )
2022-10-25 17:41:18 +00:00
Ben Potter
df89e2c3b0
chore: Move deployment UI and HA out of experimental ( #4722 )
...
* Revert "chore: Move deployment UI and HA into experimental (#4595 )"
This reverts commit 18c4368571 .
* restore flag in coderdtest
2022-10-25 14:33:37 +00:00
Kyle Carberry
7d04bf2abe
Revert "adding workspace_build resource ( #4636 )" ( #4742 )
...
This reverts commit 145faf4400 .
2022-10-25 08:41:00 -05:00
Kira Pilot
145faf4400
adding workspace_build resource ( #4636 )
...
* adding workspace_build resource
* added migration
* added migration for audit_actions
* fix keyword
* got rid oof diffs for workspace builds
* adding workspace name to string
* renamed migrations
* fixed lint
* pass throough AdditionalFields and fix tests
* no need to pass through each handler
* cleaned up migrations
2022-10-25 09:27:50 -04:00
Bruno Quaresma
3e08bb4842
feat: Redesign build logs ( #4734 )
2022-10-25 00:44:13 -03:00