councilforeconed / interactive-activities

Council for Economic Education
http://interactives.councilforeconed.org
Mozilla Public License 2.0
6 stars 2 forks source link

Pizza Productivity: Feedback for placing pizzas in incorrect workstations #62

Open jugglinmike opened 10 years ago

jugglinmike commented 10 years ago

When attempting to place a pizza in an incompatible workstation (i.e. placing a sauce-less pizza in the "Olives" workstation), the user should be informed that this placement is invalid.

@iamjessklein @stevekinney We'll need to decide what this feedback should look like before technical implementation can proceed. Some options:

stevekinney commented 10 years ago

I'm leaning towards a passive message considering we don't want to eat up too much time from the countdown clock.

jugglinmike commented 8 years ago

There are many ways we could communicate this information. Some of them involve feed-forward, although I'm not generally fond of those kinds of UIs. I think this is a great opportunity to introduce notifications. Here's an example (pardon the colors--the compression threw them off a bit):

notification-demo

The nice thing about this approach is that it establishes a pattern (both in code and from the user's perspective) for providing event-driven information. That pattern can be re-used across contexts and even across activities.

Here are some examples of how a notification mechanism could be re-used:

@cbujara What do you think?

jugglinmike commented 8 years ago

Also, rendering the message in the application header ensures that even short-lived dialogs do not interfere with player interaction.

cbujara commented 8 years ago

Slick. I like it. Any cross-browser issues we need to worry about with this implementation?

jugglinmike commented 8 years ago

Nosir. The demo I built uses CSS3 transforms, but in non-supporting browsers, users will simply see the message appear and then disappear without any animation. Not as fancy, but serviceable.