Skip to content

PB-393: Added copy button for embed iframe example#784

Merged
ltshb merged 1 commit intodevelopfrom
bug-PB-393-embed-iframe-web
Apr 15, 2024
Merged

PB-393: Added copy button for embed iframe example#784
ltshb merged 1 commit intodevelopfrom
bug-PB-393-embed-iframe-web

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Apr 15, 2024

  • Moved the code to composition api.
  • Added copy button to copy the content of the iframe example
  • On input click select the whole input, which make easier to copy

Test link

@github-actions github-actions bot added the bug label Apr 15, 2024
@ltshb ltshb requested review from LukasJoss and ltkum April 15, 2024 08:17
@cypress
Copy link

cypress bot commented Apr 15, 2024

Passing run #1744 ↗︎

0 160 19 0 Flakiness 0

Details:

PB-393: Added copy button for embed iframe example
Project: web-mapviewer Commit: f6560b0aa3
Status: Passed Duration: 05:12 💡
Started: Apr 15, 2024 2:07 PM Ended: Apr 15, 2024 2:13 PM

Review all test suite changes for PR #784 ↗︎

@ltshb ltshb force-pushed the bug-PB-393-embed-iframe-web branch from b21ec72 to 49df205 Compare April 15, 2024 08:33
Copy link
Contributor

@ltkum ltkum left a comment

Choose a reason for hiding this comment

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

Everything looks good to me. I think once you remove the comment leftover in the code, you are good to go and merge :)

const embedInput = ref(null)
const showEmbedSharing = ref(false)
const showPreviewModal = ref(false)
// const EmbedSizes = ref(null)
Copy link
Contributor

Choose a reason for hiding this comment

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

I suspect this is a leftover from a previous version

@ltshb ltshb force-pushed the bug-PB-393-embed-iframe-web branch from 49df205 to 5dbb940 Compare April 15, 2024 13:41
- Moved the code to composition api.
- Added copy button to copy the content of the iframe example
- On input click select the whole input, which make easier to copy
@ltshb ltshb force-pushed the bug-PB-393-embed-iframe-web branch from 5dbb940 to f6560b0 Compare April 15, 2024 14:04
@ltshb ltshb merged commit 977743e into develop Apr 15, 2024
@ltshb ltshb deleted the bug-PB-393-embed-iframe-web branch April 15, 2024 14:13
@cypress cypress bot mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants