Harkirat Singh
1a598cd502
Fix Starter-example README.md ( #300 )
...
* Fix Starter-example README.md
* Update dashboard/starter-example/README.md
---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-30 13:10:44 +00:00
Lee Robinson
44b3b1f37c
Address some feedback. ( #233 )
2023-10-27 10:26:16 -05:00
Michael Novotny
bcceeb71ab
Readme updates ( #231 )
...
* Readme updates
* Fix link
2023-10-26 19:05:18 -05:00
Stephanie Dietz
162d59256e
Learn run through 💅🏼 ( #230 )
...
* remove auth sign out form side anv
* remove unused clsx
* comment out code
* comment out code that throws error when trying to deploy to vercel
* Remove vercel emails
* comment out more code so it will deploy to vercel
* Include AUTH_URL
* add notes to commented out code
* Add bcrypt
* Use .env instead of .env.local
* Update types
* Move skeletons
* Update import
* Delete search functionality
* More fixes
* Misc fixes
* Update login-form.tsx
* Update table.tsx
* Update eslint
* eslint fix
* formatting
---------
Co-authored-by: Delba de Oliveira <delbabrown@gmail.com >
2023-10-26 16:38:00 -06:00
Stephanie Dietz
ef82a24b33
remove npm lock file ( #229 )
2023-10-26 12:57:19 -05:00
Delba de Oliveira
82f2fae791
Add starter example ( #225 )
...
* Duplicate starter
* Remove code for chapter 16
* Add code for chapter 15
* first 3 chapters
* Remove routes and actions
* chapter 3
* Chapters 12-13
* chapter 5
* Revert "Chapters 12-13"
This reverts commit b6da764d85 .
* re-add Link to page
* chapter 5
* chapter 6
* Chapter 11 and 12
* chapter 7
* Revert
* Chapter 11
* Remove PPR flag
* chapter 8
* Chapter 9
* switch from pnpm to npm
* 💅
* Create pnpm-lock.yaml
* build errors
* Fix
* Fix
* Update next
* Update nextauth
---------
Co-authored-by: StephDietz <steph.dietz@vercel.com >
2023-10-26 12:49:57 -05:00
Delba de Oliveira
9044c85918
Fix broken images, remove unused assets, update types, polish ( #224 )
...
* Update next to canary
* Update layout.tsx
* Use canary
* Remove serverActions flag warning
* Use unstable_noStore
* Add Date.now() test
* Update metadataBase url
* Create wrapper component for Cards
* Update page.tsx
* Misc
* Delete unused data fetch
* Add noStore to /invoices and /customers functions
* Remove date.now()
* Use canary
* Rename component
* Fix imports
* Update types for useFormStatus and useFormState
* Rename folder, add team members
* fixed images and added login button pending state
* Update dashboard/final-example/app/lib/data.ts
Co-authored-by: Matt Kane <m@mk.gg >
---------
Co-authored-by: Steven Tey <stevensteel97@gmail.com >
Co-authored-by: Matt Kane <m@mk.gg >
2023-10-26 09:31:48 -06:00
Delba de Oliveira
3814b8d96b
Prep for PPR and Polish ( #215 )
...
* Update next to canary
* Update layout.tsx
* Use canary
* Remove serverActions flag warning
* Use unstable_noStore
* Add Date.now() test
* Update metadataBase url
* Create wrapper component for Cards
* Update page.tsx
* Misc
* Delete unused data fetch
* Add noStore to /invoices and /customers functions
* Remove date.now()
* Use canary
* Rename component
* Fix imports
* Update types for useFormStatus and useFormState
* change react types due to https://github.com/DefinitelyTyped/DefinitelyTyped/issues/66841
---------
Co-authored-by: Steven Tey <stevensteel97@gmail.com >
2023-10-26 14:06:35 +01:00
Balázs Orbán
f8adecb7a4
Match NextAuth config with the course ( #221 )
...
* Create .env.local.example
* changes
* Update page.tsx
* Update definitions.ts
* wip signin validation
* fix validation in action
* fix
* remove import
* change
* update
* change
* added button state
* improved UI
---------
Co-authored-by: Steven Tey <stevensteel97@gmail.com >
2023-10-25 23:53:07 +01:00
Michael Novotny
978ce53dd8
Full code review changes ( #222 )
...
* Full code review changes
* Adds link
* Removes the x
* Update dashboard/15-final/README.md
* Update dashboard/15-final/app/lib/placeholder-data.js
* Update dashboard/README.md
* Update dashboard/README.md
---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-25 15:21:22 +01:00
Balázs Orbán
abf301951d
feat: update to next-auth v5 ( #219 )
...
* Update to latest + refactoring.
* idk, fuck it
* Trying to make it work
* add `next-auth` fixes (#211 )
Co-authored-by: Balázs Orbán <info@balazsorban.com >
* Another one
* test
* bump `next` and `next-auth`, `bcrypt` -> `bcryptjs`
* simplify
* upgrade types
* add basic html form validatoin
* add zod validation
* update
* remove non next-auth changes
* revert
* revert
* revert
* revert
* uses bcrypt
* fix imports
* tweaks
* revert
* revert
* revert
---------
Co-authored-by: Lee Robinson <lrobinson2011@gmail.com >
Co-authored-by: Delba de Oliveira <delbabrown@gmail.com >
2023-10-25 00:14:12 +01:00
Stephanie Dietz
adb37fa72e
add amy and balazs to our customers table ( #220 )
2023-10-24 15:55:49 -06:00
Michael Novotny
26203163d0
Replaces dummy with placeholder ( #217 )
...
* Replaces `dummy` with `placeholder`
* Fix lockfile?
2023-10-20 22:59:52 +01:00
Delba de Oliveira
16659fc5d9
Update vercel/postgres ( #213 )
2023-10-19 09:38:39 -05:00
Delba de Oliveira
a4d66e6527
Add basic metadata and update OG image ( #212 )
...
* Bump nextauth
* Move data fetching function to data.ts
- We don't ask the user to add this in the chapter
* Fix imports
* Misc
* Addd metadata
* Add new OG image
2023-10-19 09:37:54 -05:00
Delba de Oliveira
f53d117332
Update error page styles ( #210 )
...
Co-authored-by: Stephanie Dietz <49788645+StephDietz@users.noreply.github.com >
2023-10-12 08:59:43 -05:00
Delba de Oliveira
24ac91ac03
Fix form bugs ( #209 )
...
* Move breadcrumbs
* Update definitions
* Update breadcrumbs.tsx
* Move redirect outside try/catch block
* Update forms
2023-10-12 08:54:02 -05:00
Delba de Oliveira
3d5c36a6e6
Move breadcrumbs from <Form> up to the <Page> ( #208 )
...
* Move breadcrumbs up to page
* Use default exports
* Remove extra divs
2023-10-12 08:21:37 -05:00
Delba de Oliveira
c6413f9037
Add table loading skeletons and move data fetching down ( #207 )
...
* Use tailwind variants
* Move data fetching down
* Add table skeleton
* Update pagination data fetching
* Fix skeleton layout shift
* Add key to suspense to trigger it on subsequent navigation
2023-10-10 14:04:46 +01:00
Delba de Oliveira
728368d712
Fix pagination bugs and refactor/abstract styling logic ( #205 )
...
* Simplify TS
* Abstract away pagination logic
* Clean up
* Fix bugs and refactor styling logic
* Add comments
* Fix border bug for single page
* Fix search pagination
2023-10-09 16:59:24 +01:00
Stephanie Dietz
1e59e865f2
Truncate pagination ( #200 )
...
* fix pagination bug
* fix hover bug on active page
2023-10-09 10:43:26 +01:00
Delba de Oliveira
4be9de1269
Stream Latest Invoices ( #202 )
...
Co-authored-by: Stephanie Dietz <49788645+StephDietz@users.noreply.github.com >
2023-10-06 09:58:05 -05:00
Delba de Oliveira
cf85adfbc5
Improve contrast on skeletons ( #201 )
...
* Darken skeletons for screenshots
* Fix shimmer bug
* Add delay
* Use 3 secs
2023-10-06 09:42:31 -05:00
Delba de Oliveira
3f2a2ae845
Clean up 💅🏼 ( #198 )
...
* Use string literals
* Use 666 for evil rabbit
* Delete extra logo
* Use consistent pixels for images
* Update button.tsx
* Fix 666 mistake
2023-10-06 14:28:42 +01:00
Stephanie Dietz
c1054b5406
update loading skeletons to match new UI ( #199 )
...
* update loading skeletons
* fix loading skeleton spacing
2023-10-05 12:00:48 -05:00
Delba de Oliveira
11b0e7c69d
Combine data fetches for cards ( #197 )
2023-10-05 15:18:08 +01:00
Emil Kowalski
e4dc33e944
Update customers view ( #196 )
...
* Update tables
* Add new customers, add search, polish
* Make search reusable, update customers
* polish
2023-10-05 09:16:12 +01:00
Stephanie Dietz
32a3529efa
Update the UI for the invoices page. ( #191 )
...
* table ui / invoice page
* add mobile table styling
* move css styles to parent
* resolve comments
* move create button to be inline with search
* remove hey from table lol
* fix awkward mobile scrolling
---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-04 13:37:21 -05:00
Emil Kowalski
36a6ef35f6
Update create invoice view ( #192 )
...
* Update create invoice view
* Update edit view
* Update lock file
* Update lock file
* Update sidebar styles
* Update
* Move breadcrumbs to a separate file
* Polish sidebar/mobile
* Add middleware back
---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-04 17:18:30 +02:00
Delba de Oliveira
72733c9e07
Add geist blue ( #195 )
2023-10-04 13:19:28 +02:00
dependabot[bot]
b9c9aee9bb
Bump postcss from 8.4.28 to 8.4.31 in /dashboard/15-final ( #189 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.28 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.28...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-04 09:19:22 +01:00
dependabot[bot]
f2a0cab1ed
Bump postcss from 8.4.28 to 8.4.31 ( #190 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.28 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.28...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-04 09:16:29 +01:00
Delba de Oliveira
50f900f1bb
Fix landing page bug ( #188 )
...
* Update page.tsx
* Update page.tsx
2023-10-04 09:11:11 +01:00
Stephanie Dietz
ccc61ed90b
add favicon and og image ( #183 )
...
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-04 09:08:57 +01:00
Emil Kowalski
6feda66199
Add login screen ( #186 )
...
* Add login screen
* Update lock fil
* Polish the view
* Update ui
---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-03 18:33:04 +02:00
Stephanie Dietz
9e217511b4
dash home page UI ( #185 )
...
* dash home page UI
* add lusitana font
* move fonts file to ui
* Update dashboard/15-final/app/ui/dashboard/latest-invoices.tsx
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
* Update dashboard/15-final/app/dashboard/(overview)/page.tsx
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
* merge main
---------
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com >
2023-10-03 09:31:49 -05:00
Delba de Oliveira
1180db9b88
Add landing page ( #187 )
...
* Re-organize
* Add images
* Delete background-blur.tsx
* Create acme-logo.tsx
* Create fonts.ts
* Update page.tsx
* Update page.tsx
* Use 4x image
* Update page.tsx
---------
Co-authored-by: Stephanie Dietz <49788645+StephDietz@users.noreply.github.com >
2023-10-03 09:17:46 -05:00
Stephanie Dietz
8f68049213
update side nav with new ui ( #184 )
...
* update side nav with new ui
* fix margin and spacing
* move svg into tsx file and fix nav link y spacing
2023-10-03 09:12:52 -05:00
Delba de Oliveira
81541034fd
Update landing page text ( #182 )
2023-10-02 11:49:14 -05:00
Delba de Oliveira
da17909352
Add Code for Chapter 12 - Accessibility and Form Validation ( #180 )
2023-10-02 10:43:55 -05:00
Delba de Oliveira
e5af71ca45
Code for Chapter 11 - Error Handling ( #178 )
2023-10-02 10:06:07 -05:00
Delba de Oliveira
b0d832e2cf
Code for Chapters 9-10 ( #172 )
2023-10-02 09:26:13 -05:00
Michael Novotny
68be8ee164
Renames globals.css → global.css ( #181 )
...
* Renames `globals.css` → `global.css`
* Missed one
2023-09-28 14:27:59 +01:00
Stephanie Dietz
c478aa149b
Adds auth to dashboard using NextAuth ( #173 )
2023-09-27 15:23:12 -05:00
Delba de Oliveira
38725bc4e9
Fix loading skeleton bug ( #169 )
2023-09-21 08:09:56 -05:00
Delba de Oliveira
2897b290d3
Simplify invoices table.tsx component ( #166 )
...
* Rename file and add data fetches for overview page
* Rename calculations.ts to utils.ts
* Update code to match course
* Add temporary calculation
* Fix error
* Move types to data fetching file
* Add error handling
* Parallelize data fetches
* Add skeletons
* Add delayed data request
* Fix ts errors
* Code for chapter 8
* Fix error
* Clean up
* Move formatDateToLocal to utils file
* Extract add invoice button
* Extract edit invoice button
* Extract InvoiceStatus
* Use formatCurrency from utils
* Misc
* Use outline icon
* outline!
* Rename table-search to search
2023-09-19 13:24:38 -05:00
Delba de Oliveira
24bcb816e5
Add code for chapters 7-8 ( #164 )
...
* Rename file and add data fetches for overview page
* Rename calculations.ts to utils.ts
* Update code to match course
* Add temporary calculation
* Fix error
* Move types to data fetching file
* Add error handling
* Parallelize data fetches
* Add skeletons
* Add delayed data request
* Fix ts errors
* Code for chapter 8
* Fix error
* Clean up
---------
Co-authored-by: Stephanie Dietz <49788645+StephDietz@users.noreply.github.com >
2023-09-19 12:55:02 -05:00
Stephanie Dietz
2ccc7c6461
Removes unnecessary search state ( #165 )
2023-09-19 09:15:25 -05:00
Stephanie Dietz
f4239681ad
Fix search bug in table ( #163 )
...
* add database to project. Seed data. Update customerId to customer_id
* seed customers table data
* use database everywhere
* refactor
* fix ts lint errors
* add type to invoice edit page
* remove fetch-data file and fetch data directly in components
* update lates invoices to use sql
* in invoice table, search the database here with SQL
* rename tsx files to ts and add node script to seed data
* address rest of PR comments
* move all data fetches to own file
* add types to filter invoices function
* remove unused param
* prettier
* update function names
* switch page back to one when search param changes
* make input auto fill with current search query on page reload
2023-09-13 12:22:45 -05:00
Stephanie Dietz
7e4b69351e
Add database ( #153 )
...
* add database to project. Seed data. Update customerId to customer_id
* seed customers table data
* use database everywhere
* refactor
* fix ts lint errors
* add type to invoice edit page
* remove fetch-data file and fetch data directly in components
* update lates invoices to use sql
* in invoice table, search the database here with SQL
* rename tsx files to ts and add node script to seed data
* address rest of PR comments
* move all data fetches to own file
* add types to filter invoices function
* remove unused param
* prettier
* update function names
2023-09-13 12:16:09 -05:00