adobe / da-live

Dark Alley is a research project
https://da.live
Apache License 2.0
7 stars 11 forks source link

Use the new URL in the browse list for pasted items. #188

Closed bosschaert closed 5 days ago

bosschaert commented 1 week ago

Description

When pasting a document in a different directory, use the target directory in the item URL. Currently the source directory is mistakenly in the URL which means that if you open the document, it opens the one in the source, rather than the copy.

Test URLs: Before: https://da.live/#/da-sites/da-status/bosschae/sub6 After: https://cpypst--da-live--adobe.hlx.live/#/da-sites/da-status/bosschae/sub6

Related Issue

Fixes #176

How Has This Been Tested?

Types of changes

Checklist:

aem-code-sync[bot] commented 1 week ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [507f49d](https://github.com/adobe/da-live/commit/507f49df2a4885cf2bc3b378c1c15396a2d1282a) :white_check_mark: (latest) * [aee03ea](https://github.com/adobe/da-live/commit/aee03ea07f223ea466c672c70edc074911a14889) :white_check_mark: * [5b1aa5b](https://github.com/adobe/da-live/commit/5b1aa5b8657e0b322ca83ec1a204a4ce38bc1a66) :white_check_mark: * [ea492b5](https://github.com/adobe/da-live/commit/ea492b5879ef875f888a85b40107dd6900ee53d9) :x:
aem-code-sync[bot] commented 1 week ago
Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI