feat: Add Live version of the Copy URL function on Page Edit screen
User Story
As a page editor, I want an option to be able to click the Copy URL button on the page edit screen, but have it be the live version, so I can use the live link, instead of the long url with all the properties.
Example, when "Copy URL" is clicked. http://localhost:8082/activities/snowboarding instead of http://localhost:8082/activities/snowboarding?languageid=1&com.dotmarketing.persona.id=modes.persona.no.persona&hostid=48190c8c-42c4-46af-8d1a-0cd5db894797
Acceptance Criteria
An additional button or drop down menu to be able to select a "Copy live URL" when editing a page.
Proposed Objective
Customer Support
Proposed Priority
Priority 4 - Trivial
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.freshdesk.com/a/tickets/31419
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
PRs linked to this issue
Note For QA
If you Click on the copy button icon, it will opens a popover that give you the ability to select if you want co copy the Live URL (without query params) or Current View URL (with all the query params).
PASSED QA
💡 Note: An issue was find while testing the new copy URL functionality, but it is affecting other redirect links in the edit mode of the page, so we decided to create a new ticket to solve it.
https://github.com/user-attachments/assets/c3e2e1d7-d559-40d6-aacf-6de145f0de39