Commit graph

142 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
391fba7955 Cleanup random API and create named action for a random search. 2022-12-26 23:15:41 -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
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
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
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
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
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
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
Bradley Shellnut
c416630aad Update deps and type themees. 2022-08-03 22:06:59 -07:00
Bradley Shellnut
ee71a9b6c6 Starting merge of advanced search into main text search. 2022-08-02 22:37:21 -07:00
Bradley Shellnut
470c0b051e Save and clear collection from storage. Load from user storage into collection store on page load. 2022-08-01 16:30:06 -07:00
Bradley Shellnut
5d61643dc2 Fix up exact checkboxes before search migration. 2022-07-28 18:03:21 -07:00
Bradley Shellnut
a56c8d9303 Minimize search text section. 2022-07-28 17:07:23 -07:00
Bradley Shellnut
f0f8137fd6 Fixing advanced search mobile screen width and global reset css changes. 2022-07-27 22:12:40 -07:00
Bradley Shellnut
daad2efe5e Format prettier and type checking. 2022-07-27 17:05:54 -07:00
Bradley Shellnut
1f847c91e7 feat: 🎨 Move collection functions to a util. Button to add on game page as well. Add icon component and feather icons.. 2022-07-27 16:16:50 -07:00
Bradley Shellnut
9bef4328cb Pairing down API Game response objects, spacing for buttons, start form cleanup. 2022-07-27 15:05:22 -07:00
Bradley Shellnut
7d775608cd Adding collection store, adding buttons to add/remove from collection, toast on add/remove, random button for collection. 2022-07-26 17:23:58 -07:00
Bradley Shellnut
bb1f51dcfd Updating toast component to have dismissible and timing options. 2022-07-26 17:23:28 -07:00
Bradley Shellnut
0fcf8cd858 Working on CSS for game component. 2022-07-25 19:04:05 -07:00
Bradley Shellnut
0d10bd8787 Moving searches to separate components. 2022-07-25 13:22:24 -07:00
Bradley Shellnut
f78e1a638e feat: Search for board game and remove box shadow on header. 2022-07-24 22:26:58 -07:00
Bradley Shellnut
2fdae4c315
Remove grid media query 2022-07-20 23:41:01 -07:00
Bradley Shellnut
4ea5535e8c Adding style padding to header and main. Fixing up some layout issues. 2022-07-20 23:20:32 -07:00
Bradley Shellnut
6bb8f0ea3b feat: 🎨 Header formatting, moved loading store to layout, add svelte toy to layout on dev. 2022-07-19 14:04:32 -07:00
Bradley Shellnut
c839694cdc Removing unused selectors. 2022-07-11 17:07:03 -07:00
Bradley Shellnut
a910cb518b feat: Show more less button and transistions 2022-07-11 17:00:32 -07:00
Bradley Shellnut
462b0b5310 feat: Game page linked from home page 2022-07-10 21:17:59 -07:00
Bradley Shellnut
82438416a1
Update columns, trying to not clip tge art 2022-07-10 00:14:10 -07:00
Bradley Shellnut
3b139919f4 feat: Different layout for games grid, in progress. 2022-07-09 23:34:01 -07:00
Bradley Shellnut
e20727d115 Moved header and toast to the components directory. 2022-07-08 23:50:55 -07:00
Bradley Shellnut
ea725c37ab Adding loader animation. 2022-07-08 15:16:30 -07:00
Bradley Shellnut
bff3b9be25 Fixing dropdown margin and home icon. 2022-07-08 12:25:44 -07:00
Bradley Shellnut
b39f8ef1de Adding transition component and adding to layout for page transitions. 2022-07-07 16:45:44 -07:00
Bradley Shellnut
18e7cb1992 Format with built in prettier format rules. 2022-07-07 12:32:55 -07:00
Bradley Shellnut
9c1e2e9be5 Updating dependencies and starting styling of game details. 2022-06-22 17:52:22 -07:00
Bradley Shellnut
756adf502c More testing with other's themes. 2022-06-08 17:47:34 -07:00
Bradley Shellnut
94b932284d Using only headless ui. 2022-05-15 23:42:50 -07:00