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
e90cfdc849
Modernise list create/edit dialog ( #8223 )
2025-09-23 20:11:21 +03:00
Samuel Newman
4a1b1f17f4
Clean up dialogs ( #8934 )
2025-09-09 18:45:36 +03:00
Samuel Newman
53e43a957c
run yarn lint --fix ( #9013 )
2025-09-09 08:38:21 -07:00
Samuel Newman
3e2c181c40
Upgrade @types/react to 19 and run codemod (attempt 2) ( #8918 )
...
* update dependencies
* rm `import type React from 'react'`
* run codemods
* patch discord types
* update types/react-dom
* Update yarn.lock
2025-09-09 08:09:10 -07:00
Samuel Newman
124cfb57c7
only show bookmarks nux to existing users ( #8988 )
2025-09-05 09:49:34 -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
Eric Bailey
535d4d6cf7
📓 Bookmarks ( #8976 )
...
* Add button to controls, respace
* Hook up shadow and mutation
* Add Bookmarks screen
* Build out Bookmarks screen
* Handle removals via shadow
* Use truncateAndInvalidate strategy
* Add empty state
* Add toasts
* Add undo buttons to toasts
* Stage NUX, needs image
* Finesse post controls
* New reply icon
* Use curvier variant of repost icon
* Prevent layout shift with align_start
* Update api pkg
* Swap in new image
* Limit spacing on desktop
* Rm decimals over 10k
* Better optimistic adding/removing
* Add metrics
* Comment
* Remove unused code block
* Remove debug limit
* Fork shadow for web/native
* Tweak alt
* add preventExpansion: true
* Refine hitslop
* Add count to anchor
* Reduce space in compact mode
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
2025-09-04 17:30:15 -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
jim
fd7b1292b8
Merge pull request #8923 from internet-development/@APiligrim/update-gif-select
...
Update: search on Gif select component to add small padding to match other search experiences
2025-09-02 22:21:16 -07:00
Samuel Newman
75f0ee8a1e
Tweaks to add to starter pack dialog ( #8957 )
2025-09-03 00:01:36 +03:00
Anastasiya Uraleva
3601933ff6
move background to the parent and remove unused view
2025-08-29 17:40:41 -07:00
Anastasiya Uraleva
cc4acae758
Update search on Gif select component to add small padding to match other search experiences
2025-08-27 21:31:29 -07:00
Chenyu
7469e7306c
Update birthday setting dialog ( #8910 )
...
* update birthday setting dialog
* Update src/components/dialogs/BirthDateSettings.tsx
Co-authored-by: Eric Bailey <git@esb.lol >
---------
Co-authored-by: Eric Bailey <git@esb.lol >
2025-08-27 19:55:18 -05:00
Samuel Newman
8adebe6702
starter pack dialog tweaks ( #8913 )
2025-08-27 09:01:10 -07:00
jim
bc8e3ba30b
Merge pull request #8806 from internet-development/binaryfiddler/starter-pack-part2
...
Starter pack dialog implementations
2025-08-25 23:23:20 -07:00
Samuel Newman
27c591f031
Fix Gif Select dialog search bar scrolling away ( #8874 )
...
* fix flatlist dialogs on web
* tweak gif select dialog, add style prop to textfield
2025-08-25 09:37:12 -07:00
Chenyu Huang
f84a756691
optimize for the web
2025-08-22 17:59:54 -07:00
Chenyu Huang
962654041c
fix linting, minor ui tweaks
2025-08-21 11:49:08 -07:00
Chenyu Huang
0474a3b6f7
address feedback
2025-08-20 15:00:06 -07:00
Chenyu Huang
f7c05c2df4
use Dialog.InnerFlatlist
2025-08-20 12:31:12 -07:00
Chenyu Huang
68e0a78f70
loading state
2025-08-19 16:37:49 -07:00
Chenyu Huang
e32f280f47
clean up onSuccess callback
2025-08-19 15:59:12 -07:00
Chenyu Huang
f42b5831bb
parameterize the initial profile for starter pack profile select wizard screen
2025-08-19 15:28:37 -07:00
Chenyu Huang
7182cd3d5e
starter pack dialog flow from profileMenu
2025-08-16 19:45:43 -07:00
Samuel Newman
7a334362ae
[Perf - part 1] Hoist service config query ( #8812 )
2025-08-14 01:13:51 +03:00
Samuel Newman
b2c56cbd6d
Add displayName to contexts ( #8814 )
2025-08-14 01:12:31 +03:00
surfdude29
f873f3b301
Add context and comments to button text, label and title in email verification dialog ( #8810 )
...
* add context and comment for translators to button text in email verification dialog
* shorten comment
* add comment for other string
* tweak comment
* tweak again
2025-08-11 18:01:10 -05:00
Samuel Newman
8fdcc3ee31
Replace resumeSession with getSession in the email check ( #8670 )
...
* replace resumeSession with getSession
* copy lil type tweak from the other PR
* Add partialRefreshSession to session API context, use session state to infer state further down tree
* Review
---------
Co-authored-by: Eric Bailey <git@esb.lol >
2025-07-23 11:52:38 -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
Samuel Newman
a9469cc111
Move NUX date ( #8603 )
2025-07-03 16:30:24 -07:00
Samuel Newman
bc072570d2
Activity notification settings ( #8485 )
...
Co-authored-by: Eric Bailey <git@esb.lol >
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
Co-authored-by: hailey <me@haileyok.com >
2025-07-01 14:36:04 -07:00
hailey
806d3792a9
feat: use t.gifs cdn for tenor search results ( #8574 )
2025-06-30 13:24:53 -07:00
Samuel Newman
c634cd9071
Upgrade prettier to 3.6 ( #8558 )
...
* upgrade prettier
* run prettier
* more files
2025-06-23 07:44:40 -07:00
Samuel Newman
d53fdb0dda
fix prefetch returning undefined ( #8538 )
2025-06-19 09:25:17 -07:00
Samuel Newman
4da86e5864
Modernise link warning dialog ( #8243 )
...
* add link warning dialog
* add copy for if sharing
* delete old modal
* get web working
2025-06-18 06:17:54 -07:00
Eric Bailey
619fa0d0bb
Delete some old dialogs ( #8512 )
...
* Delete old EditProfile dialog
* Delete old email verification dialogs
2025-06-17 18:12:37 -05:00
Samuel Newman
32dfcc3a54
disable avatar preview in searchable people list ( #8453 )
2025-06-11 12:33:43 -07:00
hailey
2a453cd9ca
invert flag for sending to statsig ( #8431 )
2025-05-30 12:13:44 -07:00
Eric Bailey
75ffb3d243
Don't show NUXs to brand new users ( #8362 )
...
* Ensure verification nux is only shown to older users
* Update comment
2025-05-10 13:08:42 -07:00
Samuel Newman
a0bd804262
Live ( #8354 )
2025-05-10 00:06:06 +03:00
Eric Bailey
2e80fa3dac
Fix email dialog width on large phones ( #8350 )
...
* Fix email dialog width on large phones
* Do it Right™
2025-05-09 15:58:12 -05:00
Eric Bailey
0f96669f8c
[APP-1158] Refactor email-related dialogs ( #8296 )
...
* WIP
* Update email
* Fire off confirmation email after change
* Verify step, integrate stateful control
* Remove tentative EnterCode step
* Handle token step
* Handle instructions and integrate into 2FA setting
* Fix load state when reusing same email
* Add new state
* Add 2FA screens
* Clean up state in Update step
* Clean up verify state, handle normal callback
* Normalize convetions
* Add verification reminder screen
* Improve session refresh
* Handle verification requirements for composer and convo
* Fix lint
* Do better
* Couple missing translations
* Format
* Use listeners for easier to grok logic
* Clean errors
* Move to global context
* [APP-1158] Gate features by email verification state (#8305 )
* Use new hook in all locations
* Format
* Seems to work, not great duplication
* Wrap all open composer calls
* Remove unneeded spans
* Missed one
* Fix handler on Conversation
* Gate new chat in header
* Add comment
* Remove whoopsie
* Format
* add hackfix for dialog not showing
* add prompt to accept chat btn
* navigation not necessary
* send back one screen, rather than home
* Update comment
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
* Clear dialog state
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
* Update icon
* Check color
* Add 2FA warning
* Update instructions
* Fix X button
* Use an effect silly goose
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update src/components/dialaUpdate copyogs/EmailDialog/screens/Update.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
* Update copy
* Update copy
* Update copy
* Update copy
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update copy
* Add link back to update email from verify email dialog
* Handle token field validation
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
2025-05-07 10:23:33 -05:00
Samuel Newman
8ec8a64472
Modernize in-app browser consent dialog ( #8191 )
...
* add stateful dialog control hook
* add new alf'd consent
* make secondary_inverted buttons clearer
* contingency for opening a link from another dialog
* rm old modal
* Differentiate buttons more
---------
Co-authored-by: Eric Bailey <git@esb.lol >
2025-04-24 16:41:11 -05:00
Samuel Newman
70dbc94766
Modernise change email flow ( #8106 )
...
* use new verify email dialog in 2fa flow
* alf change email flow
* Fallback change email dialog
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update ChangeEmailDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Update Email2FAToggle.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* don't use existing email as default value
* increase max width of email dialogs
* Use ALF verify email dialog for reminder (#5924 )
* use new verify email dialog for reminder
* style tweaks, improve web
* add a lil toast
* Apply suggestions from code review
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Ditch close and push up image
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
Co-authored-by: Eric Bailey <git@esb.lol >
* delete old change/verify email modals (#8122 )
(cherry picked from commit fceb655b3b )
* Translate email placeholder
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
* Align copy
* Clean up error handling
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
Co-authored-by: Eric Bailey <git@esb.lol >
2025-04-23 11:22:08 -05:00
Eric Bailey
0ac15920a4
Verification ( #8226 )
...
* WIP
* Alignment with icon
* Add create/remove prompts
* Fill out check dialog a bit
* Reorg
* Handle was verified state
* Add warning to edit profile
* Add warning to handle dialog
* Decent alignment in posts on all platforms
* Refactor alignment for posts, chatlist, hover card
* Disable on profile
* Convo header
* Compute simple verification state
* Add other icon, rename, integrate
* Swap in simple state for profile edits
* Clean up utility hooks
* Add verifications UI to dialog
* Add edu nux
* Revert change
* Fix wrapping of check on profile
* Rename
* Fix gap under PostMeta
* Update check dialogs
* Handle takendown verifiers in check dialog
* alf composer reply to
* Refactor verification state
* Add create/remove mutations, non-functional for now
* Fix up post-rebase
* Add check to first author noty
* Do cache updates after mutations
* DRY up hook, add to profile updates too
* Add to drawer
* Update account list
* Adapt to new types
* Hook up mutations
* Use profile shadow in feeds
* Add to settings
* Shadow currentAccountProfile
* Add invalid state to verifications
* Fix alignment and overflow in Settings and Drawer
* Re-integrate post rebase
* Remove debug code
* Update copy
* Add unverified notification support
* Remove link
* Make sure dialog closes
* Update URL
* Add settings screen
* Integrate new setting into verification states
* Add metrics, bump package, fix bad import
* NUX fixes
* Update copy
* Fixes
* Update types
* fix search autocomplete
* fix lint
* add display name warning to new dialog
* update default prefs
* Add parsing support for notifications
* Bump pkg
* Tweak noty styles
* Adjust check alignment
* Tweak check alignment
* Fix badge for verifier
* Modify copy
---------
Co-authored-by: Samuel Newman <mozzius@protonmail.com >
Co-authored-by: Paul Frazee <pfrazee@gmail.com >
2025-04-18 19:15:32 -07:00
Samuel Newman
719d7b7a57
Use SearchablePeopleList for add user to list dialog, replace old modal ( #8212 )
...
* move to dialogs dir
* make searchable people list more generic
* new list-add-remove-users dialog
* update header text
* fix header on android
* delete old modal
* reduce spacing on items
2025-04-17 11:11:46 -05:00
surfdude29
947c876fdb
mark label for translation ( #7908 )
2025-03-05 14:32:29 -08:00
Samuel Newman
f5f02aa4b3
Add dark mode option to in-app embed snippet dialog ( #7377 )
...
* add color theme selection
* change chevron direction
* change chevron direction again
* rm unused ref
2025-03-05 09:50:20 -08:00