Open rshen91 opened 6 months ago
Pinging @elastic/appex-sharedux (Team:SharedUX)
Hey... following up with the request, do we want to be able to handle promise results here https://github.com/elastic/kibana/pull/180406/files#diff-e4f1bd21624573e91fe1295688d5b674e80f3b421d4e6f2d3e0cf7b4dda8dbacR105 or just support allowing to define delegatedShareUrlHandler
as a method that returns a promise?
Hey... following up with the request, do we want to be able to handle promise results here https://github.com/elastic/kibana/pull/180406/files#diff-e4f1bd21624573e91fe1295688d5b674e80f3b421d4e6f2d3e0cf7b4dda8dbacR105 or just support allowing to define
delegatedShareUrlHandler
as a method that returns a promise?
That would be great from the Lens prospective as this snippet could be moved within the handler entirely then.
This issue is opened after https://github.com/elastic/kibana/pull/180406 where the link_content is set as the default for the share context modal vs the older implementation of UrlParams in the share plugin.
As a request from @elastic/kibana-visualizations this issue is to track changing
delegatedShareUrlHandler
in src/plugins/share/public/components/tabs/link/index.tsx to handle Promise results. This was introduced in the share modal redesign.