RefugeRestrooms / refugerestrooms

REFUGE restrooms indexes and maps safe restroom locations for trans, intersex, and gender nonconforming individuals.
http://www.refugerestrooms.org
GNU Affero General Public License v3.0
892 stars 262 forks source link

Custom Error Message Dialogs #36

Open awoitte opened 10 years ago

awoitte commented 10 years ago

Currently the JavaScript is returning errors with the alert() command. This is generally undesirable. Could a designer throw together a mock-up of a custom dialog for errors? If not, I can try to build one on the fly?

tkwidmer commented 10 years ago

@leavens9 or @nataliegroman ?

nataliegroman commented 10 years ago

Wait, do you want a UX dialog? Or like, do you want me to make it like the "oh hey, we're super casual and are an awesome team of super-humanly developers" message on every site ever?

nataliegroman commented 10 years ago

Because if so, here's a good one:

"Something on our end went wrong and we apologize! At first you don't succeed, try, try again!

If this is a continuing problem, you are always welcome to submit it as an issue on Github."

awoitte commented 10 years ago

Haha, well some more friendly text might be a good idea, but I was actually just looking for the design of the dialog rather than its content. As in, what the dialog looks like. I want to keep it consistent with the rest of the site.

nataliegroman commented 10 years ago

Sorry, just got back to this. As in, popup dialogs? Or do you want me to physically lay out an error message to display within the site?

awoitte commented 10 years ago

Whichever you think looks best :) . I can easily do either.