From cd708d0570c1f9b1fbe10bd13b9e4b035716a0ce Mon Sep 17 00:00:00 2001 From: Matheus Henrique Caiser Barrozo Date: Thu, 27 Nov 2025 00:56:34 -0300 Subject: [PATCH 1/4] fix: disable pointer events on flying santa canvas --- hotfix_description.md | 13 +++++++++++++ src/components/FlyingSanta.tsx | 5 ++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 hotfix_description.md diff --git a/hotfix_description.md b/hotfix_description.md new file mode 100644 index 0000000..c445e33 --- /dev/null +++ b/hotfix_description.md @@ -0,0 +1,13 @@ +## Hotfix: Fix Mouse Interaction Issue + +This hotfix resolves a critical issue where the `FlyingSanta` component was blocking mouse interactions across the entire application. + +### Changes + +- Added `style={{ pointerEvents: "none" }}` explicitly to the `Canvas` component in `FlyingSanta.tsx`. +- This ensures that the canvas element generated by React Three Fiber does not capture pointer events, allowing clicks to pass through to the underlying UI. + +### Verification + +- Verified that the `FlyingSanta` component still renders correctly. +- Verified that buttons and links underneath the animation are now clickable. diff --git a/src/components/FlyingSanta.tsx b/src/components/FlyingSanta.tsx index e8b9d6f..c2951e1 100644 --- a/src/components/FlyingSanta.tsx +++ b/src/components/FlyingSanta.tsx @@ -262,7 +262,10 @@ const FlyingSanta = () => { zIndex: 9999, }} > - + From 313f92eeaa144aa0b768eb3a1c2e926bf16b1fae Mon Sep 17 00:00:00 2001 From: Matheus Henrique Caiser Barrozo Date: Thu, 27 Nov 2025 00:56:55 -0300 Subject: [PATCH 2/4] chore: remove temporary hotfix description --- hotfix_description.md | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 hotfix_description.md diff --git a/hotfix_description.md b/hotfix_description.md deleted file mode 100644 index c445e33..0000000 --- a/hotfix_description.md +++ /dev/null @@ -1,13 +0,0 @@ -## Hotfix: Fix Mouse Interaction Issue - -This hotfix resolves a critical issue where the `FlyingSanta` component was blocking mouse interactions across the entire application. - -### Changes - -- Added `style={{ pointerEvents: "none" }}` explicitly to the `Canvas` component in `FlyingSanta.tsx`. -- This ensures that the canvas element generated by React Three Fiber does not capture pointer events, allowing clicks to pass through to the underlying UI. - -### Verification - -- Verified that the `FlyingSanta` component still renders correctly. -- Verified that buttons and links underneath the animation are now clickable. From a745e79a099e69e90ca8a688b3f6952fb1d0777f Mon Sep 17 00:00:00 2001 From: Matheus Henrique Caiser Barrozo Date: Thu, 27 Nov 2025 01:01:53 -0300 Subject: [PATCH 3/4] fix(ci): allow hotfix branches in preview validation --- .github/workflows/preview.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index a8f5ade..8e3badb 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -57,11 +57,11 @@ jobs: run: | SOURCE_BRANCH="${{ github.head_ref }}" echo "Source branch: $SOURCE_BRANCH" - if [[ "$SOURCE_BRANCH" != release/* ]]; then - echo "::error::Pull Request from branch '$SOURCE_BRANCH' cannot be merged into 'main'. Only branches starting with 'release/' are allowed." + if [[ "$SOURCE_BRANCH" != release/* && "$SOURCE_BRANCH" != hotfix/* ]]; then + echo "::error::Pull Request from branch '$SOURCE_BRANCH' cannot be merged into 'main'. Only branches starting with 'release/' or 'hotfix/' are allowed." exit 1 else - echo "Source branch '$SOURCE_BRANCH' is a valid release branch." + echo "Source branch '$SOURCE_BRANCH' is a valid release or hotfix branch." fi update-pr-comment: From 416d3dac0b111fedcb59f2440b8f854490005038 Mon Sep 17 00:00:00 2001 From: Matheus Henrique Caiser Barrozo Date: Thu, 27 Nov 2025 01:06:01 -0300 Subject: [PATCH 4/4] chore(ci): standardize develop environment name --- .github/workflows/develop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index c2872c9..e46b127 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -28,7 +28,7 @@ jobs: if: needs.test-and-lint.outputs.code-changed == 'true' uses: ./.github/workflows/reusable-deploy-vercel.yml with: - environment: Development + environment: Develop vercel-environment: preview ref: ${{ github.ref }} prebuilt: true