websdotcom/BitPoints — pull request #9 by jackwanders (2014-01-30 01:27:21+00:00)
Title: add font-awesome, set up an invite system, store user name and email in LocalStorage

A new route is added to the app which matches any alphanumeric string (e.g. bitpoints.io/4rj). The path is a base-36 string representation of the room id. If the room represented by the path exists, the user is taken to a simplified log-in page with the room id field populated and hidden.

In addition, I'm storing user and email values in localstorage. On the homepage, the name and gravatar email fields will pre-populate once entered. On the invite page, if the user and email data exists in localstorage, we bypass the login completely and allow the user to immediately join the room.

I also added a link in the room host that shows the invite link in a large modal window so anyone viewing the host can easily read the invite link.

Result: short urls and no-action login

This can be optimized later, but this is a good start for in-office use.