Commit graph

30 commits

Author SHA1 Message Date
Oliver Davies 4e939fb9a6 Use an environment variable for the Drupal URL 2019-06-04 23:12:18 +01:00
Oliver Davies 0bc9d45d0a Clear messages on success 2019-06-04 22:40:05 +01:00
Oliver Davies c58ebd1751 Display new session in the sessions list straight away 2019-06-04 22:39:55 +01:00
Oliver Davies 8454dcaf73 Assign the uid on new sessions to the API user 2019-06-04 22:16:53 +01:00
Oliver Davies b901bf14cd Ensure that errors are emptied on success 2019-06-04 22:16:33 +01:00
Oliver Davies 43e05e8438 Extract a SessionFormMessage component 2019-06-04 21:42:31 +01:00
Oliver Davies 988748899e Display a confirmation message 2019-06-04 21:31:43 +01:00
Oliver Davies 2ed3ca469a Fix linting 2019-06-04 21:27:12 +01:00
Oliver Davies fa9ca37fb4 Use arrow function for consistency 2019-06-04 21:23:33 +01:00
Oliver Davies e0cf0d07ae Re-order fields 2019-06-04 21:23:11 +01:00
Oliver Davies 1102229d84 Split the baseUrl 2019-06-04 21:23:11 +01:00
Oliver Davies 150c0f7de1 Display validation errors 2019-06-04 21:23:11 +01:00
Oliver Davies 496d96e10e Split filter logic to use an isAccepted method 2019-06-04 21:17:53 +01:00
Oliver Davies def19c539b Simplify session sorting 2019-06-04 21:17:31 +01:00
Oliver Davies 9bf6b45f09 POST a session to Drupal 2019-06-03 00:54:25 +01:00
Oliver Davies 2142da75ff Reset form values after submitting 2019-06-02 23:50:01 +01:00
Oliver Davies 7a262d4b76 Add session locally 2019-06-02 23:49:21 +01:00
Oliver Davies ed1c57a5b6 Add session form 2019-06-02 23:36:07 +01:00
Oliver Davies 964b7f519f Move classes 2019-05-25 16:21:05 +01:00
Oliver Davies 77a956ecee Destructure session attributes 2019-05-25 16:19:12 +01:00
Oliver Davies 74269608d1 Lodash not used in this component 2019-05-25 16:15:13 +01:00
Oliver Davies d1e1b08feb Sort sessions alphabetically by title 2019-05-25 16:13:00 +01:00
Oliver Davies 15b093f94e Filter within AcceptedSessionsList component 2019-05-25 16:12:41 +01:00
Oliver Davies fe720708cd Extract an AcceptedSessionsList component 2019-05-25 12:08:54 +01:00
Oliver Davies 577280d634 Change to mounted 2019-05-25 12:03:13 +01:00
Oliver Davies f369cbb7d3 Only get accepted sessions 2019-05-25 11:39:00 +01:00
Oliver Davies e5016c2fcc Display sessions from Drupal 2019-05-25 01:04:57 +01:00
Oliver Davies 7b1b1d6b22 Add axios 2019-05-25 00:45:57 +01:00
Oliver Davies 7176baeb20 Add tailwindcss 2019-05-25 00:27:33 +01:00
Oliver Davies 7152740458 init 2019-05-25 00:11:42 +01:00