Jaayden Halko
0697308a0b
fix: correctly display loading spinner ( #16167 )
...
Update the usages of the new spinner component to correctly set the
loading prop
2025-01-17 09:14:23 -05:00
Bruno Quaresma
cb6facb53a
refactor: use the new button component on forms and dialogs ( #16050 )
...
This is a significant PR that will impact many parts of the UI, so I’d
like to ask you, @jaaydenh, for a very thorough review of the Storybook
stories on Chromatic. I know it’s a bit of a hassle with around 180
stories affected, but it’s all for a good cause 💪
Main changes:
- Update the `Button` component to match the [new buttons
design](https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=3-1756&p=f&m=dev ).
- Update forms and dialogs to use the new `Button` component.
Related to https://github.com/coder/coder/issues/14978
2025-01-07 14:28:58 -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
Eric Paulsen
104898ae87
fix: docs reference in create headless user flow ( #15826 )
...
when creating a headless user, the linked documentation sent users to
the `Disable password auth` page, instead of the headless user
documentation. this PR corrects the typescript.
2024-12-11 11:38:03 +00:00
Vincent Vielle
4fe2c5f09a
fix: improve password validation flow ( #15132 )
...
Refers to #14984
Currently, password validation is done backend side and is not explicit
enough so it can be painful to create first users.
We'd like to make this validation easier - but also duplicate it
frontend side to make it smoother.
Flows involved :
- First user set password
- New user set password
- Change password
---------
Co-authored-by: BrunoQuaresma <bruno_nonato_quaresma@hotmail.com >
2024-11-05 17:22:32 +01:00
Steven Masley
c8eacc6df7
chore!: allow CreateUser to accept multiple organizations ( #14383 )
...
* chore: allow CreateUser to accept multiple organizations
In a multi-org deployment, it makes more sense to allow for multiple
org memberships to be assigned at create. The legacy param will still
be honored.
* Handle sdk deprecation better by maintaining cli functions
2024-08-23 21:23:51 +00: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
Kayla Washburn-Love
efbd6257e4
chore: remove global organization id state ( #14135 )
2024-08-05 10:33:58 -06:00
Kayla Washburn-Love
615bb94ec4
feat(site): embed users page in management settings ( #14006 )
2024-07-25 10:50:07 -06:00
Muhammad Atif Ali
0787de88a9
chore: update documentation links to the new format ( #13797 )
2024-07-10 21:31:37 +03:00
Cian Johnston
8a3592582b
feat: add "Full Name" field to user creation ( #13659 )
...
Adds the ability to specify "Full Name" (a.k.a. Name) when
creating users either via CLI or UI.
2024-06-26 09:00:42 +01:00
Kayla Washburn-Love
a8a0be98b8
chore: expose all organization ids from AuthContext ( #13268 )
2024-05-14 10:48:15 -06:00
Bruno Quaresma
41b8ff3e81
chore(site): add e2e to test add and remove user ( #12851 )
2024-04-04 09:21:03 -03:00
Bruno Quaresma
489b0ec497
chore(site): refactor useAuth and related hooks ( #12567 )
...
Close https://github.com/coder/coder/issues/12487
2024-03-13 13:24:18 -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
f74ef142d0
refactor: reorganize auth components and hooks ( #11717 )
2024-01-22 10:43:32 -07:00
Kayla Washburn-Love
05eac64be4
feat: add a character counter for fields with length limits ( #11558 )
...
- refactors`getFormHelpers` to accept an options object
- adds a `maxLength` option which will display a message and character counter for fields with length limits
- set `maxLength` option for template description fields
2024-01-11 12:15:43 -07:00
Kayla Washburn
185400db11
refactor: remove usage of <Box> and sx ( #10702 )
2023-12-04 12:09:04 -07:00
Kayla Washburn
1cdc62b332
chore: reorganize storybook ( #10144 )
2023-10-09 13:26:38 -06:00
Kayla Washburn
ae113179b3
chore: alias react-query ( #10118 )
2023-10-06 17:15:03 -06:00
Kayla Washburn
246dae0e1a
chore: use emotion for styling (pt. 3) ( #10026 )
2023-10-05 10:49:44 -06:00
Bruno Quaresma
42e25740eb
chore(site): remove users and pagination services ( #9932 )
2023-10-02 15:10:51 -03:00
Bruno Quaresma
f6ee08d100
chore(site): replace create user machine by react-query ( #9810 )
2023-09-22 13:28:56 -03:00
Bruno Quaresma
554ddb11cd
chore(site): refactor stories and test from page components ( #9603 )
...
* Refactor AuditPage
* Refactor CliAuthPageView stories
* Refactor CreateTemplateForm stories
* Refactor CreateUserPage test
* Refactor CreateWorkspacePage tests
* Fix stories name
* Refactor AppereancePageView stories
* Refactor GitAuthSettingsPageView stories
* Refactor NetworkSettingsPageView stories
* Refactor SecuritySettingsPageView stories
* Refactor UserAuthSettingsPageView stories
* Refactor GroupsPage stories
* Refactor LoginPage tests
* Refactor SetupPage stories
* Refactor StarterTemplatePageView stories
* Refactor StarterTemplatesPage tests
* Refactor TemplatePage tests
* RefactorTemplateSettingsPage tests
* Refactor TemplatesPage tests
* Flat TemplateVersionEditorPage
* Refactor TemplateVersionPage stories
* Refactor UserSettingsPage stories
* Refactor UsersPage stories
* Simplify IndexPage
* Refactor WorkspaceSettingsPage stories
* Refactor WorkspacePage stories
* Refactor Conditionals stories
* Fix typo
* Fix imports
* Fix ChooseOne story
* Fix UserAuthSettingsPageView stories
2023-09-08 15:14:13 -03:00
Kayla Washburn
988c9af015
chore: format code with semicolons when using prettier ( #9555 )
2023-09-06 12:59:26 -06: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