Commit graph

328 commits

Author SHA1 Message Date
bdfc1dfd3f Updating dependencies, fixing search, fixing wishlist add and remove, fixing game page, not showing buttons on list of games, and adding helper components. 2023-08-13 22:12:02 -07:00
c4a141a1ff Moving collection and wishlist to the protected route, adding sheet with list options for profile on avatar click, adding show and update user profile. 2023-08-04 16:40:22 -07:00
49b7ad0d6f Adding Melt-ui until it gets integrated into Shadcn-svelte and using for header avatar dropdown. Upgrading to Prisma 5 and other dependencies. Adding profile and protected routes. 2023-08-01 14:01:24 -07:00
1a4aa13e69 Adding disclaimer to signup without email and using a specific schema defined in zod-schema. 2023-07-30 22:24:33 -07:00
b2c118171b Adding Collapsible component and using for optional fields on signup. 2023-07-30 18:18:39 -07:00
a32adc3ae8 Rename db folder to server, remove levelup dependencies, add sveltekit flash message, add toast library, and use both on signup. 2023-07-30 16:31:39 -07:00
a62bd44279 Fixed search page. 2023-07-29 23:48:22 -07:00
1f1d9d7838 Update Lucia to V2, add APIs for user interactions, and fix anything to get the build working. 2023-07-29 22:00:51 -07:00
4905ee152c Update to Svelte 4. 2023-07-18 14:26:41 -07:00
b6b9c36466 Adding APIs for different actions to consume down the line in refactor. 2023-07-18 14:23:45 -07:00
4a803998c6 Adding card and radio-group, update deps, remove all custom css for now, add in theme from user and in layout, and change game to shad card. 2023-07-02 23:04:33 -07:00
9c71c3664f Alert on login failure and starting light/dark mode change. 2023-07-01 16:12:17 -07:00
f80b8f5391 Changing errors to a descructive color. 2023-06-30 16:02:45 -07:00
3d99710eb8 Adding shadcn-svelte, updating to tailwind, using tailwind in postcss, removing headless-ui references, comment out custom css, and adding UI comonents to signup / signing. 2023-06-30 15:08:45 -07:00
d111482708 Showing different content based on logged in status. Probably not the best way. 2023-06-27 16:41:45 -07:00
b02609f009 Update packages, add to game types and mapping values, adding slug to publisher, and creating things when searching. 2023-06-25 23:14:26 -07:00
dd09cdf4c1 Adding confirm password on signup, fixing user creation, adding role on creation. 2023-06-20 11:55:21 -07:00
209acecbcc Remove code to add the role on signin. 2023-06-16 16:40:28 -07:00
48c16d7892 Comment out collection until I can fix it. Rewrite wishlist, create users with the default role, add seed roles, update the user with the default role if they don't have it. And other things. 2023-06-15 23:28:49 -07:00
734cee7a29 Updating dependencies, updating postcss to be cleaner, and fixing css code. 2023-06-01 22:22:34 -07:00
16aad6696d Fixing all the root imports, installing and adding logging based on auth example. 2023-05-28 23:34:39 -07:00
f35bddc27b Remove Skeleton and Tailwind for now until auth is done. 2023-05-25 22:18:37 -07:00
5fb94d5b54 Remove Skeleton for now on layout. 2023-05-25 22:12:39 -07:00
20d7a4f7eb Adding configs for Skeleton UI. 2023-05-24 21:19:08 -07:00
c53e5ffdc0 Fixing auth routes. 2023-05-23 23:28:23 -07:00
9584c708cd Adding auth to the site. 2023-05-20 22:18:04 -07:00
dd9fdb4fa0 Merge branch 'master' of github.com:BradNut/boredgame into development 2023-05-14 21:11:00 -07:00
240bf4aa9e Adding superforms, image lazy loader, and image icons. 2023-05-14 21:08:30 -07:00
6bcf25a064 Add open-props dependency, update deps, add page transition via url and styles. 2023-05-05 15:53:35 -07:00
34a3526eaa Slowly fixing up games that don't have data because they are accessories or fun items with no player data etc. 2023-01-23 23:20:16 -08:00
0cabb2f466 Adding binary search and using in add sorted for stores. 2023-01-22 22:39:32 -08:00
185466c2a2 Moving env viewport variables, using in game grid, remove css, and fix up consistent spacing for the game card. 2023-01-16 23:07:15 -08:00
3c845a7800 Just using webcomponent version of iconify. 2023-01-16 13:52:39 -08:00
141ec7fae6 Adding SSR for iconify icons, adding necessary icon packs, and adding min max width height. 2023-01-15 23:32:49 -08:00
4e07fc22f9 Change cog icon to iconify. 2023-01-15 21:39:29 -08:00
c088048411 Simplify buttons on game page and reactive button text. 2023-01-15 13:38:13 -08:00
d2ab315978 Introduce custom media queries and add iconify icons. 2023-01-13 21:13:59 -08:00
103690fbbc Fixing url on link with icon and fixing nulls on playtime/players. 2023-01-08 21:50:05 -08:00
18dd5640de Fix price on view game page and add fields to fetch on random game. 2023-01-08 11:46:22 -08:00
Bradley Shellnut
2d41149744
Add price to select API call 2023-01-08 00:51:23 -08:00
554c28945f Fixing select fields on the API calls. 2023-01-08 00:35:40 -08:00
9f74e58a56 Only requesting the fields needed on a game. 2023-01-07 18:03:41 -08:00
a482df809a Format details buttons. 2023-01-07 16:33:00 -08:00
001ca931b5 Update packages and game details. 2023-01-07 16:12:55 -08:00
ddc4e5546c Add editorconfig for JetBrains products and remove some unused code. 2022-12-29 14:10:28 -08:00
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
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
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
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
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
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
Bradley Shellnut
cfa9a71503
Adding analytics component to the base layout 2022-10-29 12:48:57 -05: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
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
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
ee71a9b6c6 Starting merge of advanced search into main text search. 2022-08-02 22:37:21 -07:00
Bradley Shellnut
4036071bce Format a bit and remove console logs. 2022-08-01 23:26:57 -07:00
Bradley Shellnut
d1089a36cb Testing set collection from local storage from layout. 2022-08-01 18:58:38 -07:00
Bradley Shellnut
6973c09b32 Undo read from local storage for the time being. 2022-08-01 17:25:05 -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
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
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
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
f0691b9936 Using custom game store and updating colors of links. 2022-07-12 18:27:08 -07:00
Bradley Shellnut
d54b9a1877 Fixing show hide to be slightly better. 2022-07-11 19:53:50 -07:00
Bradley Shellnut
c445583f2c Fixing build error. 2022-07-11 17:14:56 -07:00
Bradley Shellnut
8ac46286de Removing unused selectors more. 2022-07-11 17:09:00 -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
05f29b2775
Moving description to section 2022-07-10 23:54:58 -07:00
Bradley Shellnut
d21729e3a2 Testing see more see less. 2022-07-10 23:28:15 -07:00
Bradley Shellnut
462b0b5310 feat: Game page linked from home page 2022-07-10 21:17:59 -07:00
Bradley Shellnut
3c1cd6e13d
Media query for mobile 2022-07-10 12:55:30 -07:00
Bradley Shellnut
ce62df044a
Try grid columns 2022-07-10 12:51:44 -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
eff1d2e817 H3 is white. 2022-07-08 15:55:33 -07:00
Bradley Shellnut
ea725c37ab Adding loader animation. 2022-07-08 15:16:30 -07:00
Bradley Shellnut
cdc243b264 Fixing game search width. 2022-07-08 12:23:05 -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
4a0698d9e3 Add favicon and bored game icon. 2022-07-07 15:17:05 -07:00
Bradley Shellnut
18e7cb1992 Format with built in prettier format rules. 2022-07-07 12:32:55 -07:00
Bradley Shellnut
ff536be706 refactor: 🎨 Update to latest Svelte Kit and update for using Vite 2022-07-07 12:30:14 -07:00
Bradley Shellnut
4790a62720 chore: ⬆️ Upgrade dependencies and change readme 2022-07-05 17:15:37 -07:00
Bradley Shellnut
9c1e2e9be5 Updating dependencies and starting styling of game details. 2022-06-22 17:52:22 -07:00
Bradley Shellnut
4f03b02082 Fix labels. 2022-06-03 17:47:09 -07:00
Bradley Shellnut
3a7125f288 refactor: 💄 Update deps and changing board search 2022-05-17 00:28:38 -07:00
Bradley Shellnut
94b932284d Using only headless ui. 2022-05-15 23:42:50 -07:00
Bradley Shellnut
f1f0512201 Adding headless ui for testing and test on single page. 2022-05-01 22:39:39 -07:00
Bradley Shellnut
a48654ede5 Using Game component and adding transitions, styles, etc. 2022-04-24 18:00:27 -07:00
Bradley Shellnut
6b2a529abe Fix posting data to board game endpoint. 2022-04-24 16:38:12 -07:00
Bradley Shellnut
8e2257ee79 Adding logic start for exact search. 2022-04-21 17:19:48 -07:00
Bradley Shellnut
2a5eafdc1a Adding separate endpoint for fetching games. 2022-04-20 19:41:26 -07:00
Bradley Shellnut
ea533499f2 Adding calls to board game site. 2022-04-19 19:15:46 -07:00
Bradley Shellnut
dae3a6f703 Adding api at index for search. 2022-04-18 23:33:45 -07:00
Bradley Shellnut
d2da1297f3 refactor: 🎨 Updating and trying out barbon components 2022-04-18 19:43:54 -07:00
Bradley Shellnut
ce1f62311e First commit 2022-01-27 21:27:12 -08:00