Commit graph

74 commits

Author SHA1 Message Date
3eff953def Add Pagination 2022-07-17 16:43:47 -04:00
cc1ae8e395 Update Dockerfile to use the Haskell server 2022-07-12 23:23:46 -04:00
ce49c394dd Fix page title 2022-04-08 22:40:19 -04:00
3e04e4f2cf Model search options 2022-04-08 22:40:11 -04:00
9fcaf3f20d Make app configurable via environment vars 2022-03-28 15:38:32 -04:00
492b4fa71b Initialize the database on startup
Tests updated to use a test database.
2022-03-28 00:56:04 -04:00
384affe29e Move the API definition into its own module 2022-03-27 23:58:18 -04:00
6e1ea5c910 Reorganize server modules 2022-03-27 23:41:47 -04:00
b9d2cc8775 Update .gitignore
Removes the generated file tutor.cabal
2022-03-27 22:59:12 -04:00
fd35a47dc9 Fix search parser tests 2022-03-27 22:57:34 -04:00
70f3fcf8f7 Implement search queries 2022-03-27 20:20:24 -04:00
f6936baae7 Abstract out select query construction 2022-03-27 17:52:44 -04:00
4df535f3c5 Split out search parsing from search types 2022-03-27 14:07:01 -04:00
070487f924 Support collection and sorting query parameters 2022-03-26 17:11:24 -04:00
d032f9b294 Load cards from the sqlite database 2022-03-26 16:20:28 -04:00
0957f6f150 Add search parsing tests 2022-03-26 00:47:05 -04:00
a0d3f45a9e Move Search module into source directory 2022-03-25 23:36:11 -04:00
192f4a935c Add search parsing 2022-03-25 20:18:33 -04:00
a2434a2306 Model search criteria 2022-03-25 01:46:45 -04:00
3aabb35da5 Add a status endpoint exposing the API version 2022-03-24 22:54:08 -04:00
47c85f026c Document the search endpoint and query string 2022-03-24 22:03:06 -04:00
6030be74c4 Compare JSON return values, not strings
Leverage json quasi-quoting to build a JSON object for comparison so
that arbitrary field order in objects doesn't invalidate tests.
2022-03-24 01:29:53 -04:00
7f8a853d3c Add top-level api annotations 2022-03-23 20:44:58 -04:00
89e3322670 Remove unnecessary template haskell usage 2022-03-23 19:38:48 -04:00
b460218251 Add OpenAPI documentation 2022-03-23 19:36:14 -04:00
9bd190b609 Use Text and UUID instead of String 2022-03-23 17:09:29 -04:00
c69ef215b5 Add access logging 2022-03-23 02:16:01 -04:00
746ca6a507 Add initial servant API implementation 2022-03-22 22:59:25 -04:00
624486cf50 Make details dismissable on mobile 2022-02-11 10:07:26 -05:00
8c21ac32a0 Fix search bar width 2022-02-11 09:58:22 -05:00
d449200df9 Fix text height in card rows 2022-02-11 09:07:44 -05:00
e73003aace Combine search options into a row 2022-02-11 01:09:58 -05:00
40868e170b Scale to mobile devices 2022-02-11 01:07:32 -05:00
ccc3ad8c88 Improve responsiveness 2022-02-11 00:48:57 -05:00
e269dc0070 Add UI responsiveness 2022-02-11 00:36:05 -05:00
327c57a677 Remove unnecessary footer text 2022-02-11 00:14:31 -05:00
d9ce108cf1 Fix the main loading spinner 2022-02-10 23:48:28 -05:00
45afe018c5 Add badges to the card list 2022-02-10 23:40:11 -05:00
00616067c8 Switch the UI to a scrollable list 2022-02-10 23:05:51 -05:00
bc24b89d25 Adjust import warnings 2022-02-10 18:03:21 -05:00
1e275a8288 Handle nullable scryfall card fields 2022-02-10 17:03:03 -05:00
eee0edf2da Add import modes with progress reporting 2022-02-10 15:55:40 -05:00
f326dd3ecd Add deck list tracking 2022-02-10 13:22:22 -05:00
0f0abcd66e Add table indexes 2021-12-18 21:42:11 -05:00
0140c9c889 Add price support 2021-07-17 03:18:49 -04:00
eb61663888 Add support for colorless searches 2021-07-17 00:56:15 -04:00
b0fff226ea Add a card detail view 2021-07-16 23:18:06 -04:00
b12d0c62ca Put a spinner behind loading card images 2021-07-16 15:00:49 -04:00
83f57ec032 Pretty some things up 2021-07-16 14:51:04 -04:00
dfdb7bc1c2 Update search bar sizing 2021-07-16 12:08:11 -04:00