Skip to content
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

chore(uve): FTM - Implement "CopyURL" button on UVE Toolbar #30819

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

KevinDavilaDotCMS
Copy link
Contributor

@KevinDavilaDotCMS KevinDavilaDotCMS commented Dec 2, 2024

This pull request includes several changes to the DotUveToolbarComponent to enhance its functionality and improve the testing setup. The most important changes include adding a copy-to-clipboard feature, updating the test suite to cover new functionality, and importing necessary modules and services.

Enhancements to DotUveToolbarComponent:

  • Added a copy-to-clipboard feature with a success message toast. (core-web/libs/portlets/edit-ema/portlet/src/lib/edit-ema-editor/components/dot-uve-toolbar/dot-uve-toolbar.component.html, core-web/libs/portlets/edit-ema/portlet/src/lib/edit-ema-editor/components/dot-uve-toolbar/dot-uve-toolbar.component.ts) [1] [2]

Updates to test suite:

  • Imported DebugElement, By, and MessageService for testing purposes. (core-web/libs/portlets/edit-ema/portlet/src/lib/edit-ema-editor/components/dot-uve-toolbar/dot-uve-toolbar.component.spec.ts)
  • Added MessageService to the test providers and injected it into the test suite. (core-web/libs/portlets/edit-ema/portlet/src/lib/edit-ema-editor/components/dot-uve-toolbar/dot-uve-toolbar.component.spec.ts) [1] [2] [3]
  • Added tests to verify the attributes of the copy URL button and the functionality of the MessageService when the copy-to-clipboard event is triggered. (core-web/libs/portlets/edit-ema/portlet/src/lib/edit-ema-editor/components/dot-uve-toolbar/dot-uve-toolbar.component.spec.ts)

This PR fixes: #30732

@nollymar nollymar enabled auto-merge December 2, 2024 17:28
@nollymar nollymar added this pull request to the merge queue Dec 2, 2024
Merged via the queue into main with commit 34cbf08 Dec 2, 2024
23 of 24 checks passed
@nollymar nollymar deleted the 30732-ftm-new-uve-toolbar-implement-copy-url-button branch December 2, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FTM: New UVE Toolbar - Implement "Copy URL" button
5 participants