Skip to content

✨ app: update pax assistance benefit - #1110

Merged
cruzdanilo merged 2 commits into
mainfrom
pax
Jun 25, 2026
Merged

✨ app: update pax assistance benefit#1110
cruzdanilo merged 2 commits into
mainfrom
pax

Conversation

@dieguezguille

@dieguezguille dieguezguille commented Jun 24, 2026

Copy link
Copy Markdown
Member

closes #1072

Summary by CodeRabbit

  • New Features
    • Added a new “Pax Assistance” benefit card to the benefits section, including branded visuals, button text, and a dedicated navigation link.
    • Added Exa Card travel-insurance discount messaging for Pax Assistance.
  • Documentation
    • Updated translations (Spanish, including es-AR, and Portuguese) for the new benefit and navigation text.
  • Bug Fixes
    • Improved benefit link locale handling by simplifying URL templating to rely on language selection with safe fallbacks.
  • Chores
    • Released a patch update for the mobile package with notes about the Pax Assistance benefit.

@dieguezguille dieguezguille self-assigned this Jun 24, 2026
@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1e447e7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@exactly/mobile Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new Pax Assistance benefit to the benefits section, including the partner's logo, description, and promotional link. It also includes the necessary localization strings for Spanish and Portuguese, as well as a changeset file. There are no review comments, and the implementation is clean and complete.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 227547d1-090a-450b-b495-0f5eb2c376e1

📥 Commits

Reviewing files that changed from the base of the PR and between ed74691 and 1e447e7.

📒 Files selected for processing (7)
  • .changeset/busy-worlds-yawn.md
  • src/components/auth/Auth.tsx
  • src/components/benefits/BenefitSheet.tsx
  • src/components/benefits/BenefitsSection.tsx
  • src/i18n/es-AR.json
  • src/i18n/es.json
  • src/i18n/pt.json

Walkthrough

Adds a Pax Assistance benefit card, updates benefit-sheet URL handling, renames auth asset imports, and adds matching translations plus a patch changeset.

Changes

Pax Assistance Benefit Update

Layer / File(s) Summary
Pax benefit card wiring
src/components/benefits/BenefitsSection.tsx
Updates benefit asset imports, switches Airalo and Visa cards to raster backgrounds, and appends a new Pax benefit entry with its logo, background, copy, and URL.
Benefit URL handling and copy
src/components/benefits/BenefitSheet.tsx, src/i18n/es.json, src/i18n/pt.json, src/i18n/es-AR.json, .changeset/busy-worlds-yawn.md
Changes benefit-sheet URL templating to replace only {language} from i18n.language, and adds the Pax Assistance translations in Spanish, Argentine Spanish, and Portuguese along with the patch changeset.
Auth asset identifier rename
src/components/auth/Auth.tsx
Renames SVG import identifiers in auth and updates the page metadata to use the new PascalCase asset names.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • exactly/exa#634: Modifies the same benefits flow and Pax-related benefit data in BenefitsSection.tsx and BenefitSheet.tsx.
  • exactly/exa#1078: Touches the same Pax benefit entry and related benefit-sheet URL behavior in the opposite direction.
  • exactly/exa#1017: Changes the shared benefits UI data and URL templating logic in the same area.

Suggested reviewers

  • cruzdanilo
🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning Auth.tsx asset import renames appear unrelated to the PAX assistance benefit flow and are outside the linked issue scope. Remove or justify the Auth.tsx import-only refactor unless it is required for the PAX flow, or split it into a separate PR.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately reflects the main PAX assistance benefit update.
Linked Issues check ✅ Passed The PAX benefit copy, visuals, and landing-page CTA align with the discount-based flow requested in #1072.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pax
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch pax

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 OpenGrep (1.23.0)
src/i18n/es.json

┌──────────────┐
│ Opengrep CLI │
└──────────────┘

�[32m✔�[39m �[1mOpengrep OSS�[0m
�[32m✔�[39m Basic security coverage for first-party code vulnerabilities.

[00.29][ERROR]: unable to find a config; path .coderabbit-opengrep-fallback.yml does not exist

src/components/benefits/BenefitSheet.tsx

┌──────────────┐
│ Opengrep CLI │
└──────────────┘

�[32m✔�[39m �[1mOpengrep OSS�[0m
�[32m✔�[39m Basic security coverage for first-party code vulnerabilities.

[00.41][ERROR]: unable to find a config; path .coderabbit-opengrep-fallback.yml does not exist

src/components/auth/Auth.tsx

┌──────────────┐
│ Opengrep CLI │
└──────────────┘

�[32m✔�[39m �[1mOpengrep OSS�[0m
�[32m✔�[39m Basic security coverage for first-party code vulnerabilities.

[00.42][ERROR]: unable to find a config; path .coderabbit-opengrep-fallback.yml does not exist

  • 2 others
🔧 markdownlint-cli2 (0.22.1)
.changeset/busy-worlds-yawn.md

markdownlint-cli2 v0.22.1 (markdownlint v0.40.0)
Error: Unable to use configuration file '/coderabbit-0.markdownlint-cli2.jsonc'; ENOENT: no such file or directory, open '/coderabbit-0.markdownlint-cli2.jsonc'
at throwForConfigurationFile (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:48:9)
at readOptionsOrConfig (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:169:5)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:927:21)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:14:22 {
[cause]: Error: ENOENT: no such file or directory, open '/coderabbit-0.markdownlint-cli2.jsonc'
at async open (node:internal/fs/promises:640:25)
at async Object.readFile (node:internal/fs/promises:1287:14)
at async readOptionsOrConfig (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:141:17)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:927:21)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:14:22 {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/coderabbit-0.markdownlint-cli2.jsonc'
}
}


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dieguezguille
dieguezguille marked this pull request as ready for review June 24, 2026 15:03

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a8880c35b1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/components/benefits/BenefitsSection.tsx Outdated
@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 76.12%. Comparing base (42a3df9) to head (1e447e7).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/components/benefits/BenefitSheet.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1110      +/-   ##
==========================================
- Coverage   76.20%   76.12%   -0.09%     
==========================================
  Files         246      246              
  Lines       12057    11998      -59     
  Branches     4311     4287      -24     
==========================================
- Hits         9188     9133      -55     
+ Misses       2553     2552       -1     
+ Partials      316      313       -3     
Flag Coverage Δ
e2e 76.12% <75.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3ff4b155ec

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/components/benefits/BenefitSheet.tsx Outdated
Comment thread src/components/benefits/BenefitsSection.tsx

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 21d1f7de-5470-44c7-819a-1022db0bb567

📥 Commits

Reviewing files that changed from the base of the PR and between 38ea1d2 and 1bb07dc.

📒 Files selected for processing (6)
  • .changeset/busy-worlds-yawn.md
  • src/components/benefits/BenefitSheet.tsx
  • src/components/benefits/BenefitsSection.tsx
  • src/i18n/es-AR.json
  • src/i18n/es.json
  • src/i18n/pt.json

Comment thread src/components/benefits/BenefitSheet.tsx Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1bb07dcb9d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/components/benefits/BenefitSheet.tsx Outdated
@cruzdanilo
cruzdanilo merged commit 1e447e7 into main Jun 25, 2026
12 of 14 checks passed
@cruzdanilo
cruzdanilo deleted the pax branch June 25, 2026 16:49
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.

ui: pax new flow

2 participants