Commit graph

9 commits

Author SHA1 Message Date
Vincent Ambo
60532a541b refactor(gemma): Move Gemma source into monorepo stucture 2019-06-29 14:13:58 +01:00
Vincent Ambo
48687f77d2 fix(elm): Use relative URL to access API
Now that Hunchentoot is serving the Elm frontend, Elm needs to connect
to Gemma at a relative path.

Side note: It would be useful if the frontend displayed errors that
happened :sun:
2017-12-31 17:02:13 +01:00
Vincent Ambo
b0e6491600 chore: License under GPLv3 2017-12-20 21:43:05 +01:00
Vincent Ambo
d3ce3c1568 feat(elm): Automatically poll every 15 seconds
15 seconds is potentially a bit aggressive considering that
Gemma (currently) tracks expiry times in *days*.
2017-12-20 21:17:57 +01:00
Vincent Ambo
7dbeb83f85 feat(elm): Add real button to task cards 2017-12-20 21:04:15 +01:00
Vincent Ambo
ac623e4a7d feat(elm): Add nice little texts to display time remaining 2017-12-20 20:15:10 +01:00
Vincent Ambo
304f3ae3f1 feat(elm): Implement task completion handling
Adds a clickable area to the cards that will inform the backend of a
task being completed.

This of course still looks completely terrible because I don't really
know how frontend works.
2017-12-20 20:15:09 +01:00
Vincent Ambo
6cd75ac184 feat(elm): Add initial (broken) MDL layout for tasks
The idea is that every task should be shown as an MDL "card" and have
some sort of associated action (probably more than just a click, but
that I'll look at ...).

Tasks are coloured based on their current "urgency".
2017-12-20 20:15:09 +01:00
Vincent Ambo
26f365271e feat(elm): Add initial logic for Gemma's Elm frontend 2017-12-20 20:15:07 +01:00