pipes icon indicating copy to clipboard operation
pipes copied to clipboard

Improve 404 and other error pages

Open anewuser opened this issue 3 years ago • 2 comments

Example: https://www.pipes.digital/test

404

anewuser avatar Jul 30 '22 18:07 anewuser

Good idea! :)

Hey, just so that it is spoken out: If you wanted to implement some of those suggestion, please feel formally invited. Not saying I won't do it, but I wouldn't mind PRs on top of these good suggestions!

onli avatar Jul 30 '22 20:07 onli

You may want to set up different messages and/or redirect to different pages depending on the request. These should check whether the pipe exists before trying to process them:

  • [ ] https://www.pipes.digital/pipe/random
  • [ ] https://www.pipes.digital/feedpreview/random
  • [ ] https://www.pipes.digital/feed/random

You can first verify the length of the ID. If it's longer than X characters, don't even connect to the database to look it up.

anewuser avatar Aug 02 '22 14:08 anewuser