[Lens] Prevent overwriting managed content from editor#175062
[Lens] Prevent overwriting managed content from editor#175062drewdaemon merged 23 commits intoelastic:mainfrom
Conversation
|
/ci |
|
/ci |
|
@elasticmachine merge upstream |
|
/ci |
|
@elasticmachine merge upstream |
|
/ci |
|
/ci |
|
/ci |
1 similar comment
|
/ci |
|
/ci |
|
/ci |
|
@elasticmachine merge upstream |
nreese
left a comment
There was a problem hiding this comment.
kibana-presentation changes LGTM
code review only
|
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
pheyos
left a comment
There was a problem hiding this comment.
test_subjects service changes LGTM
…kibana into lens-respect-managed-content
|
/ci |
There was a problem hiding this comment.
@drewdaemon this works great in the editor. Just one question and I will approve depending on the answer.
I can still edit this from a dashboard (inline editing). You going to address this in another PR, do I understand this correctly? I didn't see it in the description so I wonder if this is a next step or something we forgot to address!!
| @@ -0,0 +1,3 @@ | |||
| # @kbn/managed-content-badge | |||
|
|
|||
| Empty package generated by @kbn/generate | |||
There was a problem hiding this comment.
Maybe this Readme would need some love :D
| toolTipProps: { | ||
| content: tooltipText, | ||
| position: 'bottom', | ||
| } as EuiToolTipProps, |
There was a problem hiding this comment.
Do we need this casting?
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
History
To update your PR or re-run it, just comment with: |
Correct. The following two issues (#172383, #172384) will prevent managed visualizations from being added to unmanaged dashboards. They will cover the inline editing case. You can see the full plan on the meta issue. |
stratoula
left a comment
There was a problem hiding this comment.
Amazing, thanx Drew! LGTM!
## Summary Close elastic#166720 I marked this a breaking change since it is preventing users from doing something they have been able to do before. They can no longer save changes to managed Lens visualizations. Instead, they have to save changes to a new visualization. To test, import this `ndjson` file which includes both a managed and an unmanaged visualization: --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Summary
Close #166720
I marked this a breaking change since it is preventing users from doing something they have been able to do before. They can no longer save changes to managed Lens visualizations. Instead, they have to save changes to a new visualization.
To test, import this
ndjsonfile which includes both a managed and an unmanaged visualization:Details
This is how the UI should look for the managed visualization.
Checklist
Delete any items that are not applicable to this PR.