Commit Graph

4959 Commits

Author SHA1 Message Date
Eric Bailey 9fdde1cdf3 [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>
2025-05-02 15:06:28 -05:00
Eric Bailey 2f9b23c6aa Move to global context 2025-04-29 10:11:55 -05:00
Eric Bailey e855ffc1c5 Clean errors 2025-04-28 21:02:31 -05:00
Eric Bailey f11b24e80e Use listeners for easier to grok logic 2025-04-28 20:38:55 -05:00
Eric Bailey b1257365e8 Format 2025-04-28 15:57:56 -05:00
Eric Bailey 6c79f2efaf Couple missing translations 2025-04-28 15:41:19 -05:00
Eric Bailey 5c12f598a6 Do better 2025-04-28 15:12:15 -05:00
Eric Bailey 9cab89875b Fix lint 2025-04-28 14:48:44 -05:00
Eric Bailey cc66745581 Handle verification requirements for composer and convo 2025-04-28 14:48:21 -05:00
Eric Bailey ec7dfeafa2 Improve session refresh 2025-04-28 14:07:48 -05:00
Eric Bailey c2cfc5f581 Add verification reminder screen 2025-04-28 13:57:16 -05:00
Eric Bailey 57c4d1516c Normalize convetions 2025-04-28 13:33:16 -05:00
Eric Bailey 527945ad7f Clean up verify state, handle normal callback 2025-04-28 13:31:52 -05:00
Eric Bailey c7e2e3dc29 Clean up state in Update step 2025-04-28 13:02:44 -05:00
Eric Bailey cbe7260578 Add 2FA screens 2025-04-28 11:17:14 -05:00
Eric Bailey 05f1872ef7 Add new state 2025-04-27 18:31:03 -05:00
Eric Bailey 46af6ceb5f Fix load state when reusing same email 2025-04-27 18:15:49 -05:00
Eric Bailey f4482dd292 Handle instructions and integrate into 2FA setting 2025-04-25 15:57:54 -05:00
Eric Bailey 90cb1ac41f Handle token step 2025-04-25 15:36:48 -05:00
Eric Bailey 4a7c4fd215 Remove tentative EnterCode step 2025-04-25 15:13:11 -05:00
Eric Bailey ecab279de3 Verify step, integrate stateful control 2025-04-25 15:12:35 -05:00
Eric Bailey 795bdbeb59 Fire off confirmation email after change 2025-04-25 13:59:58 -05:00
Eric Bailey d7d297b03b Update email 2025-04-25 13:01:40 -05:00
Eric Bailey 71acb413e9 WIP 2025-04-24 20:12:18 -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 69f656f283 cleanup mod screens (#8199) 2025-04-24 16:36:39 -05:00
Samuel Newman 278a54850b Keep all radix dependencies aligned by using single package (#8219)
* keep all radix deps aligned by using single package

* import directly from `radix-ui` or `radix-ui/internal`

* prevent radix leaking into native build
2025-04-24 16:15:46 -05:00
Samuel Newman b6a6b1bab4 fix pwi at 1300px (#8238) 2025-04-24 16:07:56 -05:00
Samuel Newman 686f15a62b fix skeleton height (#8221) 2025-04-24 16:05:48 -05:00
Eric Bailey 6f44abee35 Verification UI tweaks (#8276)
* Prevent issuing verifications for users without display names

* Wait for success before closing, show errors

* Update icons

* WIP adjust size

* Adjust check size in feeds

* Add back unused icon

* Format
2025-04-24 11:46:23 -05:00
pfrazee e1e936068a Nightly source-language update 2025-04-24 02:38:23 +00: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
Samuel Newman 118d385b10 make handles lowercase (#8233) 2025-04-23 17:16:46 +03:00
natalie 555dd6a4db Sanitize handle in header (#8272)
* Sanitize handle in header

* use prefix param correctly
2025-04-23 05:54:41 -07:00
pfrazee 1fe94ba290 Nightly source-language update 2025-04-23 02:37:50 +00:00
Samuel Newman dba0bd8379 move dev mode hook (#8270) 2025-04-22 11:13:13 -07:00
Mathieu Acthernoene a770f5635b Edge to edge support (#7497) 2025-04-22 19:16:50 +03:00
pfrazee 6e80b340c8 Nightly source-language update 2025-04-22 02:37:34 +00:00
Eric Bailey 0a7734f9ed Refactor search history (#8260) 2025-04-21 19:16:59 -05:00
Eric Bailey 8a602bf9f6 Tweak alignment (#8258) 2025-04-21 18:08:06 -05:00
Eric Bailey 3f47c8cf06 Improve display name in Settings (#8256) 2025-04-21 17:05:14 -05:00
Eric Bailey aa3ee8db4e Align handling (#8255) 2025-04-21 16:59:46 -05:00
Eric Bailey 8fdefb7e94 Add check to composer user autocomplete (#8253)
* Add check to composer autocomplete web

* Add check to composer autocomplete mobile
2025-04-21 16:32:29 -05:00
Eric Bailey 4aaf81fedd Show date in verifications dialog (#8257) 2025-04-21 15:41:15 -05:00
Eric Bailey b3c3ee5541 Tweak dialog copy (#8254) 2025-04-21 15:34:20 -05:00
Samuel Newman 13884b0a1c fix composer reply line height (#8241) 2025-04-21 15:29:46 -05:00
Eric Bailey 873ba16d2d Use normal spaces around check (#8252) 2025-04-21 14:58:15 -05:00
Eric Bailey d5dc065a83 Make whole verifier clickable, no nested interactives (#8249) 2025-04-21 12:08:05 -05:00
Eric Bailey 0278c7a0b4 Make notifications clickable (#8251) 2025-04-21 12:07:55 -05:00
Samuel Newman a091def512 rm other close (#8250) 2025-04-21 09:53:01 -07:00