Commit graph

190 commits

Author SHA1 Message Date
8f93dde537 Adding local search to collection and wishlist. Populating search terms in both if they don't exist on load from local storage. 2022-12-28 22:21:55 -08:00
Bradley Shellnut
458693b073
Merge pull request #8 from BradNut/get-search
Get search
2022-12-27 17:32:05 -08:00
391fba7955 Cleanup random API and create named action for a random search. 2022-12-26 23:15:41 -08:00
3f9759aef1 Using vercel adapter. 2022-12-26 22:57:53 -08:00
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
Bradley Shellnut
f3d24a15bc
Merge pull request #7 from BradNut/postcss
Postcss
2022-12-04 22:41:08 -08:00
877d2a5956 Remove json schema for now. 2022-12-04 22:37:49 -08:00
699b79eaed Install zod json schema. 2022-12-04 22:20:36 -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
9dbaa927e3 Update svelte. 2022-11-12 22:47:16 -07:00
Bradley Shellnut
9f640c2543
Merge pull request #6 from BradNut/pagination
Pagination
2022-11-10 14:12:25 -06: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