Implement comprehensive country-based ATF verification and slide reordering

Featurekamo-register
Ya
23 Oktoba 2025, 20:14 UTC
Mwandishi
snadjafinia
Ahadi ya
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

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei