summaryrefslogtreecommitdiff
path: root/client/js/views/empty_view.js
AgeCommit message (Collapse)Author
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2016-07-13client/general: improve scrollingrr-
2016-06-18client/general: refactor control flowrr-
- Controller lifetime is bound to route lifetime - View lifetime is bound to controller lifetime - Control lifetime is bound to view lifetime - Enhanced event dispatching - Enhanced responsiveness in some places - Views communicate user input to controllers via new event system
2016-05-21client/general: refactor all the thingsrr-
- Move controls to the "controls/" directory - Make controls interface look similar to each other - Prefix "private" methods and attributes with underscore
2016-05-12clients/general: fix empty view message handlingrr-
2016-05-11client/events: improve event dispatchingrr-
This commit introduces timer-less retry system: 1. Any change to URL is going to stop listening to any messages. 2. If a message is sent and there's no handler that could pick it up, the message gets enqueued. 3. The message is sent again to the first handler that attaches itself to given event type. While in theory this is full of holes (no control over the first handler), in practice, it works quite well. Additionally, views.listenToMessages was attaching to completely wrong DOM node; this commit fixes this as well.
2016-04-09client/views: extract empty viewrr-
...so that UsersController doesn't mess with DOM.