Closed MarkHammondJr closed 9 years ago
Are you thinking this for the voting page #51 for the confirmation, and the login and registration, right? I'm fine with switching a confirmation page to a confirmation dialog. Any other use cases I'm missing?
Poll creation and poll close. There might be one or two other uses that I'm forgetting at the moment.
And even if I'm forgetting uses, the styled flash helper makes it really easy to reserve room for any dialogs.
Sinatra flash is a useful tool to add messages (like a confirmation message) to the top of pages that are erased after they've been seen once. It will be very useful for us, and it's easy to use.
If you notice already, I've been fooling around with a generic message type of "flash[:status]." I was thinking of using three different types, each of which can appear as a different color: flash[:positive], flash[:neutral], and flash[:negative]. I would love to hear your thoughts on this before I start going all out.
Here is the page for it so you can read up on it.