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

[Enterprise Search][App Search] Credentials Logic updates #78644

Merged
merged 9 commits into from
Sep 30, 2020

Conversation

JasonStoltz
Copy link
Member

@JasonStoltz JasonStoltz commented Sep 28, 2020

Summary

In a previous PR to add Credentials Logic, @constancecchen and I identified and discussed a number of optimizations. This PR implements those optimizations.

@constancecchen I am assigning this to you directly since we discussed these previously.

I kept the commits atomic, so I recommend following along in the commit log.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

I renamed `showCredentialsForm` to be `shouldShowCredentialsForm`
because it's a boolean, not an action.

I renamed `toggleCredentialsForm` to `showCredentialsForm`, since
it's only use to show the form, never to hide, and there is a separate
action for hiding the form.
Changed to isActiveApiTokenExisting to follow better boolean naming
practices
It now properly resets activeApiTokenRawName, which was not being
reset to the default when the credentials form was opened.
@JasonStoltz JasonStoltz requested a review from a team as a code owner September 28, 2020 16:37
@JasonStoltz JasonStoltz added release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Sep 28, 2020
Copy link
Member

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

LOVE these changes. Thanks so much for the atomic and super follow-able commits, it made reviewing a breeze!! 😍

One super minor alternative suggestion for isActiveApiTokenExisting naming, but if you feel strongly about it no worries, just let me know and we can move ahead.

BTW, I think the failed type check was a random bad commit in master unrelated to our code, so I'll go ahead and merge latest for you to try and get rid of it

@cee-chen
Copy link
Member

@elasticmachine merge upstream

@JasonStoltz JasonStoltz requested a review from a team as a code owner September 30, 2020 15:07
Copy link
Member

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Wahoo! Awesome updates, Jason - love it 💯 !

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

@JasonStoltz JasonStoltz merged commit f43c89f into elastic:master Sep 30, 2020
@JasonStoltz JasonStoltz deleted the credentials-logic-changes branch September 30, 2020 16:40
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 30, 2020
* master: (97 commits)
  [Actions] Adds a "Test Connector" button on the Connectors List to make discovery of the Test tab easier (elastic#78746)
  [Discover] Fix functional time picker test permissions (elastic#78564)
  [ML] Fixing module datafeed overrides (elastic#78925)
  Adds some missing licenses to the CSV export (elastic#78719)
  [dev/cli] ensure plugins/ and all watch source dirs exist (elastic#78973)
  [Lens] Stop using scripted metric to collect telemetry (elastic#78687)
  [Lens] fix wrong message in fields accordion (elastic#78924)
  [Enterprise Search][App Search] Credentials Logic updates (elastic#78644)
  [Monitoring] Disk usage alerting (elastic#75419)
  [SECURITY_SOLUTION] Trusted apps list expand/collapse details (elastic#78601)
  Update content on interstitial page (elastic#78881)
  chore(NA): include hjson as a prod dependency (elastic#78941)
  Fix empty meta fields input in Advanced Settings  (elastic#78576)
  [Lens] Maintain order of operations in dimension panel (elastic#78864)
  Fix plugin doc title (elastic#78880)
  load apm-rum agent lazily (elastic#78760)
  [ML] Skip full ML access permission test
  Optimize charts plugin (elastic#78922)
  ui_actions service initial docs (elastic#78902)
  skip failing suite (elastic#78942)
  ...
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 2, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 78644 or prevent reminders by adding the backport:skip label.

JasonStoltz added a commit to JasonStoltz/kibana that referenced this pull request Oct 5, 2020
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants