Commit Graph

189 Commits

Author SHA1 Message Date
Bartosz Trusiński
63b4f71f5a Fix: make UI skeleton look like its actual component (#620) 2024-06-23 17:57:59 -05:00
Delba de Oliveira
f8d9f39f44 Remove old team members (#744) 2024-06-23 11:33:55 -05:00
Delba de Oliveira
de76b00263 Replace useFormStatus and useFormState with useActionState (#748) 2024-06-19 03:41:51 -05:00
Delba de Oliveira
deca7c766f Add PPR (#745)
* Update to next v15, switch to pnpm

* Delete package-lock.json

* Add PPR

* Update to next@canary

* Update starter-example to next@canary

* Update file extension

* Update ts compiler options to match CNA

* Fix ts errors
2024-06-19 08:50:40 +01:00
Delba de Oliveira
58f9a68c6a Update Next 15 RC, React 19 RC, and use pnpm (#743)
* Update to next v15, switch to pnpm

* Delete package-lock.json
2024-06-11 13:28:44 -05:00
dependabot[bot]
b7a4366f68 Bump pnpm/action-setup from 2 to 3 (#591)
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2 to 3.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2...v3)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2024-02-23 14:22:25 +00:00
dependabot[bot]
b5ffc02581 Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.1 (#578)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.11.0...0.12.1)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
2024-02-23 14:21:11 +00:00
dependabot[bot]
6d9d173348 Bump actions/cache from 3 to 4 (#566)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 14:16:43 +00:00
Max
646898bc52 Fix: Typo in comment (#544)
* Fix: Typo in comment

Added missing word 'to'.

* Update comment in final-example

---------

Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
2024-01-08 12:36:50 +00:00
Balázs Orbán
e75f71499f chore: bump next-auth (#491)
* chore: bump `next-auth`

* shorten message
2023-11-29 12:44:04 +00:00
Ryota Murakami
7fc5092ca2 Update CustomersTable type definition (#466)
* Update CustomersTable type definition

* Update import statement in CustomersTable
component

* Update definition everywhere

---------

Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-28 10:32:07 +00:00
ernestd
b163626ded Fixes #480. Add missing alt attribute that breaks build (#482)
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-28 10:01:45 +00:00
warin
069263d2bc Update latest-invoices.tsx (#483)
* Update latest-invoices.tsx

removed "lg:col-span-4" tailwind class since there's already "md:col-span-4"

* Remove extra lg classnames

---------

Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
2023-11-28 09:57:04 +00:00
Delba de Oliveira
10684e2468 Papercuts (#472) 2023-11-20 09:50:11 -06:00
Delba de Oliveira
9d8df63d7e Fix radio input when system preference is set to dark (#458)
* Remove Tailwind dark: classes and focus:ring-gray

* Prettier fix
2023-11-17 16:35:52 +00:00
Mohammed Elzanaty
9874174ed4 feature: add prettier config (#452)
* chore: fix dashboard readme

* feat: add prettier config

* chore: update Node version requirement to 18.17.0

* Remove extra space

* Update @tailwind/forms

* Testing

---------

Co-authored-by: mohamed.elzanaty3 <mohamed.elzanaty3@vodafone.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
2023-11-16 17:52:29 +00:00
Stephanie Dietz
32607c93c9 Edits based on feedback (#410)
* remove Link component from page. This will be added later

* re-add the Link component. Turns out is was supposed to be there

* replace flex-grow with the new utility grow

* issue: https://github.com/vercel/next-learn/pull/415

* Add missing step

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
2023-11-16 09:22:40 -06:00
Luther Tchofo Safo
3d31555920 Update data.ts (#408)
* Update data.ts

Just a typo for 'Failed to fetch card data.'

* Update wording in final-example

---------

Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-16 15:02:16 +00:00
Delba de Oliveira
53f754109b Fix typo (#451) 2023-11-16 15:00:07 +00:00
Shinya Fujino
fc5605ca55 Fix newline placement in app/page.tsx (#376)
* Fix newline placement in app/page.tsx

* Fix import order

---------

Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-16 14:48:36 +00:00
Othella
03e5a415dd Fixed Sign out button full width in sidenav (#365)
* Fixed Sign out button with on sidenav

* Fix button width for final-example

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
2023-11-16 14:42:36 +00:00
Delba de Oliveira
45fcde471b Improve Form Error Accessibility (#450) 2023-11-16 08:27:20 -06:00
Mohammed Elzanaty
0a3dda242c chore: fix dashboard readme (#317)
Co-authored-by: mohamed.elzanaty3 <mohamed.elzanaty3@vodafone.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-16 14:25:21 +00:00
Ansul Agrawal
7dbcd94d4c Fix: Button Import (#298)
* Added Cursor Pointer and Fix Button Import

* Removed Cursor Pointer from text Input

* Removed From edit form also

* Prettier fix

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
2023-11-16 14:16:48 +00:00
Delba de Oliveira
18221b2f80 Update node versions for v14 (#446)
* Update minimum node version for server actions

* Update min node version for Next.js 14

* Update root
2023-11-15 19:58:21 +00:00
Delba de Oliveira
0a2b32dfc0 Upgrade Next.js + Papercuts (#441)
* Remove 'use client' as users will add it in the course

* Use consistent variable names as per React docs

* Remove alt tag

- This will error in the demo, to show them how `npm run lint` works

* Fix capitalization

* Upgrade next
2023-11-14 15:40:18 +00:00
Kenny Elshoff
c8398b19f3 fix: throw new error in fetchInvoiceById catch block (#423)
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-14 14:37:37 +00:00
Tyler Howard
c64f396fa9 Fix SQL formatting convention (#390) (#421)
Co-authored-by: Tyler Howard <22920537+Tyler98ky@users.noreply.github.com>
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-14 14:24:26 +00:00
Krom
1813c7dc45 Update table.tsx (#432)
Fix starter code to remove code that the course tells the user to notice and write themselves. Shows the intended error via "next lint".

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-11-13 17:11:07 +00:00
Krystian Mateusiak
6a9c3366fb Update page.tsx - fix typo (#433) 2023-11-13 17:08:08 +00:00
Wes
afe1f5d71a Fix the typo in the comments of seed.js (#402) 2023-11-07 12:17:55 +00:00
Delba de Oliveira
280bf655fa Add missing Arrow Icon (#397) 2023-11-06 16:29:23 -06:00
Alan Chou
a9077215a0 fix: typo (#358) 2023-11-03 09:26:01 -05:00
Steven Tey
888a13524a Fix Middleware matcher to make profile pics work (#355) 2023-11-03 12:27:23 +00:00
Ansul Agrawal
94f19a17aa Added Missing File favicon.ico and opengraph-image (#312)
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-10-31 16:55:40 +00:00
Delba de Oliveira
a910ad8f58 Rename Cards component to CardWrapper (#329)
* Rename <Cards/> to <CardWrapper/>

* Update starter-example
2023-10-31 11:15:00 -05:00
Delba de Oliveira
5a65b98034 Use bind instead of hidden field (#311)
* Use bind instead of hidden field

* Update actions.ts
2023-10-31 11:14:37 -05:00
Delba de Oliveira
8543a0d55f Fix .env filename (#330) 2023-10-31 09:25:29 -05:00
YukiOnishi
7a81783cb0 fix: revised to add env sample (#324) 2023-10-31 11:46:47 +00:00
Delba de Oliveira
9b33959335 Fix seed script (#314) 2023-10-30 15:27:29 -05:00
Delba de Oliveira
386dd877da Use absolute imports (#309) 2023-10-30 15:32:54 +00:00
Dennis Morello
1ac78462f2 fix: remove incorrect labels in radio groups (#269)
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-10-30 14:59:25 +00:00
Delba de Oliveira
7ff4d72154 Fix ESLint (#305)
* Add eslint

* Remove script

- The user will be adding it during the course
2023-10-30 09:31:50 -05:00
Delba de Oliveira
e8ba4d3200 Remove PPR flag, add noStore to fetchInvoiceById (#307)
* Remove PPR flag

* Add no store to fetchInvoiceById
2023-10-30 09:29:41 -05:00
Sukhvant Singh
e008e7a0e2 FIX #274 Eliminated extraneous letter 'S' from app/ui/invoices/create-form.tsx, located at line 60. (#280)
Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2023-10-30 13:20:38 +00:00
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