Go to file
Gered 962a3624b7 better handling of user login/logout and passing user-id's to views
when logging in/out, there is a small window where the server's session
state and the client-side state and view subscriptions will not exactly
align and some view subscription updates (because
mtgcoll.client.auth/user-profile was updated) will get treated as
unauthorized.

this change is admittedly somewhat quick/hacky, but basically the idea
is to track the sente connection state (which is true when sente is both
connected and a handshake event has been received) in a reagent atom.
if false, we hide the entire ui and show a "connecting ..." message.

not super pretty, but it's only shown to the user briefly and it solves
the problem. i'll need to revisit this at some point and wrap it up
in some library code or something somewhere to make the whole method
prettier to use in the future
2016-07-24 15:32:03 -04:00
env/dev/src fix for lein rollback/migrate 2016-06-29 11:35:58 -04:00
resources sql migrations to add lists_card_quantities table 2016-07-24 12:51:20 -04:00
src/mtgcoll better handling of user login/logout and passing user-id's to views 2016-07-24 15:32:03 -04:00
.gitignore initial commit 2016-06-24 14:17:45 -04:00
LICENSE add LICENSE and update project.clj 2016-06-29 21:25:42 -04:00
project.clj bump version for development 2016-06-30 11:22:18 -04:00
README.md add README.md 2016-06-24 14:20:24 -04:00

MTG Web Collection

Web application to maintain a searchable database of cards, including (optional) card images and prices and to record cards contained in a personal collection.

This project is a work in progress and is not ready for actual use quite yet.