Implement comprehensive country-based ATF verification and slide reordering

Featurekamo-register
Shipped
October 23, 2025 at 8:14 PM UTC
Author
snadjafinia
Commit
cb21a8f

MAJOR CHANGES: - Rename FormWelcome to FormAgeCheck component - Reorder registration flow: MyCountry first (step 0), AgeCheck second (step 1) - Bump all other slides up by one position - Update step validation logic for new ordering ATF VERIFICATION: - Add isAlcohol, isTobacco, isFirearms flags to Organization interface - Check user country ATF categories against organization offerings - Redirect to sorry page if org has prohibited content for user's country - Use HIGHER age requirement between user country and org country - Generate dynamic ATF text (e.g., 'alcohol and tobacco' vs 'alcohol, tobacco, and firearms') COUNTRY-SPECIFIC FEATURES: - Update CountryType with legalAdultAge, legalAtfAge, legalAtfCategories - Support variable age requirements (18, 19, 20, 21 depending on country) - Display correct ATF products based on what's legal in both countries - Examples: US=21 for ATF, Japan=20 for alcohol/tobacco only, Kuwait=21 tobacco only USER COUNTRY TRACKING: - MyCountry component now sets userCountry field instead of country - AgeCheck receives userCountry as prop - Age verification uses max(userCountryAge, orgCountryAge) SORRY PAGE ENHANCEMENTS: - Add COUNTRYPROHIBITED reason type - Hide Go Back button for country prohibition cases - Show specific prohibited category (alcohol, tobacco, firearms) - Only allow Exit Website option for prohibited content UI IMPROVEMENTS: - Change 'and/or' to 'and' throughout ATF text - Rename all Welcome references to Age Check - Update step labels and navigation

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing