From db6d8387964323269625ec55c0ec84168beef493 Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 16 May 2024 16:31:18 +0200 Subject: [PATCH] Remove toast components and added register form The toast related components (toast.tsx, toaster.tsx, use-toast.ts) were removed from the code base. On the other hand, the register-form.tsx file was updated with a form for users to create an account. A new file toast-box.tsx was also added to display a custom message box. --- .../shelved.patch | 72 + ...e_Update_at_5_16_24__8_59_AM__Changes_.xml | 4 + .idea/workspace.xml | 19 +- pnpm-lock.yaml | 2229 +++++++---------- src/app/layout.tsx | 36 +- src/app/threads/page.tsx | 16 + src/components/legals.tsx | 15 + src/components/login-form.tsx | 56 +- src/components/register-form.tsx | 155 +- src/components/ui/toast-box.tsx | 63 + src/components/ui/toast.tsx | 129 - src/components/ui/toaster.tsx | 35 - src/components/ui/use-toast.ts | 194 -- 13 files changed, 1295 insertions(+), 1728 deletions(-) create mode 100644 .idea/shelf/Uncommitted_changes_before_Update_at_5_16_24,_8_59_AM_[Changes]/shelved.patch create mode 100644 .idea/shelf/Uncommitted_changes_before_Update_at_5_16_24__8_59_AM__Changes_.xml create mode 100644 src/app/threads/page.tsx create mode 100644 src/components/legals.tsx create mode 100644 src/components/ui/toast-box.tsx delete mode 100644 src/components/ui/toast.tsx delete mode 100644 src/components/ui/toaster.tsx delete mode 100644 src/components/ui/use-toast.ts diff --git a/.idea/shelf/Uncommitted_changes_before_Update_at_5_16_24,_8_59_AM_[Changes]/shelved.patch b/.idea/shelf/Uncommitted_changes_before_Update_at_5_16_24,_8_59_AM_[Changes]/shelved.patch new file mode 100644 index 0000000..c921d3c --- /dev/null +++ b/.idea/shelf/Uncommitted_changes_before_Update_at_5_16_24,_8_59_AM_[Changes]/shelved.patch @@ -0,0 +1,72 @@ +Index: .idea/workspace.xml +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP +<+>\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {\n "associatedIndex": 2\n}\n \n \n \n {\n "keyToString": {\n "ASKED_ADD_EXTERNAL_FILES": "true",\n "ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",\n "RunOnceActivity.ShowReadmeOnStart": "true",\n "last_opened_file_path": "/home/avnyr/workspace/Simplon/brief-06-front",\n "node.js.detected.package.eslint": "true",\n "node.js.detected.package.tslint": "true",\n "node.js.selected.package.eslint": "(autodetect)",\n "node.js.selected.package.tslint": "(autodetect)",\n "nodejs_package_manager_path": "npm",\n "npm.dev.executor": "Run",\n "settings.editor.selected.configurable": "preferences.pluginManager",\n "ts.external.directory.path": "/home/avnyr/workspace/Simplon/brief-06-front/node_modules/typescript/lib",\n "vue.rearranger.settings.migration": "true"\n }\n}\n \n \n \n \n \n