Eric Bailey
a3fc082148
Remove redundant disclaimer text ( #9541 )
2025-12-11 13:14:53 -06:00
Eric Bailey
9b2999268b
Copy update ( #9522 )
2025-12-10 17:14:42 -06:00
Samuel Newman
6ccda945e5
Telephone country code select ( #9473 )
...
* add telephone code select
* add flags
* run svgo on flags
* get it somewhat working on web
* get web closed state working
* verify country code we get from geo
* trim down names to shorter common versions
* add labels to other selects
* make international tel codes a static object
* add component to storybook
* Update src/lib/international-telephone-codes.ts
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* update to new geo hook
* use Intl.DisplayNames, add polyfill
* use in rather than keys().includes()
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
2025-12-10 12:12:30 -08:00
Eric Bailey
e3494a4882
[AAv2] Fix for mod screen ( #9483 )
...
* Add derived flags, add back disabled adult content for users under 18
* Update copy
2025-12-04 16:39:31 -06:00
Eric Bailey
c4aef9f668
Age Assurance V2 ( #9479 )
...
* Age Assurance V2
* Tighten up test
* Add todos for sdk migration
* Align RQ versions
* Use useEffect for side effect
* Improve effects, memoize
* Standarize on birthdate
* Copy feedback
* Copilot
* Add support link
* Reove double ..
* Cleanup
* Remove redirect dialog
* Cleanup todos, add comments
* Update splash in main template too
* Mock some stuff
* Exhaustive checks
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
* Exhaustive checks
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
* Small fix to bday handling
* Add comment
* onboarding style tweak
sneaking this in sorry!
* rm unreachable breaks
* Put useIntentHandler back on web
* Remove misleading success set
* Align on birthdate
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2025-12-04 15:20:00 -06:00
Eric Bailey
1711626493
Migrate remaining old report reasons, remove old unused file ( #9378 )
2025-11-11 14:13:11 -06:00
Samuel Newman
6cd6a3447d
Tweak greens ( #9177 )
...
* tweak greens
* undo test code
2025-10-10 09:15:48 -07:00
Eric Bailey
bd17f04810
Migrate to @bsky.app/alf package ( #9030 )
...
* Add storybook shortcut in dev
* Migrate to alg pkg
* Migrate font_bold to new font_semi_bold
* Migrate font_heavy to font_bold
* Fix old theme refs
* Remove leading util
* Bump
* Revert "Add storybook shortcut in dev"
This reverts commit 7a86195c77fb5d449c7782e64ebabb6addfab919.
* Remove alf script
* Adjust font scale
* Bump
* Bump pkg
* Migrate values from conflicts
* Create default themes outside react
* Use built-in alf utils
* Migrate old font styles
* Remove unused tokens
* Move theme creation to more appropriate file
* Update button colors
* Adjust TextField colors, line heights
2025-09-24 11:47:08 -05:00
Samuel Newman
ac0c4ef2d9
ensure headers are set when chat reporting ( #8985 )
2025-09-05 09:33:27 -05:00
Eric Bailey
c129108b78
108 fixes ( #8977 )
...
* Translation comment
* Fix error handling in starter pack generation
* Allow access to DM settings for age restricted users
* Leave post stat unit formatting up to translators
2025-09-04 19:36:23 -05:00
surfdude29
9738f4858d
Tweak location-related strings and labels ( #8975 )
...
* tweak string in BlockedGeoOverlay.tsx
* tweak string in AgeAssuranceAccountCard.tsx
* tweak string and labels in DeviceLocationRequestDialog.tsx
* prettier
* add missing `.` in DeviceLocationRequestDialog.tsx
2025-09-04 15:08:23 -05:00
Eric Bailey
f8ae0540a0
Provide geo-gated users optional GPS fallback for precise location data ( #8973 )
2025-09-04 11:07:12 -05:00
Samuel Newman
17c5cec356
make sure admonition text doesn't touch button ( #8816 )
2025-08-11 18:01:32 -05:00
Eric Bailey
0995e81b58
Age assurance tweaks ( #8671 )
...
* Refetch state while in pending status
* Add success state to redirect, just have user close, nicer experience
* Stop refetching after pending
2025-07-18 14:21:23 -05:00
Eric Bailey
6a15679fb1
Handle missed error branch ( #8663 )
2025-07-18 10:19:56 -05:00
Eric Bailey
4dd9459cba
Update copy ( #8664 )
2025-07-18 10:09:59 -05:00
Eric Bailey
964eed54ea
Age assurance fast-follows ( #8656 )
...
* Add feed banner
* Comment
* Update nux name
* Handle did error
* Hide mod settings if underage or age restricted
* Add metrics
* Remove DEV override
* Copy suggestion
* Small copy edits
* useState
* Fix bug
* Update src/components/ageAssurance/useAgeAssuranceCopy.ts
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Get rid of debug button
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
2025-07-17 14:32:58 -05:00
Eric Bailey
1dbc331314
UI for age assurance compliance ( #8652 )
...
* Add geo prop
* Add prelim fetch
* Add geo debug
* Pass in assurance state to notifications registration
* Comments
* Bump git index
* Add some component utils, no design, gate chat
* Disable mod prefs buttons, does not yet edit mod prefs
* Add initial prompt component
* Refine logic for showing prompt
* Add send email dialog
* Hook up dialog to fake mutation
* Fix geo debug bug
* Move provider inside query provider
* Slightly better screen gater
* Ok decent fallback with isExempt
* Reorg
* Wrap prompt in new logic
* Override mod prefs
* Use real endpoints, optimistic state
* Add persistent card, add time-ago, warning to dialog
* Add comment
* No undefined query values
* Fix case in import
* Wait for AA to load before registering push
* Override prefs in all locations
* Small refactor of notifications registration
* Register push after aa state
* Add retries
* Update blocked screens UI
* Strengthen email validation
* Add intent dialog
* Do service auth for init
* Rug refreshJwt
* Update copy
* Some mobile styles, add dev mode option
* Fix links on native
* Clean up intent dialog on native
* Don't mutate existing session, only copy
* Handle email validation error from server
* Clarity is better
* Moar clear
* Fixes
* Tweaks
* Add country code
* Gate it
* Refresh state after redirect
* Re-check on window focus
* Remove todo
* Enable in dev
* Check for did match on redirect
* Add blocked state
* Add appeal dialog
* Copy tweaks
* Inset in blue well
* Nux the prompt
* Copy updates
* Refetch just in case
* Uppercase country code
* Align copy, add notice to chat screens
* Tweak copy
* Add test code
* Add debug code
* Refactor AccountCard
* Big refactor
* Delay post-feed queries instead
* Debug code
* Clean up state
* Reorg
* Clean up copy
* Comments
* Reorg
* UPdate URL
* Cleanup
* Remove todo
* Update debug code
* revert unneeded changes
* UPdate nux name
* Revert unneeded change
* Updaet storage schema
* Checkpoint: cleanup
* Checkpoint: almost there
* isLoaded -> isReady
* Rename useAgeAssurance
* isUnderage -> isDeclaredUnderage
* Decompose, add docblocks
* Refactor
* UPdate debug
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Drop including Bluesky
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Apply suggestion from @surfdude29
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Remove todo
* Gate debug
* Revert unneeded change
* Fail closed
* Comments
* Comment
* Comment
* fix prettier
* rm viewheader
* bump sdk
* prevent overlap in admonition
* add age assurance intent route
* Just meow
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
* Nix callback
* Fix spelling of dismissible lol
* Don't compare translated string
* Better KWS link labels
* Hide DMs send options in menu
* Add button
* Fix order
* Use only supported languages
* Rm button
* best-effort language mapping
* improve typing
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2025-07-16 13:58:07 -05:00