Commit graph

216 commits

Author SHA1 Message Date
b662968922 Remove demo todo route, fix placeholder skeletons styles, and fix pagination controls with GET form. 2022-12-26 22:53:37 -08:00
2e6c38dc44 Moving search to do a GET with q search param. 2022-12-25 10:52:36 -08:00
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
45ddd0a286 Using parseInt. 2022-12-01 12:05:58 -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
87b8e5c073 Adding pagination to the collection and wishlist pages. 2022-11-10 12:14:28 -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
56a298e7b9 Comment out skeleton usage. 2022-11-03 00:44:00 -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
7fe85df58b Fixing add remove for both stores on other pages. 2022-10-31 15:09:21 -05:00
9b60fc2671 Adding wishlist route, store, localstorage store, and adding all dialogs/headers/etc. needed. 2022-10-31 14:06:27 -05:00
7b0af8ed7e Padding to the hidden description content. 2022-10-31 10:25:02 -05:00
Bradley Shellnut
bef6ca3192
More about formatting 2022-10-31 00:05:38 -05:00
Bradley Shellnut
d8f8c8ec41
About formatting 2022-10-31 00:00:09 -05:00
cf321fc68a Change max width of main tag, fix button icon formatting, and change description transistions. 2022-10-30 23:08:33 -05:00
d37c0aca61 Format description. 2022-10-30 21:06:26 -05:00
45acecae03 Center show more button. 2022-10-30 20:51:43 -05:00
f194a0c671 Fix game image mobile. 2022-10-30 19:56:21 -05:00
Bradley Shellnut
79af851c18
Testing override width mobile 2022-10-30 11:59:52 -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
cfa9a71503
Adding analytics component to the base layout 2022-10-29 12:48:57 -05:00
Bradley Shellnut
cfbbf7debd
Adding an analytics component 2022-10-29 12:46:39 -05:00
Bradley Shellnut
0e0ce61024
Revert umami 2022-10-29 13:11:21 -04:00
Bradley Shellnut
e694be4f5e
Adding umami analytics with do not track 2022-10-29 13:10:24 -04:00
a96f8ecb3e More mobile updates. 2022-10-27 18:10:32 -04: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
c922587f55 Remove pagination for now and update deps. 2022-10-26 17:40:19 -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
503b4d9e6d Default search action plus adding back advanced search. 2022-10-25 21:42:10 -04:00
94c2b3fc93 Add search on the search page...who knew. 2022-10-13 23:01:01 -05:00
f4ac64e88e Render games without javascript to the search page. 2022-10-13 22:54:44 -05:00
fa26cbc91e Adding server load to process games. 2022-10-12 23:49:06 -05:00
bfcb04448a Fixing search action with and without javascript. 2022-10-12 23:17:30 -05:00
79e401a917 Fixing env in the game page. 2022-10-06 17:06:58 -05:00
036c821cb0 Search action and update deps. 2022-10-05 14:53:43 -05:00
0864159546 Moving form posts to actions slowly. 2022-09-29 17:22:01 -05:00
Bradley Shellnut
93f57504e6 Starting page server for the main page. 2022-09-13 15:16:13 -07: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
207c93da28 Adding dialog overlay to layout css, removing commented css, and updating dialog store on game page remove button click. 2022-08-31 21:32:30 -05:00
Bradley Shellnut
26d5b28323 Transition and need to update the game page remove button. 2022-08-31 17:05:12 -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
7aa5fadec3 Quick and dirty copy paste add of modal to main page. 2022-08-30 23:15:31 -05:00
Bradley Shellnut
459292c234 Update styles for modal. 2022-08-30 22:57:16 -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
7b9e1cdaa2 Fixing dark mode on load. 2022-08-30 17:36:04 -05:00
Bradley Shellnut
2e389309ce Adding a dialog to the root layout. 2022-08-29 16:41:11 -05:00
Bradley Shellnut
800ae1da7e Removing server page for landing. 2022-08-29 15:27:44 -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
Bradley Shellnut
84d321b211 Fixing API TS file for routes, fixing loading data on the game page after migration, etc. 2022-08-26 15:53:23 -07:00
Bradley Shellnut
b172ac02f4 Migrating to page server data. 2022-08-25 22:06:39 -07:00
Bradley Shellnut
8bc15e74a4 Migrating to routes. 2022-08-24 13:36:40 -07:00
Bradley Shellnut
a1ebc2a1c4 Large screen max width, button styles. 2022-08-11 16:34:45 -07:00
Bradley Shellnut
6f42d02737 Icon update and type import. 2022-08-09 16:27:42 -07:00
Bradley Shellnut
ef854c57d3 Update to heroicons, media query for game list. 2022-08-09 16:19:37 -07:00
Bradley Shellnut
10cd1d0081 Debounce loading on navigation if longer than 250ms. 2022-08-08 17:25:43 -07:00
Bradley Shellnut
19877ceca0 Only store min data in game search store. 2022-08-08 16:38:47 -07:00
Bradley Shellnut
a8afcca6d2 Advanced search in text search conditional based on disclosure. 2022-08-08 15:45:42 -07:00
Bradley Shellnut
b455b83759 Grid for text search. 2022-08-08 14:45:39 -07:00
Bradley Shellnut
7c0e774ed9 Fix localstorage query. 2022-08-08 14:13:51 -07:00
Bradley Shellnut
a3edc637e4 Local storage and collection only store minimal data and on random game from collection do a GET fetch for more details. 2022-08-08 12:07:44 -07:00
Bradley Shellnut
feb40603ff Margin to button search and width media query for game list. 2022-08-07 15:02:14 -07:00
Bradley Shellnut
bb08f03b9c Mergin searces. 2022-08-07 14:53:21 -07:00
Bradley Shellnut
d7665d1a94 Update dependencies and add gap. 2022-08-04 23:19:27 -07:00
Bradley Shellnut
93a13eec94
Media query smaller screen flex. 2022-08-04 00:22:10 -07:00
Bradley Shellnut
112b5dae4a Update icons in preferences. 2022-08-03 23:32:18 -07:00