It would be nice to have a minimal messaging framework to show nonce messages to users, a la Gmail's top-of-screen "loading" messages. I think this would be pretty easy to accomplish by setting the messages on the State object and having a view that listened for changes and showed the messages for a brief time at the top of the screen before closing them and removing them from the state. Assuming I could ignore the rare occurrence of multiple concurrent messages, the API for other views would be as simple as:
It would be nice to have a minimal messaging framework to show nonce messages to users, a la Gmail's top-of-screen "loading" messages. I think this would be pretty easy to accomplish by setting the messages on the State object and having a view that listened for changes and showed the messages for a brief time at the top of the screen before closing them and removing them from the state. Assuming I could ignore the rare occurrence of multiple concurrent messages, the API for other views would be as simple as: