Skip to content
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

Merged

Conversation

efreeti
Copy link
Contributor

@efreeti efreeti commented Oct 8, 2020

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.

name_truncation_grid

name_truncation_list

Checklist

@efreeti efreeti added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Endpoint Management Feature:Endpoint Elastic Endpoint feature v7.10.0 labels Oct 8, 2020
@efreeti efreeti requested review from a team as code owners October 8, 2020 09:54
@efreeti efreeti self-assigned this Oct 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-app-team (Feature:Endpoint)

@elasticmachine
Copy link
Contributor

Pinging @elastic/endpoint-management (Team:Endpoint Management)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

async chunks size

id before after diff
securitySolution 10.5MB 10.5MB +338.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@@ -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 }),
Copy link
Contributor

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.

@efreeti efreeti merged commit 0bd345c into elastic:master Oct 8, 2020
@efreeti efreeti deleted the btsymbal/trusted-app-name-truncation branch October 8, 2020 11:54
efreeti added a commit to efreeti/kibana that referenced this pull request Oct 8, 2020
efreeti added a commit to efreeti/kibana that referenced this pull request Oct 8, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 8, 2020
* 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Endpoint Elastic Endpoint feature release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants