feat(web): Add Instances to Bot Details#57023
Merged
nicholasmarais1158 merged 62 commits intomasterfrom Jul 30, 2025
Merged
Conversation
gzdunek
approved these changes
Jul 25, 2025
| * upgrade-major - the client is one version behind. | ||
| * upgrade-minor - the major version is the same, but older on minor or patch. | ||
| */ | ||
| reason: 'match' | 'upgrade-major' | 'upgrade-minor'; |
Contributor
There was a problem hiding this comment.
This much nicer than what I had 👍
Base automatically changed from
nicholasmarais1158/feat/bot-tokens-web
to
master
July 28, 2025 17:45
# Conflicts: # web/packages/teleport/src/Bots/Details/BotDetails.story.tsx # web/packages/teleport/src/Bots/Details/BotDetails.test.tsx # web/packages/teleport/src/Bots/Details/BotDetails.tsx
strideynet
approved these changes
Jul 30, 2025
Contributor
|
@nicholasmarais1158 See the table below for backport results.
|
nicholasmarais1158
added a commit
that referenced
this pull request
Aug 1, 2025
* RPC and cache * API * Update rfc0217 * Remove unnecessary copy * Fix import ordering * Fix cache bypass issue * Add context to unmarshal error * Wrap page_size parse error * Keep backend range logic consistent * feat(web): Add Join Tokens panel to Bot Details * Copy correction * Remove unneeded alert action * Handle outdated proxy error * Extend tests * Rename * Use `tokens.list` for access to tokens page (instead of `tokens.create`) * Add outline label variants * Add `semver` dep to teleport package * Add `useClusterVersion` hook * Expose heartbeat OS * Add sorting icons * Add `JoinMethodIcon` component * Add bot instances to Bot Details * Missing lock content * Fix scroll container * Scroll to top on sort * Remove unused import * Extract join method icons to component * Add mission join token icons/logos * Use OS logos (update windows) * Save some lines 😮💨 * Unused imports * Use shared semver * Fix exhaustive check * Re-export new Label variants * Correct version compatibility logic and messaging * Improve error state UX * Use `H2` * Reduce lines * Reduce lines (more) * Fix tests and lint * Fix grid alignment * Remove unnecessary margin 0 * Clarify roles container * Improve type safety of sort state * Remove unnecessary wrappers * Improve `useClusterVersion` * Add sorting icons (used later) * Rename `check()` * Correct newer version messaging # Conflicts: # web/packages/design/src/ResourceIcon/assets/windows-dark.svg # web/packages/design/src/ResourceIcon/assets/windows-light.svg # web/packages/shared/utils/semVer.ts # web/packages/teleport/src/Bots/Details/BotDetails.test.tsx # web/packages/teleport/src/Bots/Edit/EditDialog.test.tsx
nicholasmarais1158
added a commit
that referenced
this pull request
Aug 1, 2025
* RPC and cache * API * Update rfc0217 * Remove unnecessary copy * Fix import ordering * Fix cache bypass issue * Add context to unmarshal error * Wrap page_size parse error * Keep backend range logic consistent * feat(web): Add Join Tokens panel to Bot Details * Copy correction * Remove unneeded alert action * Handle outdated proxy error * Extend tests * Rename * Use `tokens.list` for access to tokens page (instead of `tokens.create`) * Add outline label variants * Add `semver` dep to teleport package * Add `useClusterVersion` hook * Expose heartbeat OS * Add sorting icons * Add `JoinMethodIcon` component * Add bot instances to Bot Details * Missing lock content * Fix scroll container * Scroll to top on sort * Remove unused import * Extract join method icons to component * Add mission join token icons/logos * Use OS logos (update windows) * Save some lines 😮💨 * Unused imports * Use shared semver * Fix exhaustive check * Re-export new Label variants * Correct version compatibility logic and messaging * Improve error state UX * Use `H2` * Reduce lines * Reduce lines (more) * Fix tests and lint * Fix grid alignment * Remove unnecessary margin 0 * Clarify roles container * Improve type safety of sort state * Remove unnecessary wrappers * Improve `useClusterVersion` * Add sorting icons (used later) * Rename `check()` * Correct newer version messaging # Conflicts: # web/packages/design/src/ResourceIcon/assets/windows-dark.svg # web/packages/design/src/ResourceIcon/assets/windows-light.svg # web/packages/shared/utils/semVer.ts # web/packages/teleport/src/Bots/Edit/EditDialog.test.tsx
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 4, 2025
* RPC and cache * API * Update rfc0217 * Remove unnecessary copy * Fix import ordering * Fix cache bypass issue * Add context to unmarshal error * Wrap page_size parse error * Keep backend range logic consistent * feat(web): Add Join Tokens panel to Bot Details * Copy correction * Remove unneeded alert action * Handle outdated proxy error * Extend tests * Rename * Use `tokens.list` for access to tokens page (instead of `tokens.create`) * Add outline label variants * Add `semver` dep to teleport package * Add `useClusterVersion` hook * Expose heartbeat OS * Add sorting icons * Add `JoinMethodIcon` component * Add bot instances to Bot Details * Missing lock content * Fix scroll container * Scroll to top on sort * Remove unused import * Extract join method icons to component * Add mission join token icons/logos * Use OS logos (update windows) * Save some lines 😮💨 * Unused imports * Use shared semver * Fix exhaustive check * Re-export new Label variants * Correct version compatibility logic and messaging * Improve error state UX * Use `H2` * Reduce lines * Reduce lines (more) * Fix tests and lint * Fix grid alignment * Remove unnecessary margin 0 * Clarify roles container * Improve type safety of sort state * Remove unnecessary wrappers * Improve `useClusterVersion` * Add sorting icons (used later) * Rename `check()` * Correct newer version messaging # Conflicts: # web/packages/design/src/ResourceIcon/assets/windows-dark.svg # web/packages/design/src/ResourceIcon/assets/windows-light.svg # web/packages/shared/utils/semVer.ts # web/packages/teleport/src/Bots/Edit/EditDialog.test.tsx
github-merge-queue bot
pushed a commit
that referenced
this pull request
Aug 4, 2025
* feat(web): Add Instances to Bot Details (#57023) * RPC and cache * API * Update rfc0217 * Remove unnecessary copy * Fix import ordering * Fix cache bypass issue * Add context to unmarshal error * Wrap page_size parse error * Keep backend range logic consistent * feat(web): Add Join Tokens panel to Bot Details * Copy correction * Remove unneeded alert action * Handle outdated proxy error * Extend tests * Rename * Use `tokens.list` for access to tokens page (instead of `tokens.create`) * Add outline label variants * Add `semver` dep to teleport package * Add `useClusterVersion` hook * Expose heartbeat OS * Add sorting icons * Add `JoinMethodIcon` component * Add bot instances to Bot Details * Missing lock content * Fix scroll container * Scroll to top on sort * Remove unused import * Extract join method icons to component * Add mission join token icons/logos * Use OS logos (update windows) * Save some lines 😮💨 * Unused imports * Use shared semver * Fix exhaustive check * Re-export new Label variants * Correct version compatibility logic and messaging * Improve error state UX * Use `H2` * Reduce lines * Reduce lines (more) * Fix tests and lint * Fix grid alignment * Remove unnecessary margin 0 * Clarify roles container * Improve type safety of sort state * Remove unnecessary wrappers * Improve `useClusterVersion` * Add sorting icons (used later) * Rename `check()` * Correct newer version messaging # Conflicts: # web/packages/design/src/ResourceIcon/assets/windows-dark.svg # web/packages/design/src/ResourceIcon/assets/windows-light.svg # web/packages/shared/utils/semVer.ts # web/packages/teleport/src/Bots/Details/BotDetails.test.tsx # web/packages/teleport/src/Bots/Edit/EditDialog.test.tsx * Run `pnpm process-icons` * Fix tests
This was referenced Aug 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change adds bot instance to the bot details page. The panel loads it own data (separate from the page) and uses in infinite query to add pages to the result set. Instead of the page growing and scrolling, content scrolls within it's column/panel and the page remains full-height at all time.
Depends on: #56901
Designs: Figma link
RFD: RFD0217 - Bot Details (web)
Updates: #47342
Changes
Add- using shared utils instead (courtesy of Add logic to resolve auto-update status in Connect #56806 thanks @gzdunek 🙌 )semverpackage dependencyAdd sorting iconsMoved to feat(web): Add Join Tokens panel to Bot Details #56901Extract a JoinMethodIcon componentMoved to feat(web): Add Join Tokens panel to Bot Details #56901useClusterVersionhook with diff utilDemo
Screen.Recording.2025-07-22.at.13.05.36.mov