From 7f994b5c8fe99839d95ca6728eeb9275da91576a Mon Sep 17 00:00:00 2001 From: tunny17 Date: Mon, 31 Jul 2023 17:20:04 +0000 Subject: [PATCH] CLASSROOMIO-T-27 CLASSROOMIO-T-27: Remove unused variable Merge branch 'CLASSROOMIO-T-27' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-27 CLASSROOMIO-T-27: Complete reviews functionality CLASSROOMIO-T-27: Review Render Update CLASSROOMIO-T-27: - Resolved Feedbacks CLASSROOMIO-T-27: Fixed Ratings Data CLASSROOMIO-T-27: - Added Ratings Svg - Fixed avatar_url feedback CLASSROOMIO-T-27: Import Adjustment CLASSROOMIO-T-27: Code Review CLASSROOM-T-27: Added Add Review Functionality CLASSROOMIO-T-27: - Unresolved Review - Enhance Code Redability CLASSROOMIO-T-27: Completed the delete functionality CLASSROOMIO-T-27: Hide/Show functionality CLASSROOMIO-T-27: Double Quotation Update CLASSROOMIO-T-27: Testing toggle functinality CLASSROOMIO-T-27: Added the icons CLASSROOMIO-T-27: Completion of the hide/show functionality CLASSROOMIO-T-27: Display the store data on the review page for styling CLASSROOMIO-T-27: Styling of the review component & connecting it's data CLASSROOMIO-T-27: - Add ReviewsForm - Completion of the Reviews Form Structure/Styling CLASSROOMIO-T-27: Added a reviews modal CLASSROOMIO-T-27: Logic update for review section CLASSROOMIO-T-50: Logic for overlapping reviews CLASSROOMIO-T-27: - Completion of the structure & styling with mock data. - Addition of custom ratings assets CLASSROOMIO-T-27: - Review Section Code Structure - Import Profile Picture Assets Co-authored-by: Rotimi Best Co-authored-by: Tunji Adeyemi Co-authored-by: tunny17 Merge-request: CLASSROOMIO-MR-26 Merged-by: Best Admin --- .vscode/settings.json | 10 +- .../components/Editor/ReviewFormEditor.svelte | 99 ++++++++++ .../components/Editor/ReviewsForm.svelte | 144 ++++++++++++++ .../components/Editor/index.svelte | 29 ++- src/components/CourseLandingPage/constants.ts | 5 + src/components/CourseLandingPage/index.svelte | 184 +++++++++++++++++- src/components/CourseLandingPage/store.js | 16 ++ src/components/Form/TextField.svelte | 4 + src/components/UploadImage/index.svelte | 4 + src/utils/functions/app.js | 2 + src/utils/functions/validator.js | 2 +- src/utils/types/index.ts | 11 ++ static/images/rating-1.svg | 7 + static/images/rating-2.svg | 7 + static/images/rating-3.svg | 7 + static/images/rating-4.svg | 7 + static/images/rating-5.svg | 7 + 17 files changed, 538 insertions(+), 7 deletions(-) create mode 100644 src/components/CourseLandingPage/components/Editor/ReviewFormEditor.svelte create mode 100644 src/components/CourseLandingPage/components/Editor/ReviewsForm.svelte create mode 100644 static/images/rating-1.svg create mode 100644 static/images/rating-2.svg create mode 100644 static/images/rating-3.svg create mode 100644 static/images/rating-4.svg create mode 100644 static/images/rating-5.svg diff --git a/.vscode/settings.json b/.vscode/settings.json index 7a73a41b..359ff4e4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,2 +1,10 @@ { -} \ No newline at end of file + "prettier.jsxSingleQuote": true, + "prettier.singleQuote": true, + "svelte.plugin.svelte.format.config.singleQuote": true, + "editor.formatOnPaste": false, + "[svelte]": { + "editor.defaultFormatter": "svelte.svelte-vscode" +}, +"editor.formatOnSave": true, +} diff --git a/src/components/CourseLandingPage/components/Editor/ReviewFormEditor.svelte b/src/components/CourseLandingPage/components/Editor/ReviewFormEditor.svelte new file mode 100644 index 00000000..aca1f629 --- /dev/null +++ b/src/components/CourseLandingPage/components/Editor/ReviewFormEditor.svelte @@ -0,0 +1,99 @@ + + +
+ + + + + +