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

Fix _document #207

Closed
Pjaijai opened this issue Nov 6, 2023 · 3 comments
Closed

Fix _document #207

Pjaijai opened this issue Nov 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Pjaijai
Copy link
Owner

Pjaijai commented Nov 6, 2023

Should merge _document with layout.tsx and remove next/babel in .eslintrc.json

@Pjaijai Pjaijai added the bug Something isn't working label Nov 6, 2023
@Pjaijai Pjaijai self-assigned this Nov 6, 2023
@tommyttf
Copy link
Collaborator

tommyttf commented Nov 6, 2023

ref: #192
I am fixing this now

@Pjaijai
Copy link
Owner Author

Pjaijai commented Nov 6, 2023

@tommyttf plz add yourself in contributors page in the PR

tommyttf added a commit that referenced this issue Nov 6, 2023
Fix the ul li key warning as well
@tommyttf
Copy link
Collaborator

tommyttf commented Nov 6, 2023

Added
Please review
thx

Pjaijai added a commit that referenced this issue Nov 6, 2023
* [#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>
Pjaijai pushed a commit that referenced this issue Nov 6, 2023
Fix the ul li key warning as well
Pjaijai pushed a commit that referenced this issue Nov 6, 2023
* [#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>
@Pjaijai Pjaijai closed this as completed Nov 6, 2023
Pjaijai added a commit that referenced this issue Nov 13, 2023
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Dec 25, 2023
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Feb 9, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Feb 9, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Feb 10, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Feb 20, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Feb 24, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

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

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Mar 1, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

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

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

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

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

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

* chore(release): 1.11.0

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Mar 3, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

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

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

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

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

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

* chore(release): 1.11.0

* feat: post preview on main page (#329)

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

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Mar 3, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

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

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

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

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

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

* chore(release): 1.11.0

* feat: post preview on main page (#329)

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

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Mar 7, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

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

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

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

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

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

* chore(release): 1.11.0

* feat: post preview on main page (#329)

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

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

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

* feat: replace text input instead of form text input in reset password form (#281)

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

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

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

* feat: remove contributor button (#283)

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

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

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

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

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

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

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

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

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

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

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

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

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

* feat: added backbtn to post referer page (#294)

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

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

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

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

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

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

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

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

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

---------

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

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

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

* style: update char message card ui (#304)

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

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

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

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

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

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

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

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

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

* style: fix opt verfication max width

* feat: message display clickable link (#310)

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

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

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

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

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

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

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

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

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

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

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

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

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

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

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

* chore(release): 1.11.0

* feat: post preview on main page (#329)

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

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

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

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

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

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

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

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

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

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

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

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

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

* fix: fix ui (#339)

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

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

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

* feat: update clean storage api logic

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

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

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

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

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

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

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

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

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

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

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

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

* Update DEVELOPER.md regarding the supabase development setup (#196)

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

* Fix margin (#202)

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

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

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

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

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

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

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

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

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

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

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

* Version bump

* Fix text (#225)

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

* Adding gap (#222)

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

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

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

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

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

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

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

* Fix showing logic (#237)

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

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

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

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

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

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

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

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

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

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

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

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

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

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

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

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

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

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

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

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

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

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

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

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

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

* fix: remove extra lint-staged (#268)

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

* fix: refetch data after finishing edit (#271)

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

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

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

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

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

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

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

* style: fix style of sign in page (#277)

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

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

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

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Mar 31, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
R1R69 pushed a commit that referenced this issue Apr 22, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

* fix: fix typo

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 23, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

* fix: fix typo

* fix: fothix edge function get user null problem

* chore(release): 1.16.2

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 28, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

* fix: fix typo

* fix: fothix edge function get user null problem

* chore(release): 1.16.2

* chore: house keep

* feat: create message uuid col for history tbale

* Feature/revamp member page (#363)

* feat: add user search page

* feat: update copies

* feat: display referral type in referral card

* chore: house keep

* chore: house keep

* chore: rename user page to member

* feat: hide become member is user sign in

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: referral card avatar

* chore(release): 1.17.0

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue Apr 29, 2024
* 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>

* Feature/contributors page (#174)

* fix file name

* Adding reminder message to contact dialog (#181)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Adding contributor (#180)

* Adding contributor

* Fix error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/refactor use search post and api (#171)

* 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>

* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

* fix: fix typo

* fix: fothix edge function get user null problem

* chore(release): 1.16.2

* chore: house keep

* feat: create message uuid col for history tbale

* Feature/revamp member page (#363)

* feat: add user search page

* feat: update copies

* feat: display referral type in referral card

* chore: house keep

* chore: house keep

* chore: rename user page to member

* feat: hide become member is user sign in

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: referral card avatar

* chore(release): 1.17.0

* fix: remove member type checking in contact referral

* chore(release): 1.17.1

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
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 <paul6a24@hotmail.com>
Co-authored-by: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue May 7, 2024
* Feature/post detail page (#183)

* 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>

* Feature/Simplify referral post card (#185)

* 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>

* Fix layout (#187)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove referee post page (#186)

* 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>

* Refactor/update post types (#188)

* Update type

* Fix type casting

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/update post types (#189)

* Update type

* Fix type casting

* fix types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create post history page (#193)

* 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>

* Fix doc (#195)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Update DEVELOPER.md regarding the supabase development setup (#196)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Fix margin (#202)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/updating contact through post api (#198)

* Update env template

* Update api

* Fix typo

* Fix text

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Use search params on filtering values (#203)

* 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

* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

* fix: fix typo

* fix: fothix edge function get user null problem

* chore(release): 1.16.2

* chore: house keep

* feat: create message uuid col for history tbale

* Feature/revamp member page (#363)

* feat: add user search page

* feat: update copies

* feat: display referral type in referral card

* chore: house keep

* chore: house keep

* chore: rename user page to member

* feat: hide become member is user sign in

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: referral card avatar

* chore(release): 1.17.0

* fix: remove member type checking in contact referral

* chore(release): 1.17.1

* Feature/list most latest contact request on laning page (#366)

* feat: create list latest contact request function

* feat: display on client

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: add links to contact request list

* chore: house keep highlighted link

* chore(release): 1.18.0

* style: fix contact request carousel

* style: fix style

* fix: fix main page cache

---------

Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>
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: Lulu Tung <lulutheflaneur@gmail.com>
Co-authored-by: marukosy124 <soniayeung12435@gmail.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: Martin Tsang <64913859+marttsang2@users.noreply.github.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Pjaijai added a commit that referenced this issue May 9, 2024
* Feature/edit post (#197)

* 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>

* Feature/progressive web app (#192)

* 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>

* Feature/adding site name to edit post page (#206)

* House keep

* Adding edit post in site config

* Adding page name to edit page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/fix pwa structure (#208)

* [#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>

* Refactor/improve typing (#210)

* [#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>

* Feature/seo optimization (#212)

* 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>

* Feature/add contributor (#214)

* add contributor (ken tung)

* update some formatting

* Refactor/post (#200)

* 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>

* Feature/post history page button in profile page (#215)

* 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>

* Feature/block sending email if post is closed (#216)

* Creating post status enum

* Blocking action if post is closed

* Hide button if the post is closed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix type

* [#205] Fix Edit Post bug (#219)

* [#205]
Remove useEffect in edit post for reset url
Improve type

* Fix format

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/Adding user profile url to email template (#199)

* Adding user profile url to email template

* Fix text

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Version bump

* Fix text (#225)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Adding gap (#222)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/error boundary (#218)

* Add root error boundary

* add myself as contributor

* [Issue #226] Bugfix/post-card-ui (#227)

* fix issue #226

* fix validateDOMNesting issues

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/redirect to post detail page after creating (#230)

* Return data after insert

* Redirect to post detail page

* Select uuid only

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/navbar UI issues (#232)

* center-align navbar items

* hide duplicate dropdown menu items; change logout text to red

* also hide them on root route

* add myself to contributors

* Adding text (#236)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix showing logic (#237)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Fix user profile url

* add global loading placeholder during rendering (#229)

* add global loading placeholder during rendering

* update to use spinner

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Doc/update sql script for create user in local  (#233)

* Update doc

* Add local mail box

* Update

* Fix format

* fix typo

* doc: Updated local backend instuction for magic link

* doc: Found the problem of the redirect_to problem, updated DEVELOPER.md

* Updated .env.template

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>

* Feature/Created authenticated wrapper (#247)

* Created authenticated layout

* Rename

* update ui

* House keep

* Fix typo

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [#131] adding husky (#221)

* [#131]
Test

* absolute version

* feat: enhance common layout component

* add fragment

* testing

* add git ignore

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>
Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Refactor/ Get user profile api (#223)

* Refactor api

* Disable to fire api when no user uuid is passed

* House keep

* Refactor useGetUserprofile

* Fix build error

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Test] Adding Jest set up (#258)

* add @types/jest, jest, and ts-jest

* add jest config

* add test script

* update jest config to allow import from module in test files

* add coverage collection setting

* add jest-runner-groups

* set runner to groups

* Add testing docs

* add unit test for get-contribution-area-text.ts

* add script to run test for unit, integration, and e2e

* remove Test.md

* add TEST.md

* Refactor/refactor types naming convention (#254)

* Created authenticated layout

* add fragment

* testing

* Rename MessageType to EMessageType

* Rename PostStatusType to TPostStatusType

* Rename PostStatus to EPostStatus

* Rename Post to IPost

* Rename QueryKeyString to EQueryKeyString

* Rename ReferralType to EReferralType

* Rename NavItem to INavItem

* fix rebase error
e Please enter the commit message for your changes. Lines starting

* add ignore

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/create space for auth (#260)

* Created authenticated layout

* Create sign in sign up and forgot password

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* [Docs] Improvements and breaking down (#257)

* Remove Developer.md

* change root README.md developer guide to linkt to introduction.md

* Add introduction.md containing overview of the project, tech stack, and the corresponding docs

* migrate git guide and put in CONTRIBUTING.md

* Add Frontend.md, containing guide to setup local dev environment and access to user interface

* Add Backend.md, containing guide to set up local backend, deployment, migration, and table structure

* remove markdown file

* add markdown files name with all captial

* update Readme file reference

* add Inbucket guide in set up backend locally, separate Resend config guide to another section

* update sql script for set up trigger on inital run

---------

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/PWA installation instruction (#267)

* create installation page

* add link in footer

* House keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* search url using value instead of uuid (#255)

* Created authenticated layout

* search url using value instead of uuid

* search referal uuid to value update

* fix type

* house keep search post hook

* house keep search referral hook

* rename yeo to year of experience

* Rename maxYearofExperience

* rename minYearOfExperience

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* Feature/adding react testing library (#259)

* Created authenticated layout

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* install packages

* Adding config

* Adding ContributionAreaBadge test

* house keep

* add doc

* update test doc

* Update contributing doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/adding more husky config (#261)

* Created authenticated layout

* Add eslint and prettier pre commit

* Fix format

* Modify prettier config

* feat: add commit convention hook

* fix: fix commit problem

* chore: use absolute version

* chore(release): 1.6.0

* chore: house keep

* docs: add doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* CI/adding run client test ci (#270)

* docs: updating contributing doc

* ci: adding run client test ci

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: remove extra lint-staged (#268)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: refetch data after finishing edit (#271)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: adding created-at and location helper tests (#272)

* test: adding created-at and location helper tests

* chore: rename folder name

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password sign up and sign in (#269)

* feat: create create user with email password api

* feat: create sign up skeleton

* feat: adding error message to form check box

* feat: adding type for form text input

* refactor: refactor auth email and password validation

* feat: create sign in form validation

* feat: create sign in form skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* feat: adding auth api ui handling

* fix: fix error toast color

* feat: handle username

* feat: duplicate username handling

* feat: create create user with email password api

* feat: create sign up skeleton

* chore: rename sign up api and hook

* feat: create sign in form skeleton

* fix: fix profile usernam validation

* feat: create signInWithMagicLink api and hook

* chore: rename and move sign in and sign up api type

* feat: create ISignInEmailMagicLinkRequest type

* feat: create magic linka and password sign in form

* feat: create magic link and password sign in validation

* feat: create sign in tab

* feat: create sign in template

* feat: adding left component to input label

* fix: fix auth form tabs height

* chore: house keep

* fix: fix style of register link in sign in template

* chore: house keep

* fix: fix username max length validation

* fix: fix validation text

* feat: create EEmaiVerification

* feat: create email verificaiton page

* feat: add email verification to site config

* feat: sign up page house keep

* feat: remove sign up page checkbox validaiton

* feat: fix text and copy

* fix: add forgort password link to sign in page

* fix: fixing minor issue

\

* style: fixing margin

* refactor: performance improvement

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/Add contributor (#276)

* feat: add contributor

* test: fix test

* fix: fix contributor area

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix style of sign in page (#277)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/sign up confirmation page (#279)

* chore: fix auth tmeplate import path

* chore: centailize auth templates

* feat: remove hover underline base link button

* feat: create sign up confirmation page

* test: fix test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix test

* fix: fix password min length validation

* chore: house keep

* refactor: remove link in functions deploy in staging yml file

* Revert "refactor: remove link in functions deploy in staging yml file"

This reverts commit 59f083e.

* feat: add debug log to function deploy

* Feature/forget password (#280)

* feat: create forgot password

* fix: add loading for sigin and sing up

* feat: add disabled to input

* feat: add sign in button to site header

* fix: fix site paht in site config

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: replace text input instead of form text input in reset password form (#281)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/remove old magic link (#282)

* feat: remove old sign in

* fix: replace sign path insead of auth path

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: remove contributor button (#283)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.7.0

* chore(release): 1.7.0

* chore(release): 1.8.0

* chore(release): 1.7.1

* docs: release

* feat: yarn lock update

* feat: temp remove function deploy

* fix: fix build error

* feat: add handling (#285)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/data access  (#286)

* feat: migration script

* feat: remove email from api

* fix: fix contact content email failed to send reset problem

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: migration file

* fix:  update on contact referral query

* ci: update staging ci file

* fix: fix contact through post function

* ci: remove function deplot

* Refactor/house keep (#288)

* chore: house keep

* house keep

* add back register button title

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix import path

* feat: add new password same as old password handling

* fix: fix text

* fix: fix import error

* feat: turn off local supabase analytics

* Feature/Internationalization set up (#287)

* feat: move app files to have locale path

* feat: install next international

* feat: next internaiton config

* feat: next international implementation

* feat: create combined middleware

* chore: remove layout what not in locale

* feat: update typescript version

* docs: adding next internaiton to doc

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/handle signed in user in sign page (#289)

* feat: create not found page

* feat: return not found in sign up page if  user already signed in

* chore: replace throw with replace

* fix: new not found page

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/access control (#290)

* feat: create sever admin

* feat: migration restrict user table column access

* feat: replace client with sever admin

* chore: house keep

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: added backbtn to post referer page (#294)

Co-authored-by: Pjaijai <87293994+Pjaijai@users.noreply.github.com>

* style: fix back to post button

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix layout style

* feat: add helen wong to contributor list

* feat: add selina lam to contributor list

* Feature/In app Chat  (#293)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* docs: update supabase types

* Bugfix/fix chat style (#301)

* fix: fix chat invalidate logic

* style(fix chat style): fix chat style

* fix: fix build failed

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* style: chat page an scroll bar style

* Feature/schedule notification for unseen conversation (#302)

* Feature/in app chat room UI (#292)

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* feat: update lucide-react

* fix: fix icon onclick error

* feat: chat ui

* feat(message unread ui): messsage unread ui

* chore: house keep

* style: more style on room card

* test: chat message card test

* test: chat conversation header test

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/message logic (#296)

* feat: create message api and logic

* feat: remove email for apis

* feat: fix message referral request for edge funciton

* feat: implement message edge function

* feat: remove contact apis

* feat: update supabse types

* feat: basic message api implementation

* feat: enhance base infinite scroll

* fix: fix for input text

* chore: remove useUpdateConversationLastUpdatedAt

* feat: cretae useUpdateConversation api hook

* feat: update api

* feat: update chat

* feat: update package json script

* feat: update supabase type

* feat: migration script

* chore: rename room to conversation

* feat(implement date in message  card): implment date in mesage card

* feat: add before to created message

* feat: messsage infinite scroll

* fix(fix page overflow problem ): fix page overflow problem

* style: fix style

* fix: fix conversation header url

* feat: conversation scroll

* feat: conversatio header routing

* feat: chat page mobile view

* style: in app chat layout

* feat: close footer when in chat page

* feat: chat api hool refech config

* feat: message real time subscribe

* fix: fix post page layout

* feat: conversation update

* feat: loading and no messange and conversation handleing

* feat: update is convertion seen checking condition

* fix: fix conversation api fetch timing

* style: fix conversation and message card style

* fix: fix message real time refech

* fix: fix in app caht back button

* style: chat message list skletion style

* test: chat skeletion test

* feat: check conversation unseen

* chore: house keep

* feat: add chat provider

* style: fix input field style

* feat: update handle_message_create function migration file

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix build error

* feat: notify unseenconversation function

* style: fix email style

* fix: fix unseen conversation function return

* fix: fix build error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat(fix email sending error and adding log): fix email sending error and adding log

* fix: fix chat email link

* fix: fix conversation exsist case

* fix: fix chat room redirection in email content

* feat: not showing user massage in notificaiton email

* test: temp remove test

* feat: mobile friendly main page ui (#303)

* feat(mobile friendly main page ui): mobile friendly main page ui

* fix: fix copy

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: update char message card ui (#304)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* test: fix message card test

* Feature/mobile menu (#305)

* feat: add side menu for mobile

* feat: update message icon for nav menu; update chat nav link on mobile menu

* fix: updated message test typo

* Feature/translation (#306)

* test: fix message card test

* feat: update layout lang point to locale

* feat: update zh-hk and en-ca copies

* feat: implement i18n keys

* feat: hanlde not static data translation

* style: user count magin

* feat: unify created at

* feat: add locale setting button

* feat: page name i18n impletation

* style: make locale selection visible on mobile

* feat: mobile nav i18n

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/mobile no message handling (#307)

* fix: not allow white space username in edit profile

* fix: fix profile page title

* fix: fix profile site config name

* feat: no message to conversation left section

* fix: fix change locale sign our problem

* fix: fix change locale no search params problem

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix password email invalid text

* Feature/style house keep (#308)

* style: fix style

* fix: fix theme toggle in mobile nav

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/replace magic link with one time passcode (#309)

* feat: replace magic link with one time password

* chore: house keep

* chore: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: fix opt verfication max width

* feat: message display clickable link (#310)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix copy

* fix: fix message icon in site header not redirect

* chore(release): 1.8.0

* style: email style

* fix: fix email link

* fix: fix copy

* fix: fix copy

* style: profile buttons container style

* feat: implement bottleneck

* fix: fix copies

* fix: fix copy

* chore: house keep

* chore: house keep

* fix(fix en-ca copy): fix en-ca copy

* feat: optimize notify unseen conversation function (#314)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/api-ssg (#312)

* fix: makes server action works

* fix: fix copy

* fix: fix sign up redirect problem

* feat: user count isg

* feat(remove unauthenticated wrapper): remove unauthenticated wrapper

* feat: remove unauth wrapper

* feat: update options hooks

* feat: update search hook

* feat: ssg in post

* feat(profile cache\): profile cache

* feat: referral cache

* feat: updateb search pop over

* feat: remove react-query-next-experimental

* feat(update profile template): update profile templates

* feat: update referral templates

* feat: update post templates

* fix: fix edit post page rendering

* fix: fix rendering

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: install speed insights

* chore(release): 1.9.0

* feat: fix sign in link in sign up page

* feat: invalidate instead of refech (#317)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/password eye icon (#316)

* style: password input show eye icon when focus or have value

* style: main page layout

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.0

* fix: hotfix conversatio  per page

* chore(release): 1.10.1

* Feature/revamp user profile (#320)

* feat: post detail page title

* feat: fix options schema not null colounm

* docs: fix type

* feat: split profile edit page

* feat: add copies

* feat: add icons

* style: edit and view profile page style

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.10.2

* chore(release): 1.10.3

* fix: fixtype

* feat: post prefech cache

* style: fix profile info card ui padding

* feat: combine providers

* Feature/style enhancement (#325)

* 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>

* Featurel/make post sharable (#326)

* feat: install react share

* feat: desktop post share link

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/make post sharable (#327)

* feat: share drawer

* feat: update copies

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.11.0

* feat: post preview on main page (#329)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.12.0

* chore(release): 1.12.1

* fix: fix carousel

* chore(release): 1.12.2

* fix: fix toast not showing

* chore(release): 1.12.3

* Feature/support sending pdf (#333)

* feat: add new icons

* feat: add react-dropzone

* feat: install react-dropzone

* fix: fix api hook path

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: api for cleaning document storeage

* feat: add copies

* feat: update engine in client package json

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/support sending pdf (#334)

* feat: add file drop ui to send message form

* feat: support sending pdf in app chat

* feat: support pdf in message contact

* feat: add copies

* fix: fix upload document loading spin

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix yoe in referral post card

* fix: remove github in header

* fix: replace reset icon with copy

* fix: fix infinite scroll infinite loading problem

* fix: fix copy

* fix: fix word break

* fix: fix typo

* feat: add fancy background (#335)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix fancy background showing logic

* Feature/ Create message record (#336)

* feat: record down message

* fix: fix clipboard window error

* fix: fix main page button rendering error

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/increase document maximum size (#337)

* feat: allow upload doc to 2 mb

* feat: show document is expired

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* try seed migration

* Revert "try seed migration"

This reverts commit 16f38db.

* Feature/add new locations (#338)

* fix: fix profile view check box bg color

* feat: support multi location search

* refactor: house keep

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix ui (#339)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.13.0

* Feature/update notify unseen conversation (#341)

* chore(release): 1.13.0

* feat(cron notify-unseen-conversation support pdf): cron notify-unseen-conversation support pdf

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: update clean storage api logic

* refactor: house keep

* chore(release): 1.14.0

* refactor: house keep

* fix: remove cache

* fix: add back location cache

* fix: cache options for 60 seconds

* no cache

* fix: profile apis no store

* Feature/revamp search (#348)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature/revamp search (#349)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* BugFix/fix search drawer ui (#350)

* feat: search bar new ui

* feat: mobile search

* chore: define new engine

* fix: fix searcg drawer ui

* fix: fix drawer ui

* fix: fix filter reset

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* Feature: Revamp post search ux (#351)

* feat: replace post referer and referee with post search and view

* feat: post type title

* feat: display post type

* feat: search post type with search params instead of usestate

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* fix: fix inistial post search type (#352)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* caching (#353)

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: prefrech to edit post

* chore(release): 1.15.0

* try edti post cache 1 second

* remove default cache

* feat: revalidate location options one day

* fix: fix edit post title

* chore(release): 1.16.0

* fix: fix post history card

* fix: fix post nav description

* fix: fix post referee title

* fix: fix typo

* fix: fothix edge function get user null problem

* chore(release): 1.16.2

* chore: house keep

* feat: create message uuid col for history tbale

* Feature/revamp member page (#363)

* feat: add user search page

* feat: update copies

* feat: display referral type in referral card

* chore: house keep

* chore: house keep

* chore: rename user page to member

* feat: hide become member is user sign in

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* style: referral card avatar

* chore(release): 1.17.0

* fix: remove member type checking in contact referral

* chore(release): 1.17.1

* Feature/list most latest contact request on laning page (#366)

* feat: create list latest contact request function

* feat: display on client

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* feat: add links to contact request list

* chore: house keep highlighted link

* chore(release): 1.18.0

* style: fix contact request carousel

* style: fix style

* fix: fix main page cache

* style: fix contact request style

* fix: fix view post link in contact request carousel

* style: fix style

* feat: remove message icon in site header

* refactor: house keep useCheckHasConversationUnseen

* style: update main page Carousel

* style: update style

* feat: replace FormTextInput with FormTextArea

* Feature/request count for post and user (#368)

* style: update style

* feat: replace FormTextInput with FormTextArea

* feat: add count

* fix: reset submit state when error in edit post

* feat: update types

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>

* chore(release): 1.19.0

---------

Co-authored-by: Pjaijai <paul6a24@hotmail.com>
Co-authored-by: 14104647ls3 <67142310+14104647ls3@users.noreply.github.com>
Co-authored-by: tommy <tommyttf@gmail.com>
Co-authored-by: Lulu <76647602+511234@users.noreply.github.com>
Co-authored-by: Ken Tung <tungpakyin04@outlook.com>
Co-authored-by: marukosy124 <54564324+marukosy124@users.noreply.github.com>
Co-authored-by: Paco Wong <86609598+paco0161@users.noreply.github.com>
Co-authored-by: Cyrus Chan <111417390+cyruscsc@users.noreply.github.com>
Co-authored-by: Eddie Li <14104647ls3@gmail.com>
Co-authored-by: Vardy <wadee@wadeenghoiwa.com>
Co-authored-by: Trevor Wong <44539644+trevorwongtw@users.noreply.github.com>
Co-authored-by: Johnson Shan <43336083+JohnsonShan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants