Commit graph

194 commits

Author SHA1 Message Date
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
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
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
5a8726f7f0 Update prisma models for table names, adding user roles, and updating lucia for these changes. 2023-06-20 11:54:47 -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
3d5ad975ec Updating auth and zod schemas. 2023-05-25 22:10:31 -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
fe0b128eb4 Use the env script as a whole just in case the script fully changes. 2023-04-24 17:47:19 -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
018a5db3d3 Fix margin on link with icon. 2023-01-13 22:54:28 -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
554c28945f Fixing select fields on the API calls. 2023-01-08 00:35:40 -08:00
001ca931b5 Update packages and game details. 2023-01-07 16:12:55 -08:00
4ca9e4a4fd Keeping utility for accordion and observer for the future. 2022-12-31 16:18:08 -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
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
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