-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented trusted app name truncation. #79976
Implemented trusted app name truncation. #79976
Conversation
Pinging @elastic/endpoint-app-team (Feature:Endpoint) |
Pinging @elastic/endpoint-management (Team:Endpoint Management) |
@@ -35,7 +35,7 @@ export const GetTrustedAppsRequestSchema = { | |||
|
|||
export const PostTrustedAppCreateRequestSchema = { | |||
body: schema.object({ | |||
name: schema.string({ minLength: 1 }), | |||
name: schema.string({ minLength: 1, maxLength: 256 }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after some more thought, we could actually make this even shorter since it's just a name, however I don't think it will be likely that users actually create long trusted names.
I can also see from your screenshots that the table still truncates on a single line which is most important in regards to the look of the the feature, so I'm good with this as is.
* master: [ML] Fix job selection flyout (elastic#79850) Removed visualization:loadingDelay (elastic#79841) [Alerts] fix failing executionStatus function test with null deref (elastic#79809) Implemented trusted app name truncation. (elastic#79976)
Summary
Implemented trusted app name truncation in the table and in the card. Also added limit to the name length when entering in the create form.
Checklist