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

After deleting a paste redirect to the home page aka "basepath" URL #1156

Open
TehPeGaSuS opened this issue Aug 27, 2023 · 2 comments
Open
Labels
enhancement good first issue Contributors could start with this easy task.

Comments

@TehPeGaSuS
Copy link
Contributor

The problem

Currently when we delete a paste we need to click in the Pastebin icon to be able to paste again.

The solution

When deleting a paste we could be redirected to the basepath URL. This would improve user experience and spare us of an additional click.

Alternatives

N/A

Additional context

N/A

@rugk
Copy link
Member

rugk commented Aug 28, 2023

Ah, so we don't end up on that page, but show the confirmation message (BTW why is not it green hmm?) directly at the home page?

grafik

Fair enough that looks sensible. And when doing so one may also change the color here hehe…

Though maybe not that high priority, because I guess you won't delete paste's so often… 😉
PRs welcome though, it should be fairly easy to implement.

@rugk rugk added the good first issue Contributors could start with this easy task. label Aug 28, 2023
@rugk rugk changed the title When deleting a paste we could be redirected to the "basepath" URL When deleting a paste redirect to the home page aka "basepath" URL Aug 28, 2023
@rugk rugk changed the title When deleting a paste redirect to the home page aka "basepath" URL After deleting a paste redirect to the home page aka "basepath" URL Aug 28, 2023
@TehPeGaSuS
Copy link
Contributor Author

Having that banner for a bit and then redirecting to the homepage would be sensible as well.

That way we'd have the confirmation that the paste was actually deleted before being redirected. 5s between the deletion confirmation and the redirect would probably cover everyone.

Unfortunately I can't code, so I can't be of much help when comes to provide a patch. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Contributors could start with this easy task.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants