facia-tool icon indicating copy to clipboard operation
facia-tool copied to clipboard

Show where other stories are on the same front

Open Fweddi opened this issue 1 month ago • 1 comments

What's changed?

While shadowing a Digital Editor working on the Network Fronts, I noticed a few times where cards were being dragged from a container to the clipboard, and then from the clipboard to another container on the same Front. They would then need to remember to scroll back to the old container and remove the old card to avoid duplication on the Front. Sometimes, the editor said, it was easy to forget to do this, or you wouldn't even realise as the front was handed over in that state.

To avoid editors having to keep a mental model of which cards were in multiple containers, this PR surfaces which cards are elsewhere on the same Front within the UI:

image

This should hopefully reduce the cognitive load and number of duplication mistakes.

The logic used to derive CardsWhichAreAlsoOnOtherCollectionsOnSameFront is similar to the CollectionsWhichAreAlsoOnOtherFronts logic made clearer in #1887 and #1888. There are tests and you can also have a play with it yourself in the UI (you will need to enable the feature switch in e.g. https://fronts.local.dev-gutools.co.uk/v2/features).

Fweddi avatar Nov 10 '25 16:11 Fweddi

Please can we see before and after to show that the container level 'also on' is still working?

gnm-notona avatar Nov 20 '25 10:11 gnm-notona

Seen on PROD (merged by @Fweddi 5 minutes and 26 seconds ago) Please check your changes!

gu-prout[bot] avatar Nov 26 '25 11:11 gu-prout[bot]