Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a homepage before deleting the current one #68134

Open
fcoveram opened this issue Dec 19, 2024 · 1 comment
Open

Set a homepage before deleting the current one #68134

fcoveram opened this issue Dec 19, 2024 · 1 comment
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@fcoveram
Copy link
Contributor

What problem does this address?

In tickets #63666 and #63667, the flow of deleting a page set as homepage is not included in the designs. The use case is likely small and having a homepage set is required, yet the scenario exists and we aim for avoiding dead-ends.

What is your proposed solution?

From the same tickets mentioned above, and also related to #60772, this idea shows the "move to trash" action in a disabled state with a help text indicating that a new homepage needs to be set first.

CleanShot.2024-12-19.at.11.01.51.mp4

As an alternative, this second version allows users to delete the page, but it triggers a page replacement modal that pulls in the actions of selecting a new homepage in a single view.

CleanShot.2024-12-19.at.11.05.25.mp4
@fcoveram fcoveram added the [Type] Enhancement A suggestion for improvement. label Dec 19, 2024
@benazeer-ben
Copy link
Contributor

benazeer-ben commented Dec 19, 2024

This PR will disable the deletion of specific pages such as front page and home page based on this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants