Added routes for userdash / meal_log, meal_plan, workout_log, workout_plan
Added filter to userdash by item name
Created API endpoints for adding, deleting, updating and finding records that access the collections.js class
Changed deletion modal to execute request in component and return json response to callback.
Created modals for adding fooditems and workouts to logs
Created method to add plans to a log of their type after completion
Can now mark plans items completed / incomplete
Views for workouts and fooditems
Collapsing tables to view nutritional information of fooditems e.g. carbs, fats, sugars, protein, calories
Centered register menu
69
Added pin show/hide to right of navbar
On desktop click the black box with ***** to reveal
On mobile click the icon to open a modal with the pin inside
37
Changed Nav (which will probably be scrapped in the future as far as I know) to be responsive
Made a hero component with welcome text
Included a button to sign up for membership
6 cards describing the gyms facilities for potential members (see user story 02 and use case 01 on docs)
Included a pricing table with 3 buttons for choosing your payment plan (all lead to the same sign-up page)
34
Error component
NotificationCentre/NotificationHandler
Success and error notifications on actions e.g incorrect login details
68
New responsive navbar
Navbar is now implemented in the layout.svelte, and will show on every page.
70
Login & Register now pages instead of components as single use unnecessary abstractions of route pages.
Login & Register no longer have <main class="h-screen"> as now taken care of by layout, this stops the pages from overflowing into the header on some devices.
19
Dashboard for items.
Dashboard Item Components, ready for integration with database info.
Dashboard items are split into mobile and desktop, due to different layouts.
Adjusted:
Changed component names to rectify naming conventions.
55
Forms are now responsive on all popular resolutions.
Forms are now dynamically sizing on mobile screens.
52
Changed css styling of items to account for any text overflow into ellipsis
Fixed issue with logout not working
Logs + plans now loaded into userdash from db
Title Modern Fit gym added to webpage
Replaced the avatar property on users with a link to their avatar img rather than the filename
Subtitles generated when items grabbed from db to render on page
Added shortcut of m to the navbar on userdash
CSS changed to use gradient colour scheme
Created api endpoints for adding and removing records in collections
Moved utils file out of server to both server and client
Added main wrapper in +layout.svelte to provide flex and gradient to all pages
Changed labelled input to use a 2 way bind
Added modal for creating a new meal log
Added a confirmation modal for deleting an item from the userdash
Creation item on userdash for workout and meal logs allowing users to create a new item
The current days workout log is highlighted green
Changes from James' feedback
Aligned menu bar and heading
Added a bigger gap between the inputs in the meal log modal
Created a modal to give users a brief overview of the userdash page
Added tooltips to icon buttons like delete and information
Changed date handling on workout logs from using record.created to parsing the name of the log as a datestring to allow for dummy dates from previous days.
59
Added expand to query
Changed get on pins to use id rather than for the user
Create pin now returns plaintext as well as record and success
Added tests for creating, getting and deleting pins
Merging dev to main userdash mvp complete.
Changes
75
54
69
37
34
68
70
<main class="h-screen">
as now taken care of by layout, this stops the pages from overflowing into the header on some devices.19
Adjusted:
55
52
Changes from James' feedback
59
Issues