Bruno Quaresma
564b387262
feat: add provisioner jobs into the UI ( #16867 )
...
- Add provisioner jobs back, but as a sub page of the organization
settings
- Add missing storybook tests to the components
Related to https://github.com/coder/coder/issues/15192 .
2025-03-14 08:22:00 -03:00
Cian Johnston and BrunoQuaresma
e9f882220e
feat(site): allow opening web terminal to container ( #16797 )
...
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2025-03-04 10:22:03 -03:00
Marcin Tojek
930816fd0e
fix: locate Terraform entrypoint file ( #16753 )
...
Fixes: https://github.com/coder/coder/issues/16360
2025-02-28 15:22:36 +01:00
Marcin Tojek
f670559a5d
fix: change validation error for workspace name ( #16643 )
...
Fixes: https://github.com/coder/coder/issues/14824
2025-02-20 14:34:31 +01:00
Marcin Tojek
22fa71d15c
fix: open link with search params ( #16617 )
...
Fixes: https://github.com/coder/coder/issues/16501
2025-02-19 12:55:55 +01:00
Bruno Quaresma
0f3858ecc9
feat: display provisioner jobs and daemons for an organization ( #16532 )
...
**Jobs:**
<img width="1624" alt="Screenshot 2025-02-13 at 09 26 31"
src="https://github.com/user-attachments/assets/dc1f24de-48e8-4f91-b128-8e4f3b109328 "
/>
[Figma
Link](https://www.figma.com/design/JYW69pbgOMr21fCMiQsPXg/Provisioners?node-id=10-2005&m=dev )
**Daemons:**
<img width="1624" alt="Screenshot 2025-02-13 at 09 26 53"
src="https://github.com/user-attachments/assets/429d77ee-2b4f-45d1-924f-796145901fd8 "
/>
[Figma
Link](https://www.figma.com/design/JYW69pbgOMr21fCMiQsPXg/Provisioners?node-id=26-4038&m=dev )
Close https://github.com/coder/coder/issues/15192 and
https://github.com/coder/coder/issues/15193
2025-02-18 11:27:51 -03:00
Steven Masley
077e594856
chore: switch to guts for typescript types generation ( #15801 )
...
switch to guts for typescript type generation
omitempty vs null must now be explicit
2024-12-11 14:39:21 -06:00
Jaayden Halko
6c9ccca687
feat: implement CRUD UI for IDP organization sync settings ( #15503 )
...
resolves coder/internal#205
The goal is to create a new page located in deployment settings to allow
users to create and update organization IDP sync settings.
- [x] Use shadcn button for export policy button
- [x] Disable save button if form is not dirty
- [x] Disable "Add IdP organization" button if idp org name or coder
orgs are empty
- [x] Add footnote label below organization sync field input
- [x] Add button to Delete rows in mapping table
- [x] Create Multi-select combox box component to select coder org to
map to idp org
- [x] Storybook tests
- [x] Tooltip for assign default org switch
- [x] Display success/error toast on form submission
<img width="1181" alt="Screenshot 2024-12-02 at 20 33 07"
src="https://github.com/user-attachments/assets/86877d3b-82ec-4ed2-b239-bf8497352a9e ">
2024-12-04 14:23:18 -05:00
Ethan
abb3df7e35
fix(site): avoid constructing invalid apps url ( #15711 )
...
In Firefox, parsing a URL containing a `*` returns an error:
```
new URL("https://*--apps.sydney.fly.dev.coder.com ")
```
```
Uncaught TypeError: URL constructor: https://*--apps.sydney.fly.dev.coder.com is not a valid URL.
<anonymous> debugger eval code:1
```
In Chrome and Node, this same URL does not produce an error.
This causes a workspace dashboard with apps to fail to load on Firefox.

2024-12-02 08:45:38 +00:00
Jon Ayers
ffb0ebb5b6
fix: use url-parse for url construction ( #15670 )
...
This fixes some CodeQL-flagged issues. They're not real issues but the
refactor is small and it'll keep the analysis tools quiet.
2024-11-27 23:52:11 +02:00
Jaayden Halko
d4131badb6
feat: implement Premium features page using shadcn/ui and Tailwind ( #15094 )
...
resolves coder/internal#176
This is a proof of concept to showcase the use of Tailwind + shadcn/ui.
The goal here was to implement a lower complexity page to reduce the
initial risk and highlight the specific global changes needed.
Changes:
- Create a separate version of Premium features content for Enterprise
and OSS users
- Use shadcn/ui button component and setup styling and variants to match
the buttons defined in the Coder Kit Figma.
https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=3-1756
- Setup theming using CSS variables and custom Tailwind colors by using
the dark class name on the root element.
- CSS variable design token naming and colors defined in Figma.
https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=1-2
<img width="1199" alt="Screenshot 2024-11-01 at 12 46 03 PM"
src="https://github.com/user-attachments/assets/a251450f-8447-405a-9cc4-9f6aad9cd19f ">
<img width="1197" alt="Screenshot 2024-11-01 at 12 45 36 PM"
src="https://github.com/user-attachments/assets/e78a5a40-cbdf-4d85-9ffe-873505800fcc ">
2024-11-06 12:53:00 -05:00
Michael Smith
680e28bdce
fix: display workspace avatars correctly when URLs fail to load ( #14814 )
...
## Changes made
- Updated custom avatar components to favor background color by default
- Updated `AvatarData` component to let you manually specify the source
of the text used when images fail to load, and updated the orgs
breadcrumb segment to use it
- Added some logic for handling emoji images better
2024-10-02 14:46:25 +00:00
Justin Fowler
85cc695dc6
fix(site): strip version build info from docs link URLs ( #14601 )
2024-09-10 10:15:23 -06:00
Kayla Washburn-Love
4672849d05
chore: clean up usage of Object.keys ( #14484 )
2024-08-29 17:21:29 -06: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
Benjamin Peinhardt and Kayla Washburn-Love
d6c4d47229
fix: add version information to default docs links ( #14205 )
...
add version information to default docs links
---------
Co-authored-by: Kayla Washburn-Love <mckayla@hey.com >
2024-08-08 20:20:31 -05:00
Kayla Washburn-Love
7125b37545
feat(site): allow selecting an organization when creating a template ( #14061 )
2024-08-01 18:04:21 -06:00
Kira Pilot
4eb67ad98a
Revert "feat: implement multi-org template gallery ( #13784 )" ( #14013 )
...
This reverts commit 554c4ab1eb .
2024-07-25 13:09:04 -04:00
Jaayden Halko
554c4ab1eb
feat: implement multi-org template gallery ( #13784 )
...
* feat: initial changes for multi-org templates page
* feat: add TemplateCard component
* feat: add component stories
* chore: update template query naming
* fix: fix formatting
* feat: template card interaction and navigation
* fix: copy updates
* chore: update TemplateFilter type to include FilterQuery
* chore: update typesGenerated.ts
* feat: update template filter api logic
* fix: fix format
* fix: get activeOrg
* fix: add format annotation
* chore: use organization display name
* feat: client side org filtering
* fix: use org display name
* fix: add ExactName
* feat: show orgs filter only if more than 1 org
* chore: updates for PR review
* fix: fix format
* chore: add story for multi org
* fix: aggregate templates by organization id
* fix: fix format
* fix: check org count
* fix: update ExactName type
2024-07-19 10:33:08 -04:00
Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00
Kayla Washburn-Love
b1ec4630f2
chore: update react dependencies ( #13749 )
2024-07-01 15:55:27 -06:00
Kyle Carberry
0793a4b35b
feat: add cross-origin reporting for telemetry in the dashboard ( #13612 )
...
* feat: add cross-origin reporting for telemetry in the dashboard
* Respect the telemetry flag
* Fix embedded metadata
* Fix compilation error
* Fix linting
2024-06-20 15:19:45 -04:00
Kayla Washburn-Love
8c1bd32c33
feat(site): add basic organization management ui ( #13288 )
2024-06-17 11:02:39 -06:00
Kayla Washburn-Love
0ea89a3d41
chore: add cleanup callbacks to some useEffect calls ( #13444 )
2024-06-04 12:18:03 -06:00
Bruno Quaresma
4af0f093ee
fix(site): fix floating number on duration fields ( #13209 )
2024-05-17 15:26:00 -03:00
Michael Smith
f13b1c9af6
refactor: improve test isolation for Axios API logic ( #13125 )
...
* wip: commit progress on code split-up
* wip: commit more progress
* wip: finish initial version of class implementation
* chore: update all import paths to go through client instance
* fix: remove temp comments
* refactor: smoooooooosh the API
* refactor: update import setup for tests
2024-05-12 19:05:22 +00:00
Michael Smith
7873c961e3
fix: ensure signing out cannot cause any runtime render errors ( #13137 )
...
* fix: remove some of the jank around our core App component
* refactor: scope navigation logic more aggressively
* refactor: add explicit return type to useAuthenticated
* refactor: clean up ProxyContext code
* wip: add code for consolidating the HTML metadata
* refactor: clean up hook logic
* refactor: rename useHtmlMetadata to useEmbeddedMetadata
* fix: correct names that weren't updated
* fix: update type-safety of useEmbeddedMetadata further
* wip: switch codebase to use metadata hook
* refactor: simplify design of metadata hook
* fix: update stray type mismatches
* fix: more type fixing
* fix: resolve illegal invocation error
* fix: get metadata issue resolved
* fix: update comments
* chore: add unit tests for MetadataManager
* fix: beef up tests
* fix: update typo in tests
2024-05-03 10:40:06 -04:00
Kayla Washburn-Love
215dd7b152
feat: show version on login page ( #13033 )
2024-04-23 11:18:56 -06:00
Kyle Carberry
d3f3ace220
chore: reduce dashboard requests from seeded data ( #13034 )
...
* chore: reduce requests the dashboard makes from seeded data
We already inject all of this content in `index.html`.
There was also a bug with displaying a loading indicator when
the workspace proxies endpoint 404s.
* Fix first user fetch
* Add util
* Add cached query for entitlements and experiments
* Fix authmethods unnecessary request
* Fix unnecessary region request
* Fix fmt
* Debug
* Fix test
2024-04-22 16:07:56 -04:00
Garrett Delfosse
3ab5a51ec2
feat: add listening ports protocol selector ( #12915 )
2024-04-15 15:00:24 -04:00
Garrett Delfosse
acaa254099
feat: link with protocol on shared ports ( #12908 )
2024-04-10 09:29:24 -04:00
Bruno Quaresma
5d82a78d4c
fix(site): fix and improve pending state on template editor UI ( #12766 )
2024-03-27 12:42:07 -03:00
Ammar Bandukwala
496232446d
chore(cli): replace clibase with external coder/serpent ( #12252 )
2024-03-15 11:24:38 -05:00
Bruno Quaresma
e45d511f28
chore(site): add missing stories for templates ( #12537 )
2024-03-12 17:54:37 -03:00
Kayla Washburn-Love
0fe109d517
chore: sort imports in our typescript code ( #12417 )
2024-03-05 16:31:22 -07:00
Kayla Washburn-Love
b24ad1bbf0
refactor: show parameter suggestions from user history below field ( #12340 )
2024-02-28 15:29:48 -07:00
Kayla Washburn-Love
b2413a593c
chore: reimplement activity status and autostop improvements ( #12175 )
2024-02-27 11:06:26 -07:00
Marcin Tojek
57bf997369
feat: support custom validation errors for number-typed parameters ( #12224 )
2024-02-20 16:32:03 +01:00
Cian Johnston
d6b025db14
Revert "feat: add activity status and autostop reason to workspace overview ( #11987 )" ( #12144 )
...
Related to https://github.com/coder/coder/pull/11987
This reverts commit d37b131 .
2024-02-14 17:14:49 +00:00
Kayla Washburn-Love
d37b131426
feat: add activity status and autostop reason to workspace overview ( #11987 )
2024-02-13 10:50:17 -07:00
Bruno Quaresma
4b1bac31b6
feat(site): allow any file extension on template editor ( #12000 )
2024-02-07 13:24:28 -03:00
Kayla Washburn-Love
c6c71de353
fix: change build status colors ( #11985 )
2024-02-01 18:02:40 -07:00
Kayla Washburn-Love
e070a55142
refactor: stabilize theme.roles ( #11969 )
2024-02-01 09:53:26 -07:00
Ammar Bandukwala
adbb025e74
feat: add user-level parameter autofill ( #11731 )
...
This PR solves #10478 by auto-filling previously used template values in create and update workspace flows.
I decided against explicit user values in settings for these reasons:
* Autofill is far easier to implement
* Users benefit from autofill _by default_ — we don't need to teach them new concepts
* If we decide that autofill creates more harm than good, we can remove it without breaking compatibility
2024-01-30 16:02:21 -06:00
Kayla Washburn-Love
c85fc3c8fe
refactor: add more fill variants to the experimental theme ( #11827 )
2024-01-26 10:28:59 -07:00
Kayla Washburn-Love
73a6899f2c
chore: miscellaneous cleanup ( #11785 )
2024-01-25 14:22:52 -07:00
Marcin Tojek
560e8cc1ae
fix: check update permission to start workspace ( #11798 )
2024-01-24 17:18:03 +01:00
Bruno Quaresma
156aaba335
feat(site): show version files diff based on active version ( #11686 )
2024-01-18 16:08:17 -03:00