Skip to content

[v18] feat(web): Add Instances to Bot Details (#57023)#57445

Merged
nicholasmarais1158 merged 3 commits intobranch/v18from
nicholasmarais1158/backport-57023-branch/v18
Aug 4, 2025
Merged

[v18] feat(web): Add Instances to Bot Details (#57023)#57445
nicholasmarais1158 merged 3 commits intobranch/v18from
nicholasmarais1158/backport-57023-branch/v18

Conversation

@nicholasmarais1158
Copy link
Copy Markdown
Contributor

@nicholasmarais1158 nicholasmarais1158 commented Aug 1, 2025

Backport #57023 to branch/v18

Note: adds dependency on semver which isn't yet backported.

Also, reprocessed icons (pnpm process-icons)

Updates: #47342

* 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 nicholasmarais1158 self-assigned this Aug 1, 2025
@nicholasmarais1158 nicholasmarais1158 added machine-id no-changelog Indicates that a PR does not require a changelog entry labels Aug 1, 2025
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran into an unrelated problem with the icons on master. After running pnpm process-icons, I noticed that these are getting updated. I fixed them in the master PR, could you update them in the backports?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

It's not quite clear how I managed to do that. Maybe I never processed them originally - unlike Icons, they'll work fine without being processed, as they're only optimised and not converted to tsx.

Anyway, I've run `pnpm process-icons' now. 🤞

@strideynet strideynet changed the title feat(web): Add Instances to Bot Details (#57023) [v18] feat(web): Add Instances to Bot Details (#57023) Aug 1, 2025
@nicholasmarais1158 nicholasmarais1158 added this pull request to the merge queue Aug 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 4, 2025
@nicholasmarais1158 nicholasmarais1158 added this pull request to the merge queue Aug 4, 2025
Merged via the queue into branch/v18 with commit 1602bf1 Aug 4, 2025
48 checks passed
@nicholasmarais1158 nicholasmarais1158 deleted the nicholasmarais1158/backport-57023-branch/v18 branch August 4, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport machine-id no-changelog Indicates that a PR does not require a changelog entry size/lg ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants