Skip to content

Share experience Improvements#222242

Merged
eokoneyo merged 13 commits intoelastic:mainfrom
eokoneyo:chore/resolve-222093-export-menu-improvements
Jun 23, 2025
Merged

Share experience Improvements#222242
eokoneyo merged 13 commits intoelastic:mainfrom
eokoneyo:chore/resolve-222093-export-menu-improvements

Conversation

@eokoneyo
Copy link
Copy Markdown
Contributor

@eokoneyo eokoneyo commented Jun 2, 2025

Summary

Closes #222093

Changes

  • restrict copy link height
    - copy link to clipboard for lens without opening flyout, when lens is already saved
  • display share modal without tab indicator when there's only one share option available

@eokoneyo eokoneyo self-assigned this Jun 2, 2025
@eokoneyo eokoneyo added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// labels Jun 2, 2025
@eokoneyo eokoneyo changed the title Improvements to export menu pop UX Improvements to export menu popover UX Jun 2, 2025
@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch 3 times, most recently from 9a22a07 to db6ff2c Compare June 5, 2025 11:18
@eokoneyo

This comment was marked as outdated.

1 similar comment
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from b204394 to b9803a1 Compare June 6, 2025 20:38
@eokoneyo

This comment was marked as duplicate.

1 similar comment
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from b9803a1 to c425d81 Compare June 6, 2025 21:23
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch 2 times, most recently from aa333a1 to dc02bca Compare June 10, 2025 11:12
@eokoneyo

This comment was marked as duplicate.

1 similar comment
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch 2 times, most recently from 01ba8a3 to af3e96d Compare June 13, 2025 19:06
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from af3e96d to c23e083 Compare June 14, 2025 17:13
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from c23e083 to d083ebd Compare June 14, 2025 20:35
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from d083ebd to b4cec52 Compare June 16, 2025 11:29
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from b4cec52 to d083ebd Compare June 16, 2025 14:08
@eokoneyo

This comment was marked as duplicate.

@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from 07cfdd9 to c7eff10 Compare June 19, 2025 06:36
@eokoneyo eokoneyo changed the title Improvements to export menu popover UX Share experience Improvements Jun 19, 2025
@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from 824f9e4 to 83f7590 Compare June 19, 2025 07:23
@eokoneyo eokoneyo requested a review from markov00 June 19, 2025 08:54
@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from 83f7590 to 42175ce Compare June 19, 2025 11:01
@eokoneyo eokoneyo force-pushed the chore/resolve-222093-export-menu-improvements branch from 9844fcf to 128c5e4 Compare June 20, 2025 15:21
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
share 51.7KB 52.1KB +405.0B

History

cc @eokoneyo

@eokoneyo
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@markov00 markov00 left a comment

Choose a reason for hiding this comment

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

Tested locally, looks good now except for this little detail (that is not super important #222242 (comment))

I'm approving anyway since it looks safe

Copy link
Copy Markdown
Contributor

@Dosant Dosant left a comment

Choose a reason for hiding this comment

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

code review 👍

@eokoneyo eokoneyo enabled auto-merge (squash) June 23, 2025 09:16
@eokoneyo eokoneyo merged commit 4bedf05 into elastic:main Jun 23, 2025
10 checks passed
@eokoneyo eokoneyo deleted the chore/resolve-222093-export-menu-improvements branch June 23, 2025 09:37
akowalska622 pushed a commit to akowalska622/kibana that referenced this pull request Jun 25, 2025
## Summary

Closes elastic#222093 

Changes

- restrict copy link height
~- copy link to clipboard for lens without opening flyout, when lens is
already saved~
- display share modal without tab indicator when there's only one share
option available

<!--
### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@eokoneyo
Copy link
Copy Markdown
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

eokoneyo added a commit to eokoneyo/kibana that referenced this pull request Jun 25, 2025
## Summary

Closes elastic#222093

Changes

- restrict copy link height
~- copy link to clipboard for lens without opening flyout, when lens is
already saved~
- display share modal without tab indicator when there's only one share
option available

<!--
### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] 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/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 4bedf05)

# Conflicts:
#	src/platform/plugins/shared/share/tsconfig.json
eokoneyo added a commit that referenced this pull request Jun 25, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [Share experience Improvements
(#222242)](#222242)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-06-23T09:37:41Z","message":"Share
experience Improvements (#222242)\n\n## Summary\n\nCloses #222093
\n\nChanges\n\n- restrict copy link height\n~- copy link to clipboard
for lens without opening flyout, when lens is\nalready saved~\n- display
share modal without tab indicator when there's only one share\noption
available\n\n\n\n---------\n\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"4bedf051b449f0f72fe3c379c7fcb1c876e641b7","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:SharedUX","v9.1.0"],"title":"Share
experience
Improvements","number":222242,"url":"https://github.com/elastic/kibana/pull/222242","mergeCommit":{"message":"Share
experience Improvements (#222242)\n\n## Summary\n\nCloses #222093
\n\nChanges\n\n- restrict copy link height\n~- copy link to clipboard
for lens without opening flyout, when lens is\nalready saved~\n- display
share modal without tab indicator when there's only one share\noption
available\n\n\n\n---------\n\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"4bedf051b449f0f72fe3c379c7fcb1c876e641b7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222242","number":222242,"mergeCommit":{"message":"Share
experience Improvements (#222242)\n\n## Summary\n\nCloses #222093
\n\nChanges\n\n- restrict copy link height\n~- copy link to clipboard
for lens without opening flyout, when lens is\nalready saved~\n- display
share modal without tab indicator when there's only one share\noption
available\n\n\n\n---------\n\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"4bedf051b449f0f72fe3c379c7fcb1c876e641b7"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SharedUX] Export menu / share menu clean up

5 participants