-
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
[Fleet] Show lock icon + tooltip next to hosted agent policy names #97377
[Fleet] Show lock icon + tooltip next to hosted agent policy names #97377
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
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.
LGTM. I checked the policy list and integrations overview page locally and icon + tooltip show up as expected. I tested it with the fleet-server package but didn't have a fleet-server enrolled currently, that is why I didn't check the other two screens. But can't see a reason why it would not work.
@@ -8323,7 +8323,6 @@ | |||
"xpack.fleet.agentList.policyColumnTitle": "代理策略", | |||
"xpack.fleet.agentList.policyFilterText": "代理策略", | |||
"xpack.fleet.agentList.reassignActionText": "分配到新策略", | |||
"xpack.fleet.agentList.revisionNumber": "修订版 {revNumber}", |
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.
Not fully sure how this works. But it seems the revisionNumber
is still available in the new code?
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @jfsiii |
Thanks for the 👀 and 🚀 , @ruflin. I'm going to merge this and we can open bug tickets if we find something missing/wrong |
…ic#97377) ## Summary From design ticket elastic/observability-design#32 > any ... place we display a link to the hosted agent policy, show an icon with hover tooltip: This PR closes 1B + 1C from elastic#91906 & two other places which followed the same pattern. Factored out some repeated code at each call site into a `<AgentPolicySummaryLine />` component <details><summary>Screenshots</summary> <h3>Agent Policy List View</h3> <img width="1103" alt="Screen Shot 2021-04-16 at 1 01 55 PM" src="https://user-images.githubusercontent.com/57655/115059112-18a99180-9eb4-11eb-9035-36a8e9db1f9d.png"> <h3>Agent List View</h3> <img width="1185" alt="Screen Shot 2021-04-16 at 12 38 40 PM" src="https://user-images.githubusercontent.com/57655/115058885-bea8cc00-9eb3-11eb-8529-6f185fcac7d2.png"> <h3>Packaged Policy List View</h3> <img width="1251" alt="Screen Shot 2021-04-16 at 10 23 49 AM" src="https://user-images.githubusercontent.com/57655/115058880-be103580-9eb3-11eb-8060-c501663af556.png"> <h3>Agent Policy Detail View</h3> <img width="1145" alt="Screen Shot 2021-04-16 at 12 21 42 PM" src="https://user-images.githubusercontent.com/57655/115058883-bea8cc00-9eb3-11eb-9970-462ff4600fa4.png"> </details> ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
… (#97441) ## Summary From design ticket elastic/observability-design#32 > any ... place we display a link to the hosted agent policy, show an icon with hover tooltip: This PR closes 1B + 1C from #91906 & two other places which followed the same pattern. Factored out some repeated code at each call site into a `<AgentPolicySummaryLine />` component <details><summary>Screenshots</summary> <h3>Agent Policy List View</h3> <img width="1103" alt="Screen Shot 2021-04-16 at 1 01 55 PM" src="https://user-images.githubusercontent.com/57655/115059112-18a99180-9eb4-11eb-9035-36a8e9db1f9d.png"> <h3>Agent List View</h3> <img width="1185" alt="Screen Shot 2021-04-16 at 12 38 40 PM" src="https://user-images.githubusercontent.com/57655/115058885-bea8cc00-9eb3-11eb-8529-6f185fcac7d2.png"> <h3>Packaged Policy List View</h3> <img width="1251" alt="Screen Shot 2021-04-16 at 10 23 49 AM" src="https://user-images.githubusercontent.com/57655/115058880-be103580-9eb3-11eb-8060-c501663af556.png"> <h3>Agent Policy Detail View</h3> <img width="1145" alt="Screen Shot 2021-04-16 at 12 21 42 PM" src="https://user-images.githubusercontent.com/57655/115058883-bea8cc00-9eb3-11eb-9970-462ff4600fa4.png"> </details> ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: John Schulz <john.schulz@elastic.co>
Summary
From design ticket https://github.com/elastic/observability-design/issues/32
This PR closes 1B + 1C from #91906 & two other places which followed the same pattern.
Factored out some repeated code at each call site into a
<AgentPolicySummaryLine />
componentScreenshots
Agent Policy List View
Agent List View
Packaged Policy List View
Agent Policy Detail View
Checklist
Delete any items that are not applicable to this PR.