thaliproject / postcardapp

A sample app to demonstrate how to build Thali applications
MIT License
22 stars 5 forks source link

Make change username a modal #111

Closed deadlyfingers closed 8 years ago

deadlyfingers commented 8 years ago

Change username needs to be within a modal context so it can be dismissed without leaving what you are doing.

deadlyfingers commented 8 years ago

Created a shared login element to be used by login page and the new modal change username page. Once changed the binding username values (in modal and list-view) will also need to update.

deadlyfingers commented 8 years ago

Would be nicer to have bindable app properties (eg. app.username). Couple of possibilities: https://github.com/PolymerElements/iron-meta https://elements.polymer-project.org/elements/iron-localstorage Related post: http://stackoverflow.com/questions/30849816/polymer-1-0-global-variables