Skip to content

[6.x] Eui sharing top nav (#21997)#22468

Merged
nreese merged 1 commit intoelastic:6.xfrom
nreese:backport/6.x/pr-21997
Aug 28, 2018
Merged

[6.x] Eui sharing top nav (#21997)#22468
nreese merged 1 commit intoelastic:6.xfrom
nreese:backport/6.x/pr-21997

Conversation

@nreese
Copy link
Copy Markdown
Contributor

@nreese nreese commented Aug 28, 2018

Backports the following commits to 6.x:

* just getting the popover to open and start laying out the context menu

* pass getUnhashableStates to ShareMenu

* generate original and snapshot ids

* move state into ShareUrlContent

* start working on form

* use radio group

* add input for creating short URL

* display URL in alert until copy functionallity gets migrated to EUI

* allowEmbed prop

* replace share directive with showShareContextMenu

* fix button styling

* add jest test for share_context_menu

* use EuiCopy to copy URL, add jest test for ShareUrlContent component

* clean up

* display short URL create error message in form instead of with toast

* switch option order so disbaled option can not be first

* fix discover share functional tests

* add functions required by reporting

* typescript

* remove empty file

* fix typescript compile error

* move import so jest tests work

* fix Failed prop type: The proptextToCopyis marked as required inEuiCopy, but its value isundefined

* move shortUrl out of react state and into Component object

* getUnhashableStates type from any[] to object[]

* add comment about type change once EUI issue is solved

* add functional test for saved object URL sharing

* remove commit
@nreese nreese added the backport This PR is a backport of another PR label Aug 28, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@nreese nreese merged commit 27dd8c2 into elastic:6.x Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants