Change field type to 'password' so that the browser does not display the API key while the user is entering it.
Update one.repmax.exercises.view to use the same naming idiom employed by the other views for adding event listeners.
- Add template - Refactor some duplicate CSS into a mixin
MongoHQ will not allow two different users to have databases with the same name. (This *might* not be the case for paid MongoHQ accounts, but it is the case for the free "sandbox" databases.) Therefore, we cannot hard-code the database name; instead, we need to prompt the user to enter his/her unique database name. - Update UI to prompt user to enter the database name - Inside the :state atom, enhance the :database-configuration to include the database name - For all functions that formerly took the MongoHQ API key as an argument, update those functions to instead take the database configuration map as an argument. (This map includes both the API key and the database name.) - Move clj->js from one.repmax.mongohq to new one.repmax.util namespace - Introduce one.repmax.url-blueprint
Cast "weight" to a float, and cast "reps" to an integer. We need these values to be stored as numbers (not strings) to facilitate future queries.
- Switch from vanilla CSS to Compass and SCSS - Remove existing CSS files - Implement updated UI styling via SCSS in src/sass - Install Iconic font for icons
- Remove code specific to the sample application - Remove the files related to running a production server for the app. (One Rep Max has no server component; she's all HTML, JS, CSS, and images).
Note: The user must first add One Rep Max to his/her home screen. Then, when launched from the home screen, One Rep Max will display in full-screen mode.
Apparently Safari refuses to set cookies with non-ASCII characters. See: http://stackoverflow.com/a/1969339 In order to allow the application code to still use Clojure keywords as cookie names, we now convert the given cookie name to a string before writing or reading the cookie.