feat(webui): Edit bot description#59709
Merged
nicholasmarais1158 merged 7 commits intomasterfrom Oct 7, 2025
Merged
Conversation
1ed82e3 to
00f87f8
Compare
ryanclark
reviewed
Oct 2, 2025
ryanclark
approved these changes
Oct 6, 2025
flyinghermit
approved these changes
Oct 6, 2025
Contributor
|
@nicholasmarais1158 See the table below for backport results.
|
nicholasmarais1158
added a commit
that referenced
this pull request
Oct 14, 2025
* Make bot description editable through the webapi * Add `requiredMaxLength` form validation rule * Show bot description in bot details * Edit bot description * Separate v1, v2, and v3 handlers * No need for a `switch` here * Add type EditBotApiVersion # Conflicts: # lib/web/machineid.go
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 20, 2025
* Make bot description editable through the webapi * Add `requiredMaxLength` form validation rule * Show bot description in bot details * Edit bot description * Separate v1, v2, and v3 handlers * No need for a `switch` here * Add type EditBotApiVersion # Conflicts: # lib/web/machineid.go
rhammonds-teleport
pushed a commit
that referenced
this pull request
Nov 6, 2025
* Make bot description editable through the webapi * Add `requiredMaxLength` form validation rule * Show bot description in bot details * Edit bot description * Separate v1, v2, and v3 handlers * No need for a `switch` here * Add type EditBotApiVersion
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 allows editing a bot's description through the webui. The description is also visible on the bot details screen.
Updates: #59525
Changelog: Added editing bot description to the web UI
Change
PUT /v3/webapi/sites/:site/machine-id/bot/:nameendpoint version to accept new editable fieldfireEventfrom some tests and replace withuserEventDemo
Screen.Recording.2025-09-29.at.17.24.34.mov
Reviewer notes
To test this change you simple need to create a bot resource if you don't already have one. Easiest way is to use the GitHub wizard in the webui. Once created, you can view the bot in the webui and edit its details.