Skip to content

Conversation

@RawSalmon69
Copy link
Member

No description provided.

dhanavadh and others added 30 commits July 13, 2025 22:27
-added staff scan qr page
added staff-qr page
- Fixed Staff-qr handling error
- Fix error type assertions in staff/event/index.astro
- Remove unused imports and variables
- Added auth functions getAuthToken() and getAuthHeaders() in api.ts
- Fixed body stream error when scan qr code
- Added handle error when user is not exist and when user scan wrong qr
- fix ButtonFd not send data
- Fixed no events active layout
* feat: added staff scan qr page

-added staff scan qr page

* fix: firstdate staff bg

* feat: add @yudiel/react-qr-scanner

* Feat: added staff-qr page

added staff-qr page

* chore: fix middleware doesn't work

* feat: Implement qr scan with api

* fix: staff-qr code

- Fixed Staff-qr handling error
- Fix error type assertions in staff/event/index.astro
- Remove unused imports and variables

* fix: qr scan error, body stream err, cannot send cookie to backend err

- Added auth functions getAuthToken() and getAuthHeaders() in api.ts
- Fixed body stream error when scan qr code
- Added handle error when user is not exist and when user scan wrong qr

* Fix: alternative form handle error

- fix ButtonFd not send data

* fix: no event active layout

- Fixed no events active layout

* fix: qrcode

---------

Co-authored-by: neennera <[email protected]>
Co-authored-by: Thukdanai Thaothawin <[email protected]>
Co-authored-by: Borworntat Dendumrongkul <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2025 10:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates Google Maps links and improves error message handling for workshop registration. The changes focus on providing better user experience through updated location links and more descriptive error messages in Thai.

  • Updated Google Maps links for two shop locations in the quest2-shops data file
  • Enhanced error message handling in WorkshopCard component to provide specific Thai error messages based on different registration failure scenarios

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/data/fest/quest2-shops.ts Updates Google Maps URLs for two shop entries
src/components/rpkm/workshop/WorkshopCard.tsx Replaces generic error message with specific Thai error messages based on error content
Comments suppressed due to low confidence (2)

src/components/rpkm/workshop/WorkshopCard.tsx:40

  • [nitpick] The variable name 'msg' is too abbreviated and unclear. Consider renaming it to 'errorMessage' or 'responseError' for better readability.
      const msg = response.error || "";

src/components/rpkm/workshop/WorkshopCard.tsx:41

  • [nitpick] The variable name 'errMsg' is abbreviated and inconsistent with TypeScript naming conventions. Consider renaming it to 'errorMessage' to be more descriptive and consistent.
      let errMsg: string;

@RawSalmon69 RawSalmon69 requested a review from BadLuckZ July 21, 2025 10:18
Copy link
Contributor

@BadLuckZ BadLuckZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RawSalmon69 RawSalmon69 merged commit 87a03c3 into main Jul 21, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants