You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to create a new page by copying an existing one, so I used the dashboard’s search feature to find the existing page. Then used the "Copy" action from the filtered page explorer. From there, successfully copying takes you back to the "root" view of the page explorer, and I still need to find my way to the page I just copied in order to edit it. This takes a lot of time.
Describe the solution you'd like
It would be nice if the "Page [title] copied" success message just had a link / button to edit the copied page. That way I can directly proceed with the next step, rather than having to search my newly-created page.
Describe alternatives you've considered
An alternative could be to redirect to the listing view of the parent page always, rather than to the "next URL", but this seems like it’d just cater for fewer scenarios.
Additional context
Here is where the copying success messages are defined:
Anyone can contribute to this. Since this is already implemented for "move", it should be a case of copying and adapting that implementation, then manual testing + writing unit tests. View our contributing guidelines, add a comment to the issue once you’re ready to start.
The text was updated successfully, but these errors were encountered:
Hi @dhruvipatel14 , just checking in — are you still working on this issue?
I believe I’ve found a solution to the point raised by @thibaudcolas
If you’re not actively working on it, would it be alright if I go ahead and open a PR?
Is your proposal related to a problem?
I wanted to create a new page by copying an existing one, so I used the dashboard’s search feature to find the existing page. Then used the "Copy" action from the filtered page explorer. From there, successfully copying takes you back to the "root" view of the page explorer, and I still need to find my way to the page I just copied in order to edit it. This takes a lot of time.
Describe the solution you'd like
It would be nice if the "Page [title] copied" success message just had a link / button to edit the copied page. That way I can directly proceed with the next step, rather than having to search my newly-created page.
Describe alternatives you've considered
An alternative could be to redirect to the listing view of the parent page always, rather than to the "next URL", but this seems like it’d just cater for fewer scenarios.
Additional context
Here is where the copying success messages are defined:
wagtail/wagtail/admin/views/pages/copy.py
Lines 81 to 95 in 47fc200
The new button I’m after is already implemented for the "move" action:
wagtail/wagtail/admin/views/pages/move.py
Lines 123 to 133 in 47fc200
Working on this
Anyone can contribute to this. Since this is already implemented for "move", it should be a case of copying and adapting that implementation, then manual testing + writing unit tests. View our contributing guidelines, add a comment to the issue once you’re ready to start.
The text was updated successfully, but these errors were encountered: