TODO: [x] Use the user id from Clerk as the ID for the lifts [x] Create an add lift form with React Server Actions [x] Clean up the components [x] Correctly revalidate the path after the post is made [x] Optimistically update the UI [x] The list should display the user name [x] Create a select for the lift type [x] Consolidate components [x] Add unit kgs/lbs to the form [x] Update the form to be a Shadcn/ui form [x] Improve the design for bench press entries [x] Improve the design of the lift list [x] Display data by lifts in the database [x] Group lifts by the lift type [x] Add a rank to the table [x] show a max of 5 records per table and scroll after that [x] Improve the date formatting [x] Deploy so that other users can enter their information [x] Drop the date column from the Table [x] Display only the top logs by lift, user, reps, sets [x] Fix the ordering issue [x] Delete dummy data [x] Implement the Shadcn Form component [x] Update lift selector [x] Update the Top Nav to work on Mobile [x] Create My Lifts page [x] Fix TypeScript errors and improve definitions [x] Create different table types [x] Sort records by date [x] Format the date to friendlier string of text [x] Improve the column width by making the rank, reps, and set more narrow and giving the weight a min-width [x] Abbreviate the date selection input [x] Make date input full width on mobile [x] Align dates to the right in My Logs [x] Display tops 5 [x] Improve column size [x] Add analytics [x] Put the form in a drawer to show and hide it [x] Make the add lift available in both pages. [x] Improve how the add log button look in dark and light mode [x] Add shadow to the button [x] Add a Toast to appear after users successfully add a lift [x] Update the table to be a Data Table instead of the basic Shadcn table [x] Add charts for their logs [x] Reveal charts after 5 lifts have been logged [x] Enabled horizontal scroll for the lift tabs and removed the scrollbar [ ] Create Card Stats
- PR
- Label
- Icon
- Max Weight
- Description
[ ] Put the page links in a hamburger menu on mobile [ ] Add Top Loader https://www.youtube.com/shorts/xYgB5pql2w8 [ ] Prevent the system styles from effecting the UI (fix it to dark mode) [ ] Review Drizzle Docs [ ] Allow users to enter the age [ ] Allow users to view only their lift logs [ ] Add filters to the Logs so users can see how they compare to others [ ] Allow users to edit individual lifts [ ] Add random unicorns [ ] Add a cancel button to the drawer [ ] Add a tooltip to the add log button