Commit graph

105 commits

Author SHA1 Message Date
f7c3939765 Change pagination showing, added type for search. 2022-12-09 19:49:57 -08:00
4f89e32b12 Update zod validation, update tests a bit, and checking type with zod in add to collection and wishlist. 2022-12-06 23:00:48 -08:00
877d2a5956 Remove json schema for now. 2022-12-04 22:37:49 -08:00
dc7a148067 Merge branch 'master' of github.com:BradNut/bored
game into postcss
2022-12-04 22:00:43 -08:00
fb84c6da90 Fixing return form data. 2022-12-04 21:26:32 -08:00
0c295c66b4 Use zod preprocess to coerce string to number and string to boolean before performing zod validations. Using error messages on UI. 2022-12-04 17:29:56 -08:00
4bda219c22 Fixing zod validation on search form data. 2022-12-01 16:42:09 -08:00
ebb9b9d7b6 Resolve 2022-12-01 11:53:56 -08:00
ac71e23c94 Using next version of kit, remove media query store and implementing myself with their code, and using small screen breakpoint. 2022-12-01 11:24:11 -08:00
c34f4f9409 Adding postcss and fixing issues with that. 2022-12-01 10:29:24 -08:00
704ae0a541 Adding media query plugin for showing skeletons and lazy image loading plugin. 2022-11-10 14:08:57 -06:00
da5328844f Remove console logs and only show pagination if length greater than 1. 2022-11-09 23:21:40 -06:00
fe2a88ab61 Implementing same search page logic on the main page. 2022-11-09 22:02:38 -06:00
c3b3a36173 Cleanup pagination and text search plus implement previous page event handling. 2022-11-09 21:52:01 -06:00
67cd3b1747 Binding variable to the submit button of the form and in event handlers waiting for the DOM to update with tick. 2022-11-09 17:38:49 -06:00
78c63b75d9 Setting up pagination component in search results. 2022-11-08 20:07:05 -06:00
98346b1272 Adding svelte query store and rendering different numbers of skeleton games. 2022-11-05 00:09:15 -04:00
71b525a5b1 Keeping advanced search open if error and using Skeleton on search results. 2022-11-04 18:02:11 -04:00
5fb3e910e6 Removing minimal param and base dialog css. 2022-11-03 20:47:29 -05:00
1ddd21e1a9 Adding prefetch to collection/wishlist, fixed position on modals, and adding remove color to all modals. 2022-11-03 15:42:58 -05:00
ea32e9e6ff Adding skeleton component from carbon, adding wishlist button to game page, fixing mapping, and css styles. 2022-11-03 00:16:52 -05:00
06a7d342a3 Creating Button and Link with Icon components, formatting error on advanced search, and adding more to the local storage saved Game. 2022-11-01 22:10:02 -05:00
c1d4e5a2d9 feat: 🎨 Make the game component look cleaner 2022-11-01 12:10:25 -05:00
b2e34606fe Adding warning color to the remove button. 2022-11-01 11:49:10 -05:00
6e716f6465 Update dependencies, animations, and validation error start. 2022-10-31 19:31:36 -05:00
9b60fc2671 Adding wishlist route, store, localstorage store, and adding all dialogs/headers/etc. needed. 2022-10-31 14:06:27 -05:00
423e4aab6e Fix error states, fix css fallback when js disabled (SCSS import). 2022-10-29 23:03:50 -05:00
49464d3fba Update toast to be in the bottom middle, error for fetching game data, fixing random from collection. 2022-10-29 21:03:54 -05:00
226c9454c7 Only render analytics in non-dev. Also revert game css for now. 2022-10-29 17:18:17 -05:00
d2762b3e38 Analytics component update env variable fetching and change game component. 2022-10-29 17:08:58 -05:00
Bradley Shellnut
cfbbf7debd
Adding an analytics component 2022-10-29 12:46:39 -05:00
770b1e90a6 Adding collection dialog, showing dialog on clear click. 2022-10-26 23:49:58 -04:00
11e85a45d7 Fixing mobile preferences and single game page. 2022-10-26 23:07:43 -04:00
7c947b7f48 Removing APIs, automatically saving to local storage on add/remove, added export to JSON button. 2022-10-26 22:38:30 -04:00
bac9b7f888 Fixed random search in form action and the random component. 2022-10-26 17:31:57 -04:00
a8ed73ebc0 Adding server side validations. 2022-10-25 22:19:30 -04:00
bfcb04448a Fixing search action with and without javascript. 2022-10-12 23:17:30 -05:00
Bradley Shellnut
10aefbf13f Moving to newer SvelteKit RC slowly and updating pagination to not use global store. 2022-09-13 15:14:55 -07:00
Bradley Shellnut
1465c8c7ff Starting refactor for pagination control in game result display. 2022-09-02 16:38:15 -05:00
Bradley Shellnut
ce3e469399 Getting pagination on the screen, buttons do nothing. 2022-09-01 23:16:29 -05:00
Bradley Shellnut
80ed9354f9 Starting pagination component. 2022-09-01 17:31:19 -05:00
Bradley Shellnut
bc59d64f7c Max height to button, modal gets 50%. 2022-09-01 00:17:11 -05:00
Bradley Shellnut
8aa2fd3c2d Testing base dialog at layout level using svelte component. 2022-08-31 16:50:45 -05:00
Bradley Shellnut
1a330b8ffe Updating store with update instead of set. 2022-08-31 15:47:03 -05:00
Bradley Shellnut
5236ac5c2b Adding dialog just to the game collection for now and using a custom event for removing. 2022-08-30 17:36:37 -05:00
Bradley Shellnut
2e389309ce Adding a dialog to the root layout. 2022-08-29 16:41:11 -05:00
Bradley Shellnut
a9fd3e56a7 Fix saving collection, update dependencies, remove console logs. 2022-08-29 14:18:17 -05:00
Bradley Shellnut
0562b3c0cf Removing unused CSS. 2022-08-29 12:17:32 -05:00
Bradley Shellnut
eaf286b5c9 Adding collection route, header path to collection, minimal view of game for collection, and move save/clear to utils. 2022-08-29 11:33:51 -05:00
Bradley Shellnut
e228c6f6e4 Rename api file, adding collection page. 2022-08-28 22:48:29 -05:00