Commit Graph
2734 Commits
Author SHA1 Message Date
Lisa Kim ad4575553e Web: create list db_server endpoint (#53780)
* Web: add list db_server endpoint

* Web: process list db_server responses
2025-04-09 21:58:12 +00:00
Maxim 944f6825da [web] Add hooks for ResizeObserver / element size (#52616)
* feat: Add `useResizeObserver` & `useElementSize` hooks

* test: Add tests for `useResizeObserver`/`useElementSize` hooks
2025-04-08 17:58:27 +00:00
Lisa Kim d528034981 Web: move info guide related components into the shared directory (#53679)
* Move info guide context provider to shared directory

* Move sliding panel/info guide related components to shared directory
2025-04-08 16:55:24 +00:00
Ryan Clark c39f004306 Update users page to use TanStack query (#53470)
* Update some methods in the user page to use TanStack query

* Update Storybook to allow non-localhost domains

* Update to match new hook name, fix issue when creating users

* Pass MFA response through to create user call

* Set queries and mutations to always use the network
2025-04-08 01:05:33 +00:00
Andrew Burkeandjoerger b4b79e3928 Enable SSO MFA for headless (#53741)
This change adds support for SSO MFA in headless mode.

Co-authored-by: joerger <bjoerger@goteleport.com>
2025-04-07 19:26:21 +00:00
Bartosz Leper cceea91fa0 Remember current standard editor tab (#53644)
* Remember current standard editor tab

* review
2025-04-07 17:36:25 +00:00
Bartosz Leper b796c9d533 Use checkboxes for resource permissions (verbs) (#53635)
* Use checkboxes for resource permissions (verbs)

As a prerequisite, the set of valid verbs is dynamically computed based
on the resource kinds picked for a given admin rule.

This change also narrows down the scope of compatible roles to those
that don't specify verbs that are irrelevant for a given set of resource
kinds.

Also turns action types supported by `useStandardModel()` into enums.
This makes it easier to navigate and refactor the code.

* review

* review
2025-04-07 16:09:23 +00:00
Rafał Cieślak b774f98548 Force focus Connect window after enabling VNet daemon (#53685)
* Adjust gitignore for tshdev/tsh.app

* Force focus on Connect after VNet daemon gets enabled

* forceFocusWindow: Add option to wait, convert to async method

* Adjust DocumentVnetInfo type so that it's easier to add new app fields

* Change notification message for single-port apps

* Add forgotten test about launching VNet from the connections panel

* Remove unnecessary signal.aborted check

* Add missing default timeoutMs
2025-04-04 15:20:33 +00:00
Grzegorz Zdunek 93df8a0b46 Abstract TDP transport layer (#53700)
* Add WebSocket to `TdpTransport` adapter

* Remove duplicate listener

* Simplify errors propagation

* Rename websocket to transport events

* Set playing status when transport is open, instead of in the overridden `connect` method

* Clean up naming

* Add missing context provider to player stories
2025-04-04 15:07:30 +00:00
Bernard Kim d6a850f4d4 access_monitoring_rule: Restructure the automatic review spec (#53601)
* Update proto

* Restructure AMR

* lint

* Update ts types
2025-04-04 00:18:12 +00:00
Grzegorz Zdunek d272c03820 Move TDP components to web/shared (#53501)
* Move `teleport/ironrdp` to `shared/libs/ironrdp`

* Do not import `teleport/lib/AuthenticatedWebSocket` in `TdpClient`

* Do not import other `teleport` stuff in `TdpClient`

* Move `teleport/lib/tdp` to `shared/libs/tdp`

* Move `teleport/components/TdpClientCanvas` to `shared/components/CanvasRenderer`

* Move `teleport/DesktopSession` to `shared/components/DesktopSession`

* Bring back `teleport/DesktopSession`

* Improve old artifacts cleaning

* Fix path in README.md
2025-04-03 12:42:16 +00:00
Ryan Clark 513313afc4 Introduce TanStack query (#53468)
* Introduce TanStack query

* Type fixes

* Remove mutation wrapper, add documentation for createQueryHook
2025-04-03 07:07:40 +00:00
Michael 3792676691 Add Workload Identity EmptyState (#53642)
This is the current placeholder for the Workload Identity feature. As
there is no feature for it yet, the only component to be displayed is
the empty state. Same for `e`
2025-04-03 02:05:10 +00:00
Lisa Kim ecee6c7639 Web: allow customizing info guide side panel (#53654)
* Allow customizing info guide panel (width,title)

* Apply changes and customizations
2025-04-02 18:14:15 +00:00
Lisa Kim 58a8d5713a Web: define func that determines if error is path not found type (#53649) 2025-04-02 18:07:34 +00:00
Michael 839d3e3921 Add RoleEditorVisualizer to Role Editor (#53535) 2025-04-02 16:04:18 +00:00
Maxim 9f936ebb2c fix: CollapsibleInfoSection animation with defaultOpen (#53365)
- On mount, don't set `height` to `0` until content height is
  calculated. Skips 'opening' animation if `defaultOpen` is set, as
  content height is not calculated on first render.
2025-04-02 14:41:48 +00:00
Rafał Cieślak 17ed7e8bf6 Integrate VNet info tab with first VNet launch and deep link (#53623)
* usePersistedState: Support function as arg to setState

* openExistingOrAddNew: Return doc URI

This is useful for further modifying the state of the doc that was just
opened.

* Adjust publicAddr and fqdn in app mock

This reflects the reality, as publicAddr and fqdn never include a port
number.

* Remove App reexport from tshd/types.ts

* Write test for first click on Connect next to TCP app

* Move more logic from connectToApp to useVnetLauncher

This is because we'll have to trigger different things depending on
whether VNet was launched for the first time or not. connectToApp does
not have access to that information.

* Rename VNet launcher to VNet app launcher

* Add state necessary to integrate info doc with first VNet launch

* Integrate info doc with first VNet launch

* Open info tab from VNet deep link

* Add missing contexts to TabHost story
2025-04-02 14:36:49 +00:00
1f09341f7f Bump the ui group with 40 updates (#53613)
* Bump the ui group with 40 updates

Bumps the ui group with 40 updates:

| Package | From | To |
| --- | --- | --- |
| [@codemirror/view](https://github.com/codemirror/view) | `6.36.4` | `6.36.5` |
| [@grpc/grpc-js](https://github.com/grpc/grpc-node) | `1.12.6` | `1.13.2` |
| [@protobuf-ts/runtime](https://github.com/timostamm/protobuf-ts/tree/HEAD/packages/runtime) | `2.9.4` | `2.9.6` |
| [@protobuf-ts/runtime-rpc](https://github.com/timostamm/protobuf-ts/tree/HEAD/packages/runtime-rpc) | `2.9.4` | `2.9.6` |
| [@uiw/codemirror-themes](https://github.com/uiwjs/react-codemirror) | `4.23.9` | `4.23.10` |
| [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror) | `4.23.9` | `4.23.10` |
| [react-select](https://github.com/JedWatson/react-select) | `5.10.0` | `5.10.1` |
| [styled-components](https://github.com/styled-components/styled-components) | `6.1.15` | `6.1.16` |
| [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/actions) | `8.6.3` | `8.6.11` |
| [@storybook/addon-controls](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/controls) | `8.6.3` | `8.6.11` |
| [@storybook/addon-toolbars](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/toolbars) | `8.6.3` | `8.6.11` |
| [@storybook/components](https://github.com/storybookjs/storybook/tree/HEAD/code/deprecated/components) | `8.6.3` | `8.6.11` |
| [@storybook/preview-api](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/preview-api) | `8.6.3` | `8.6.11` |
| [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) | `8.6.3` | `8.6.11` |
| [@storybook/react-vite](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-vite) | `8.6.3` | `8.6.11` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.17.22` | `20.17.29` |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `8.17.5` | `8.18.1` |
| [node-gyp](https://github.com/nodejs/node-gyp) | `11.0.0` | `11.1.0` |
| [playwright](https://github.com/microsoft/playwright) | `1.50.1` | `1.51.1` |
| [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) | `8.6.3` | `8.6.11` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `6.2.3` | `6.2.4` |
| [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.26.0` | `7.27.0` |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.21.0` | `9.23.0` |
| [@swc/core](https://github.com/swc-project/swc) | `1.11.5` | `1.11.15` |
| [@swc/plugin-styled-components](https://github.com/swc-project/plugins/tree/HEAD/packages/styled-components) | `7.0.0` | `7.1.0` |
| [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) | `3.8.0` | `3.8.1` |
| [eslint](https://github.com/eslint/eslint) | `9.21.0` | `9.23.0` |
| [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.26.0` | `8.29.0` |
| [ace-builds](https://github.com/ajaxorg/ace-builds) | `1.39.0` | `1.39.1` |
| [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js) | `0.57.2` | `0.200.0` |
| [@opentelemetry/instrumentation](https://github.com/open-telemetry/opentelemetry-js) | `0.57.2` | `0.200.0` |
| [@opentelemetry/instrumentation-document-load](https://github.com/open-telemetry/opentelemetry-js-contrib) | `0.44.1` | `0.45.0` |
| [@opentelemetry/instrumentation-fetch](https://github.com/open-telemetry/opentelemetry-js) | `0.57.2` | `0.200.0` |
| [@opentelemetry/instrumentation-user-interaction](https://github.com/open-telemetry/opentelemetry-js-contrib) | `0.44.1` | `0.45.0` |
| [@opentelemetry/instrumentation-xml-http-request](https://github.com/open-telemetry/opentelemetry-js) | `0.57.2` | `0.200.0` |
| [react-markdown](https://github.com/remarkjs/react-markdown) | `10.0.1` | `10.1.0` |
| [babel-plugin-transform-import-meta](https://github.com/javiertury/babel-plugin-transform-import-meta) | `2.2.1` | `2.3.2` |
| [@protobuf-ts/grpc-transport](https://github.com/timostamm/protobuf-ts/tree/HEAD/packages/grpc-transport) | `2.9.4` | `2.9.6` |
| [whatwg-url](https://github.com/jsdom/whatwg-url) | `14.1.1` | `14.2.0` |
| [zod-to-json-schema](https://github.com/StefanTerdell/zod-to-json-schema) | `3.24.3` | `3.24.5` |


Updates `@codemirror/view` from 6.36.4 to 6.36.5
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/compare/6.36.4...6.36.5)

Updates `@grpc/grpc-js` from 1.12.6 to 1.13.2
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.12.6...@grpc/grpc-js@1.13.2)

Updates `@protobuf-ts/runtime` from 2.9.4 to 2.9.6
- [Release notes](https://github.com/timostamm/protobuf-ts/releases)
- [Commits](https://github.com/timostamm/protobuf-ts/commits/v2.9.6/packages/runtime)

Updates `@protobuf-ts/runtime-rpc` from 2.9.4 to 2.9.6
- [Release notes](https://github.com/timostamm/protobuf-ts/releases)
- [Commits](https://github.com/timostamm/protobuf-ts/commits/v2.9.6/packages/runtime-rpc)

Updates `@uiw/codemirror-themes` from 4.23.9 to 4.23.10
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.23.9...v4.23.10)

Updates `@uiw/react-codemirror` from 4.23.9 to 4.23.10
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.23.9...v4.23.10)

Updates `react-select` from 5.10.0 to 5.10.1
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.10.0...react-select@5.10.1)

Updates `styled-components` from 6.1.15 to 6.1.16
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Commits](https://github.com/styled-components/styled-components/compare/styled-components@6.1.15...styled-components@6.1.16)

Updates `@storybook/addon-actions` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.11/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/addons/actions)

Updates `@storybook/addon-controls` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.11/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/addons/controls)

Updates `@storybook/addon-toolbars` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.11/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/addons/toolbars)

Updates `@storybook/components` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.11/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/deprecated/components)

Updates `@storybook/preview-api` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/lib/preview-api)

Updates `@storybook/react` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/renderers/react)

Updates `@storybook/react-vite` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/frameworks/react-vite)

Updates `@types/node` from 20.17.22 to 20.17.29
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `cspell` from 8.17.5 to 8.18.1
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.18.1/packages/cspell)

Updates `node-gyp` from 11.0.0 to 11.1.0
- [Release notes](https://github.com/nodejs/node-gyp/releases)
- [Changelog](https://github.com/nodejs/node-gyp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nodejs/node-gyp/compare/v11.0.0...v11.1.0)

Updates `playwright` from 1.50.1 to 1.51.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.50.1...v1.51.1)

Updates `storybook` from 8.6.3 to 8.6.11
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v8.6.11/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v8.6.11/code/lib/cli)

Updates `vite` from 6.2.3 to 6.2.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

Updates `@babel/preset-typescript` from 7.26.0 to 7.27.0
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-preset-typescript)

Updates `@eslint/js` from 9.21.0 to 9.23.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.23.0/packages/js)

Updates `@swc/core` from 1.11.5 to 1.11.15
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.11.5...v1.11.15)

Updates `@swc/plugin-styled-components` from 7.0.0 to 7.1.0
- [Changelog](https://github.com/swc-project/plugins/blob/main/packages/styled-components/CHANGELOG.md)
- [Commits](https://github.com/swc-project/plugins/commits/HEAD/packages/styled-components)

Updates `@vitejs/plugin-react-swc` from 3.8.0 to 3.8.1
- [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.8.0...v3.8.1)

Updates `eslint` from 9.21.0 to 9.23.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.21.0...v9.23.0)

Updates `typescript-eslint` from 8.26.0 to 8.29.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.29.0/packages/typescript-eslint)

Updates `ace-builds` from 1.39.0 to 1.39.1
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.39.0...v1.39.1)

Updates `@opentelemetry/exporter-trace-otlp-http` from 0.57.2 to 0.200.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.57.2...experimental/v0.200.0)

Updates `@opentelemetry/instrumentation` from 0.57.2 to 0.200.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.57.2...experimental/v0.200.0)

Updates `@opentelemetry/instrumentation-document-load` from 0.44.1 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-knex-v0.44.1...instrumentation-pg-v0.45.0)

Updates `@opentelemetry/instrumentation-fetch` from 0.57.2 to 0.200.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.57.2...experimental/v0.200.0)

Updates `@opentelemetry/instrumentation-user-interaction` from 0.44.1 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-knex-v0.44.1...instrumentation-pg-v0.45.0)

Updates `@opentelemetry/instrumentation-xml-http-request` from 0.57.2 to 0.200.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.57.2...experimental/v0.200.0)

Updates `react-markdown` from 10.0.1 to 10.1.0
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/react-markdown/compare/10.0.1...10.1.0)

Updates `babel-plugin-transform-import-meta` from 2.2.1 to 2.3.2
- [Changelog](https://github.com/javiertury/babel-plugin-transform-import-meta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/javiertury/babel-plugin-transform-import-meta/compare/v2.2.1...v2.3.2)

Updates `@protobuf-ts/grpc-transport` from 2.9.4 to 2.9.6
- [Release notes](https://github.com/timostamm/protobuf-ts/releases)
- [Commits](https://github.com/timostamm/protobuf-ts/commits/v2.9.6/packages/grpc-transport)

Updates `whatwg-url` from 14.1.1 to 14.2.0
- [Release notes](https://github.com/jsdom/whatwg-url/releases)
- [Commits](https://github.com/jsdom/whatwg-url/compare/v14.1.1...v14.2.0)

Updates `zod-to-json-schema` from 3.24.3 to 3.24.5
- [Release notes](https://github.com/StefanTerdell/zod-to-json-schema/releases)
- [Changelog](https://github.com/StefanTerdell/zod-to-json-schema/blob/master/changelog.md)
- [Commits](https://github.com/StefanTerdell/zod-to-json-schema/commits)

---
updated-dependencies:
- dependency-name: "@codemirror/view"
  dependency-version: 6.36.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@grpc/grpc-js"
  dependency-version: 1.13.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@protobuf-ts/runtime"
  dependency-version: 2.9.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@protobuf-ts/runtime-rpc"
  dependency-version: 2.9.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@uiw/codemirror-themes"
  dependency-version: 4.23.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@uiw/react-codemirror"
  dependency-version: 4.23.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: react-select
  dependency-version: 5.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: styled-components
  dependency-version: 6.1.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/addon-actions"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/addon-controls"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/addon-toolbars"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/components"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/preview-api"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/react"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@storybook/react-vite"
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@types/node"
  dependency-version: 20.17.29
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: cspell
  dependency-version: 8.18.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: node-gyp
  dependency-version: 11.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: playwright
  dependency-version: 1.51.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: storybook
  dependency-version: 8.6.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: vite
  dependency-version: 6.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@eslint/js"
  dependency-version: 9.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@swc/core"
  dependency-version: 1.11.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@swc/plugin-styled-components"
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-version: 3.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: eslint
  dependency-version: 9.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: typescript-eslint
  dependency-version: 8.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: ace-builds
  dependency-version: 1.39.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: "@opentelemetry/exporter-trace-otlp-http"
  dependency-version: 0.200.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@opentelemetry/instrumentation"
  dependency-version: 0.200.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@opentelemetry/instrumentation-document-load"
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@opentelemetry/instrumentation-fetch"
  dependency-version: 0.200.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@opentelemetry/instrumentation-user-interaction"
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@opentelemetry/instrumentation-xml-http-request"
  dependency-version: 0.200.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: react-markdown
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: babel-plugin-transform-import-meta
  dependency-version: 2.3.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: "@protobuf-ts/grpc-transport"
  dependency-version: 2.9.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
- dependency-name: whatwg-url
  dependency-version: 14.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ui
- dependency-name: zod-to-json-schema
  dependency-version: 3.24.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ui
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert node-gyp update

* Dedupe packages

* Make vite use @types/node v20

* Roll back babel-plugin-transform-import-meta update

There's still no version with a valid license.

* Roll back updates of opentelemetry packages that are not compatible with v1

* Revert babel-plugin-transform-import-meta

* add specifier

accidentally removed the specifier

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
Co-authored-by: Michael Myers <michael.myers@goteleport.com>
2025-04-02 09:15:56 +00:00
Maxim bbba8debd0 chore: Type changes for Bidirectional Sync for Okta Integration (#52873)
- Add `enableBidirectionalSync` field to Okta Integration spec type
2025-04-01 19:29:33 +00:00
Bartosz Leper 421fcc7905 Make LabelsInput accept container's size (#53552)
* Make LabelsInput accept container's size

This helps sizing it properly in contexts like the role editor.

* review
2025-04-01 12:13:16 +00:00
Rafał Cieślak c33a85bf9e Add VNet info tab (#53531)
* Add DemoTerminal

* testHelpers: Add .com to the default rootClusterUri

* Add VNet info tab

* Open VNet info doc from VNet panel

* Implement "Start VNet" button

* Add boxShadow to Box and Flex

* Add space between stacked terminals
2025-04-01 08:54:25 +00:00
Erik Tate 59c751e2d0 adding PerSessionMFA to PromptMFARequest proto and disabling the TOTP (#53465)
prompt with a warning message when it's set
2025-03-28 16:22:30 +00:00
Bartosz Leper 631c7c5642 Clarify the wording in role editor (#53259)
* Clarify the wording in role editor

Use "Teleport resources" and "Kubernetes resources" instead of
"resources" to make them unambiguous.

* Post-rebase test fix
2025-03-28 14:56:32 +00:00
Edoardo Spadolini 2fca5820ed SPIFFE X.509 issuer override: CRUD (#53088)
* SPIFFE X.509 issuer override: CRUD

* tctl support for workload_identity_x509_issuer_override

* Define audit log events

* Emit audit log events

* Add comments to point at the e implementation

* audit events fixtures

* Use DisallowUnknown in tctl
2025-03-28 13:26:09 +00:00
Grzegorz Zdunek d7ab676fdf Exclude IronRDP artifacts from linting in both teleport and shared directories (#53500) 2025-03-28 10:29:11 +00:00
Bartosz Leper 997beca575 Hide validation errors on newly added sections (#53224)
* Add ValidationSuspender component

This component makes it possible to conditionally hide validation errors
in a subset of form fields. It is required by an upcoming PR to the role
editor that satisfies the UX requirement of not showing validation
errors on newly added sections until the next explicit validation is
requested.

Also: add type information to useRule.

* Hide validation errors on newly added sections

Uses ValidationSuspender to hold validation errors from being displayed
on fields that belong to sections added while the validator is
validating. The newly invalid inputs will be marked as invalid only
after another explicit validation call (for example, when the user
attempts to save data).

* Post-merge test fix
2025-03-28 10:28:26 +00:00
Bartosz Leper 652fc7cb08 Add ValidationSuspender component (#53223)
This component makes it possible to conditionally hide validation errors
in a subset of form fields. It is required by an upcoming PR to the role
editor that satisfies the UX requirement of not showing validation
errors on newly added sections until the next explicit validation is
requested.

Also: add type information to useRule.
2025-03-28 07:44:37 +00:00
Lisa Kim 5b33d41265 WebDiscover: clarify IAM requirements for RDS flow (#53205)
* WebDiscover: clarify IAM requirements for RDS flow

* Remove redundant wording

* Address CRS
2025-03-27 19:26:02 +00:00
Gavin Frazar d16a2ab752 Support health check config audit events (#53437) 2025-03-27 18:34:49 +00:00
Michelle Bergquist 940c5c2f03 Update aws oidc designs (#53297) 2025-03-27 17:19:50 +00:00
Rafał Cieślak 4d6abaebdf Add minWidth to Button (#53451) 2025-03-27 13:31:53 +00:00
Rafał Cieślak 69f228bc56 Fix breakpoints (#53409)
* Fix breakpoints

* Export breakpointsPx as number values
2025-03-27 09:14:03 +00:00
Bartosz Leper 56153e94a6 Minor improvements to the role editor (#53177)
* Minor improvements to the role editor

- Drop "New" from "Add New Resource Access"
- Add resource kind names to the collapsed admin rule section title
- Rename “Role Metadata” to “Role Information” and remove tooltip
- Add a description for each tab

* review
2025-03-26 20:41:52 +00:00
Rafał Cieślak 2216801207 Add rowGap and columnGap to Flex (#53440) 2025-03-26 15:56:25 +00:00
Grzegorz Zdunek 4575b06e59 Remove teleport imports from shared (part 1) (#53292)
* Move `DownloadConnect` to `teleport`

* Move `AuthorizeDeviceWeb` to `e-teleport`

* Import `TextSelectCopy` from `shared`

* Move `ClusterDropdown` to `teleport`

* Move `IAM_ROLE_NAME_REGEX` to `shared`

* Do not import `Latency` type from `teleport`

* Move `StyledDateRange` to `design`

* Move `FileTransferRequests` to `teleport` and refactor the story
2025-03-26 11:42:15 +00:00
Grzegorz Zdunek b1469dccc2 Extract shared desktop session component (#53395)
* Take initial session size from the canvas instead of the window

* Do not send resize events when canvas has no height

I'm pretty sure the backend side ignored them anyway, but there's no point in sending those events.

* Prepare `TdpClient` to work on a generic transport layer

* Improve alerts rendering

* Remove Web UI-specific components from the shared desktop session component

* Adjust a story to the new shared component

* Remove optional chaining from `client`, it no longer can be `undefined`

* Replace "username@desktop" with "username on desktop"
2025-03-26 11:18:50 +00:00
Rafał Cieślak 983017b23f Add basic VNet deep link integration (#53226)
* Add test for queuing up deep link launch before app is rendered

* Refactor DeepLinksService to a component

* Add VNet deep link handler

* Add new tab icon to Connect deep link in Web UI

Also, fix the icon in the comp warning, it's supposed to be on the right.

* Use separate field instead of redeclaring existing one

* Pass launchDeepLink as prop rather than mocking whole module

* Add text to VNet toggle button
2025-03-26 10:28:02 +00:00
rosstimothy be8fe5c76d Join Kubernetes sessions in the web ui (#52993)
Adds the ability to join existing Kubernetes sessions in the web ui
as peers, observers, or modertators.

Closes #52315.
2025-03-25 14:14:48 +00:00
Rafał Cieślak 4666ac6c36 Stop PowerShell build scripts on non-zero exit codes (#53351) 2025-03-25 10:06:08 +00:00
Bartosz LeperandRafał Cieślak b876f18899 Fix the css prop in HoverTooltip (#53363)
Co-authored-by: Rafał Cieślak <rafal.cieslak@goteleport.com>
2025-03-25 09:46:51 +00:00
Michelle Bergquist bc1b8f0414 aws oidc menu and edit updates (#53258)
* Remove action from aws oidc in integration list

* Add settings to aws oidc dash

* Update edit modal styles
2025-03-24 21:38:43 +00:00
Yassine Bounekhla ef1f2543e2 hide "create your first bot" button if you don't have permissions (#53255) 2025-03-21 15:31:35 +00:00
Grzegorz Zdunek 47809863ed Simplify TDP connection state (#53233)
* Continue removing `useTdpClientCanvas`

* Simplify connection state and `nextScreenState`

* Call `initWasm` only once

* Do not overwrite the keyboard handler
2025-03-21 14:42:45 +00:00
Bartosz Leper d01bf383bb Update references to renamed features (#53144)
* Update references to renamed features

Renames:
- Teleport Policy to Teleport Identity Security
- Teleport Identity to Teleport Identity Governance

* Capitalize the constants

* satisfy Go lint

* Rename FeatureNames to FeatureName
2025-03-21 14:33:49 +00:00
Maxim Dietz 1bc2c48d93 [web] Add FloatingUI, use for HoverTooltip and Navigation Sections (#53044)
* feat: Introduce FloatingUI; use for HoverTooltip

* feat: Use FloatingUI w/ `restMs` to prevent sporadic selection of nav categories

* chore: Remove `anchorOrigin`/`transformOrigin` from HoverTooltip

* chore: Replace usages of `position` with `placement` for HoverTooltip

- Remove unused HoverTooltip props
- Only render FloatingPortal when tooltip should be mounted
2025-03-20 19:34:05 +00:00
Sakshyam Shah 593ccca057 Web UI: support SAML app launch URLs (#52877)
* feat: MenuLoginWithActionMenu component

* update MenuLogin to accomodate changes for MenuLoginWithActionMenu

* handle samlAppLaunchUrls in makeapp.ts

* update saml app login button

* update app.go to return SAMLAppLaunchURLs

* resource action button:
- added test and story
- handles both action and non-action buttons

* launchExternalUrl props for MenuLogin to open url with <a> tag

* handle memu login onClick to apply onClose callback

* use same comment over be and fe, app_test.go

* add isExternalUrl to LoginItem type instead of MenuLoginProps

* use text-align:left, update story

* proper js comment tag

* extend MenuInputType with NONE value

* update resourceActionButton story

* address review comments

* remove unused waitfor
2025-03-20 18:47:33 +00:00
Bernard Kim e95e4a915f WebUI: Allow optional tooltip in traits editor (#53204)
* Allow optional tooltip in traits editor

* lint

* toolTip -> tooltip
2025-03-20 17:23:28 +00:00
Grzegorz Zdunek 316651caf7 Update pnpm to v10 (#53193)
* Update pnpm to v10

* Explicitly specify build dependencies

* Make `prettier-plugin-sort-imports` available in Prettier config

* Hoist eslint

* Improve comment
2025-03-20 09:05:57 +00:00
Lisa Kim 58d117cd71 Web: add overview guides for discover flows (#53056)
* Web: add info guide panel to discover

- Decrease wizard navigation size and fix alignment when
  screen gets smaller
- Adds overview info for various flows

* Use shared styles and remove individual custom widths

Each discover view is now wrapped in DiscoverBox with
a set max width
2025-03-20 08:17:33 +00:00