Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.12.0 #330

Merged
merged 168 commits into from
Mar 3, 2024
Merged

Release v1.12.0 #330

merged 168 commits into from
Mar 3, 2024

Conversation

Pjaijai
Copy link
Owner

@Pjaijai Pjaijai commented Mar 2, 2024

Major update:
Preview some posts on main page

marukosy124 and others added 30 commits October 25, 2023 23:23
* Feature/update backend setup on developer md (#104)

* Ignore local IDE config

* Update backend setup guidelines on developer.md

* Add supabase config guidelines

* Fix md syntax

* add CORS to edge func depending on the staging env

* add reply-to header to both contact email (#109)

* Feature/refactor search hook (#96)

* Refactor search hook in referral page

* Refactor referee search hook

* Remove useless import

* Refactor referee post

* Refactor referrer post search hook

* Remmove uesless import

* Change to error toast (#106)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* create new card component for referrer and referee; update card skeleton; add missing modules in tailwind

* add referral post card; update referral post pages

* update contact toUuid; minor ui fix

* add items-center to info display

* Show edit button on profile page if logged-in user is profile user

* Fix build error

* Fix typos

* Import as module path

* Module import

* Using Link instead of onurlclick

* Fix import

* Remove id slug user page

* Remove showEditButton props

---------

Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: Thomas Yau <yaucp@connect.hku.hk>
Co-authored-by: Thomas Yau <github@yaucp.dev>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
* Fix doc

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Adding max words length

* Feature/config email testing on local environment (#138)

* Remove (#92)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#137] Config email testing on local environment

* Fix .env variable name

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/cc sender when sending email (#140)

* Add sender email to cc

* Updating reminder text in contact dialog

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding type from supabase (#124)

* Adding supabase type

* Adding workflow files

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding initial data (#125)

* Adding initial data

* Update

* update st johns value

* Update

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp card (#135)

* Feature/update backend setup on developer md (#104)

* Ignore local IDE config

* Update backend setup guidelines on developer.md

* Add supabase config guidelines

* Fix md syntax

* add CORS to edge func depending on the staging env

* add reply-to header to both contact email (#109)

* Feature/refactor search hook (#96)

* Refactor search hook in referral page

* Refactor referee search hook

* Remove useless import

* Refactor referee post

* Refactor referrer post search hook

* Remmove uesless import

* Change to error toast (#106)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* create new card component for referrer and referee; update card skeleton; add missing modules in tailwind

* add referral post card; update referral post pages

* update contact toUuid; minor ui fix

* add items-center to info display

* Show edit button on profile page if logged-in user is profile user

* Fix build error

* Fix typos

* Import as module path

* Module import

* Using Link instead of onurlclick

* Fix import

* Remove id slug user page

* Remove showEditButton props

---------

Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: Thomas Yau <yaucp@connect.hku.hk>
Co-authored-by: Thomas Yau <github@yaucp.dev>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>

* Refactor/fix all formart problem (#142)

* Fix doc

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Hotfix/fix post duplication (#144)

* Fix IUserResponse type

* Fix api

* Fix type

* Fix api

* House keep

* Fetch 3 per page in search referral api

* Fix search post api

* House keep

* fix type

* fix format

* Fix number of order per page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding tailwind plugin (#145)

* Adding prettier-plugin-tailwindcss and prettier

* Fixing formart

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Bugfix/Card UI (#160)

* fix card ui bugs; modify the contact button of referral post card in mobile

* chaneg relative paths to absolute

* Bugfix/fix contact dialog text (#156)

* Fix text

* fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix UI (#163)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Add word break (#162)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Doc/adding local db dev guidelines (#146)

* Updating docs for backend local dev

* Fix typo

* House keep

* fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* version bump to 1.4.0 (#167)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* create ISearchPostsRequest

* Refactor

* Adding year of experience min and max

* House keep

* Feature/config email testing on local environment (#138)

* Remove (#92)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#137] Config email testing on local environment

* Fix .env variable name

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp card (#135)

* Feature/update backend setup on developer md (#104)

* Ignore local IDE config

* Update backend setup guidelines on developer.md

* Add supabase config guidelines

* Fix md syntax

* add CORS to edge func depending on the staging env

* add reply-to header to both contact email (#109)

* Feature/refactor search hook (#96)

* Refactor search hook in referral page

* Refactor referee search hook

* Remove useless import

* Refactor referee post

* Refactor referrer post search hook

* Remmove uesless import

* Change to error toast (#106)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* create new card component for referrer and referee; update card skeleton; add missing modules in tailwind

* add referral post card; update referral post pages

* update contact toUuid; minor ui fix

* add items-center to info display

* Show edit button on profile page if logged-in user is profile user

* Fix build error

* Fix typos

* Import as module path

* Module import

* Using Link instead of onurlclick

* Fix import

* Remove id slug user page

* Remove showEditButton props

---------

Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: Thomas Yau <yaucp@connect.hku.hk>
Co-authored-by: Thomas Yau <github@yaucp.dev>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>

* Refactor/fix all formart problem (#142)

* Fix doc

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/fixing site config and using common layout (#172)

* Rename search page layout to common page layout

* refactor common layout

* Using common layout

* Remove margin top in create post template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* version bump (#175)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
Co-authored-by: Thomas Yau <yaucp@connect.hku.hk>
Co-authored-by: Thomas Yau <github@yaucp.dev>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
* Adding max words length

* Feature/config email testing on local environment (#138)

* Remove (#92)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#137] Config email testing on local environment

* Fix .env variable name

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/cc sender when sending email (#140)

* Add sender email to cc

* Updating reminder text in contact dialog

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding type from supabase (#124)

* Adding supabase type

* Adding workflow files

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding initial data (#125)

* Adding initial data

* Update

* update st johns value

* Update

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp card (#135)

* Feature/update backend setup on developer md (#104)

* Ignore local IDE config

* Update backend setup guidelines on developer.md

* Add supabase config guidelines

* Fix md syntax

* add CORS to edge func depending on the staging env

* add reply-to header to both contact email (#109)

* Feature/refactor search hook (#96)

* Refactor search hook in referral page

* Refactor referee search hook

* Remove useless import

* Refactor referee post

* Refactor referrer post search hook

* Remmove uesless import

* Change to error toast (#106)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* create new card component for referrer and referee; update card skeleton; add missing modules in tailwind

* add referral post card; update referral post pages

* update contact toUuid; minor ui fix

* add items-center to info display

* Show edit button on profile page if logged-in user is profile user

* Fix build error

* Fix typos

* Import as module path

* Module import

* Using Link instead of onurlclick

* Fix import

* Remove id slug user page

* Remove showEditButton props

---------

Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: Thomas Yau <yaucp@connect.hku.hk>
Co-authored-by: Thomas Yau <github@yaucp.dev>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>

* Refactor/fix all formart problem (#142)

* Fix doc

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Hotfix/fix post duplication (#144)

* Fix IUserResponse type

* Fix api

* Fix type

* Fix api

* House keep

* Fetch 3 per page in search referral api

* Fix search post api

* House keep

* fix type

* fix format

* Fix number of order per page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding tailwind plugin (#145)

* Adding prettier-plugin-tailwindcss and prettier

* Fixing formart

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Bugfix/Card UI (#160)

* fix card ui bugs; modify the contact button of referral post card in mobile

* chaneg relative paths to absolute

* Bugfix/fix contact dialog text (#156)

* Fix text

* fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix UI (#163)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Add word break (#162)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Doc/adding local db dev guidelines (#146)

* Updating docs for backend local dev

* Fix typo

* House keep

* fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* version bump to 1.4.0 (#167)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* add post details page

* fix page status layout bugs

* Rename params from postId to uuid

* refactor get post api and hook

* Rename post status enum

* Fixing type

* Add post status enum migration file

* Refactoring ReferralTypeZh

* Refactoring nested conditional components mounting

* Add doc

* Remove useless line

* fix card height inconsistent bug; fix post header floating bug; update CollapsibleTextWrapper to only show expand button when needed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Thomas Yau <yaucp@connect.hku.hk>
Co-authored-by: Thomas Yau <github@yaucp.dev>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
* Simplify referral -post card

* Clicking avatar redirect to user profile

* fix links on card not clickable issue; fix tooltip no center-aligned issue

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Remove post referee

* House keep

* Remove type input in post cerate page

* Remove badge

* Remove post referee

* House keep

* House keep

* House keep

* Move post component to post module

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* create page

* Create listPostByUserUuid api

* Create type

* Create list post api hook

* Create post

* Add no isloading

* Fix skeleton folder name and import path

* Fix IReferralPostCardProps

* Remove fragment from ReferralPostCard

* Adding status to PostHeader

* Rename created At helper

* Rename created at

* Create formate date helper

* create post history card

* Format

* Remove lines

* Add buttons to post history card

* House keep

* Adding skeleton

* house keep

* house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Use search params on filtering values

* add missing handleSubmitChange function in post referee template

* add missing key press function in post referee template

* move confirm button out of the search component

* update contributor list

* fix build error in post referee template
* create edit page

* Create edit post template

* adding uuid

* House keep

* Refactor post validation

* Update edit post validation schema

* Fix type

* fix status validation

* Fix select

* Update edit post page

* Adding setting initial value

* Remove line

* Make status select

* Rename hook post list

* Create update post api

* House keep

* Add user return hook

* Add update post policy migration file

* addd error hanlding

* Redirect to post detail page

* House keep

* House keep

* Adding create_on_post_update_function_and_trigger

* Fix path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Bug: These 2 files exist for no reason

* Feat: Added PWA configuration

* Feat: Adding manifest,json and icon

* Revert "Bug: These 2 files exist for no reason"

This reverts commit b0b1fe0.

* Fix skeleton file name

* install next pwa

* Adding config

* Fix manifest

* Add git config

* Feat: Added _document.js and added manifest in layout.tsx

* Update images and manifest

* Rename pwa config

* Update _document

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* [#192]
Set default color from _document.js
Fix the ul li key warning

* [#207]
Fix the ul li key warning as well

* Add myself as a contributor

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
* [#192]
Set default color from _document.js
Fix the ul li key warning

* [#207]
Fix the ul li key warning as well

* Add myself as a contributor

* [#209]
Simplify countryList, provinceList, cityList and industryList related logic
Remove unnecessary `as` usage in code

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Add metedata keywords

* Add generateMetadata to SSR pages
- Move profile templates to a separate file for client-side rendering

* Show not found if userUuid is null on profile page

* Clean code

* Add noindex & nofollow to policy & tnc pages

* Remove next/babel extension

* Fix build issues

* Add spacing to clickable elements to enhance SEO

* Improve accessibility by adding discernible text

* Edit contributor page

* Fix import as amended in latest dev branch

* fix typo

* Adding key words

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* add contributor (ken tung)

* update some formatting
* update post details page ui; add contact button; unify created at formatting

* update post details info components

* Fix format

* Fix merge mistake

* Adding edit post redirect link in post history card

* Refactor post view template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Adding site config

* Adding post history page title

* House keep

* Adding history icon

* Adding post history button to profile page

* Adding metadata

* House keep

* Fix seo metadata generation problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
pauljaijai and others added 13 commits February 21, 2024 21:58
* style: add space to post created at

* style: remove des i refferral post card

* fix: fix chat outermost scroll

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
# Conflicts:
#	CHANGELOG.md
#	client/components/icons.tsx
#	client/modules/profile/components/cards/Info.tsx
#	client/utils/services/internationalization/messages/en-ca.ts
#	client/utils/services/internationalization/messages/zh-hk.ts
#	package.json
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Copy link

vercel bot commented Mar 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
referalah ✅ Ready (Inspect) Visit Preview Mar 2, 2024 10:31pm

@Pjaijai Pjaijai merged commit 21e7fe8 into main Mar 3, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.