Skip to content

Conversation

@neennera
Copy link
Contributor

@neennera neennera commented Jul 18, 2025

  • หน้า profile ไม่มีข้อมูลด้านสุขภาพ ติ้กทั้ง 3 ข้อ -> fixed
  • Reset password จากหน้า profile พอกดแล้วมันไปหน้า login แทน -> ถูกแล้วๆ พอดี reset pass ไม่มีหน้าของตัวเอง ต้องใช้ login แล้วกด reset อีกที
  • แอคที่ลงทะเบียนใหม่วันนี้ หน้าลงทะเบียน FD ลงทะเบียนไม่ได้ -> fixed
  • center ให้หน่อย (by kumpun) -> fixed

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 18, 2025 04:59
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 implements bug fixes and UI improvements identified during QA testing. The changes address QR code refresh behavior, error handling logic, footer alignment, and profile data processing.

  • Modified QR code auto-reload from 30 seconds to 1 second with enhanced interval management
  • Simplified error handling by removing "Check-in not found" condition
  • Updated footer layout to center-align contact information elements
  • Fixed profile data processing to properly handle allergy/medication flags and use empty strings instead of null values

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/pages/firstdate/qrcode/index.astro Updated QR code auto-reload timing and added interval management comment
src/lib/eventAPI.ts Removed "Check-in not found" error condition from event status check
src/components/firstdate/Footer.astro Added center alignment to contact information sections
src/components/common/profile/EditProfile.tsx Enhanced profile data processing with proper boolean flags and empty string handling

@neennera neennera requested a review from TAnvilrock July 18, 2025 05:02
@RawSalmon69 RawSalmon69 self-requested a review July 18, 2025 05:06
@RawSalmon69 RawSalmon69 merged commit ff039b4 into main Jul 18, 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