about summary refs log tree commit diff
path: root/src/view/com/util
Commit message (Collapse)AuthorAgeFilesLines
* Some toasts cleanup and reorg (#8748)Eric Bailey2025-07-314-606/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorg * Move animation into css file * Update style comment * Extract core component, use platform-specific wrappers * Pull out platform specific styles * Just move styles into Toast component itself * Rename cleanup * Update API * Add duration optional prop * Add some type docs * add exp eased slide aniamtions * Make toasts full width on mobile web --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Mark old components as deprecated (#8747)Samuel Newman2025-07-308-27/+85
| | | | | | | * mark a bunch of stuff as deprecated * mark s as deprecated (serverence reference????) * rm type import
* Convert old toast types to new ones, mark as deprecated (#8746)Samuel Newman2025-07-303-16/+62
| | | | | | | * convert old types to new types * add depreciation warning for old warnings * rm as consts
* Fix dataSet for noFeedback links (#8745)Samuel Newman2025-07-301-14/+8
| | | | | | | * fix dataSet for noFeedback links * rm memo * rm useless spread
* Merge pull request #8744 from internet-development/@APiligrim/update-toastjim2025-07-303-18/+31
|\ | | | | hot fix: imports for toast and alignment
| * update type errorsAna2025-07-303-5/+16
| |
| * update: lint fixes for toast.tsxAna2025-07-301-9/+10
| |
| * update: toast style after lintAna2025-07-301-1/+1
| |
| * update sortingAna2025-07-303-15/+16
| |
| * update: imports for toastAna2025-07-302-3/+3
| |
* | Merge pull request #8743 from internet-development/@APiligrim/update-toastjim2025-07-291-0/+167
|\| | | | | [APP-1345] Hot fix: add toast.style file
| * add: Toast.styleAna2025-07-291-0/+167
| |
* | Merge pull request #8734 from internet-development/@APiligrim/update-toastjim2025-07-292-84/+154
|\| | | | | [APP-1345] Update Toast UI on the web and add to storybook
| * update: toast styles that reuse consistent styleAna2025-07-292-199/+131
| |
| * update: web toastAna2025-07-282-20/+158
| |
* | fix: general profile component layout fixes, and ability to disable the ↵Elijah Seed-Arita2025-07-241-2/+4
|/ | | | inset border for UserAvatar (#8711)
* Fix navigation (#8648)Samuel Newman2025-07-151-0/+1
|
* Fix perf issue on web - restore pop behaviour to tabs (#8620)Samuel Newman2025-07-151-2/+3
|
* fix mention tab flicker (#8640)Samuel Newman2025-07-121-0/+1
|
* Fix quote+list card padding (#8623)Samuel Newman2025-07-091-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix quote padding not being pressable * fix list padding not being pressable * Fix unnecessary loading of feeds (#8578) * stop layout shifts in feed loading * don't load feed data if we already have it * adjust styles, alf stuff * remove unused button, massively simplify * fix layout shifting in notifs * use feedcard for feed post embeds * use bold text to match other style * use Link component rather than jank Pressable * prevent nested anchors in notifs * match following text size * add space between content hider * Better dead feed handling (#8579) * add space between content hider * add handling for feeds that fail to load * cleanError, in case of network funkiness * handle deleted lists * split out missingfeed
* Activity notification settings (#8485)Samuel Newman2025-07-011-1/+2
| | | | | | Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: hailey <me@haileyok.com>
* enforce border radius on default avatar (#8577)Samuel Newman2025-07-011-4/+15
|
* Upgrade prettier to 3.6 (#8558)Samuel Newman2025-06-231-3/+8
| | | | | | | * upgrade prettier * run prettier * more files
* add scrollbars back on android (#8529)Samuel Newman2025-06-181-4/+4
|
* Modernise link warning dialog (#8243)Samuel Newman2025-06-181-5/+6
| | | | | | | | | * add link warning dialog * add copy for if sharing * delete old modal * get web working
* Hover card on anchor displayName/handle (#8479)Samuel Newman2025-06-131-1/+1
| | | | | | | | | | | * add hover to anchor display name / handle * use newer link component * Wrap using a single hover element --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Port post embeds to new arch (#7408)Eric Bailey2025-06-1327-3767/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Direct port of embeds to new arch (cherry picked from commit cc3fa1f6cea396dd9222486c633a508bfee1ecd6) * Re-org * Split out ListEmbed and FeedEmbed * Split out ImageEmbed * DRY up a bit * Port over ExternalLinkEmbed * Port over Player and Gif embeds * Migrate ComposerReplyTo * Replace other usages of old post-embeds * Migrate view contexts * Copy pasta VideoEmbed * Copy pasta GifEmbed * Swap in new file location * Clean up * Fix up native * Add back in correct moderation on List and Feed embeds * Format * Prettier * delete old video utils * move bandwidth-estimate.ts * Remove log * Add LazyQuoteEmbed for composer use * Clean up unused things * Remove remaining items * Prettier * Fix imports * Handle nested quotes same as prod * Add back silenced error handling * Fix lint --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* new arch (#8295)hailey2025-06-125-31/+39
| | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Charlotte Som <charlotte@som.codes> Co-authored-by: Hailey <me@haileyok.com>
* Video - remove `MediaInsetBorder` when fullscreen (#8476)Samuel Newman2025-06-112-4/+4
| | | | | | | | | * lift up useFullscreen, hide mediainsetborder when fullscreen * Revert "lift up useFullscreen, hide mediainsetborder when fullscreen" This reverts commit 66b17657197e26d9b4c5c951e7cc9eef66519d6d. * just move border outside of div that gets fullscreened
* Update react-navigation (#5967)dan2025-06-091-39/+44
|
* invert flag for sending to statsig (#8431)hailey2025-05-301-1/+5
|
* Share bandwidth estimate between video instances (#8377)Samuel Newman2025-05-302-1/+22
|
* Floating "Load more" makeover (#8420)Samuel Newman2025-05-281-50/+55
|
* Share menu (#7840)Samuel Newman2025-05-235-1752/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move post ctrls to #/components * restructure post controls, basic share menu * add border radius to searchable people list for android * Revert "add border radius to searchable people list for android" This reverts commit 417449086e25b82f5683b12f6405d972f48ce50e. * add copy link to native share menu * reorg files again * open native share menu on long press * Translation comments Thanks @surfdude29 * abs path * update type imports, remove forwardRef * rm react import * equal spacing of buttons, extract disco debug * add better icon * add right offset to share button for visual alignment * Add recent chats to share menu (#7853) * add recent chats to share menu * Update RecentChats.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update RecentChats.tsx * add fading edge on andriod * tweak scrollview * Add metrics and A/B alt icon to share menu (#8401) * add metrics * add a/b tested alt icon --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * More descriptive share text/icon on web (#7854) * more descriptive share text on web * revert dev mode changes * add missing import * use modified share icon everywhere * Add back conflicting changes --------- Co-authored-by: Eric Bailey <git@esb.lol> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Eric Bailey <git@esb.lol>
* add reqId to feed feedback (#8396)hailey2025-05-213-101/+66
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Live (#8354)Samuel Newman2025-05-102-13/+79
|
* move and rename button (#8358)Samuel Newman2025-05-091-13/+14
|
* [APP-1158] Refactor email-related dialogs (#8296)Eric Bailey2025-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* New Edit Profile dialog on web, use new Edit Image dialog everywhere (#8220)Samuel Newman2025-05-063-207/+288
|
* swap out cropper library (#8327)hailey2025-05-062-27/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * mostly implement * type errors * unused import * rm comment * stop accidentally deleting the image while compressing * upgrade * type fixes * upgrade, remove timeout * bump * rm mock * bump --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Remove post from feed after pressing show less (#8333)Samuel Newman2025-05-063-13/+29
| | | | | | | | | * remove post from feed after pressing show less * fix text overflow on android * move state up so it won't get recycled away * make type optional
* add internal topic misclassification report button (#8332)Samuel Newman2025-05-061-0/+23
|
* bump it bop it upgrade it (rn 79/expo 53) (#8281)hailey2025-05-024-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * basic bumps * more tweaking * fix rn patch * fix crop picker patch * fix media library patch * rm unnecessary patch * fix notifications patch * update bottomsheet * Update withAppDelegateReferrer.js * Delete withNoBundleCompression.js * rm withNoBundleCompression plugin * rm findLast shim * metro package exports is enabled by default * update react/react-dom/react-compiler * fix reanimated issue * vendor expo-ized emoji popup * fix types * hackfix view full thread * Update EmojiPickerModule.podspec * more upgrades * fix multiformats package version * add baseurl * bump mmkv * bumps * update react-keyed-flatten-children * bump locale packages * fix emoji picker dark mode * rn upgrades * Revert "bump locale packages" This reverts commit fc82f0f173032127dd7c18ed0316ae26f53db51d. * upgrade testing-library * rm test renderer * update patch name minors * rm findNodeHandle from tabbar * only do scrollview tag thing on ios * disable package exports * update expo notifications handler * memoize emoji picker styles * fix tests, mock multiformats * bump some dev deps with RC versions * completely rearchitect toasts * rm logs * layout animation config for composer footer * disable autolinking for patched libs * undo lingui changes * version bump from release candidate to 0.1 * update atproto deps * rm @did-plc/server * fix key issue (maybe) * move URL polyfill to the polyfill file * fix yarn lock * upgrade to 53.0.3 * reanimated layout anim bug patch * workletize a function that wasn't getting autoworkletized anymore (#8309) * bump to expo 53.0.4 * bump RN to 0.79.2 * fix yarn lock ci * Revert "completely rearchitect toasts" This reverts commit 2e2fcaeeed527580a6c485718544b85e8b4f52b9. * final upgrades * chore: cleanup yarn lock * prettier --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Merge branch 'demo' into mainPaul Frazee2025-05-021-6/+10
|\
| * Remove demo-mode spacing tweakPaul Frazee2025-04-251-10/+6
| |
| * Tune spacing for demo modePaul Frazee2025-04-241-7/+15
| |
* | Keep all radix dependencies aligned by using single package (#8219)Samuel Newman2025-04-241-4/+10
| | | | | | | | | | | | | | * keep all radix deps aligned by using single package * import directly from `radix-ui` or `radix-ui/internal` * prevent radix leaking into native build
* | Verification UI tweaks (#8276)Eric Bailey2025-04-241-2/+2
|/ | | | | | | | | | | | | | | * 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
* move dev mode hook (#8270)Samuel Newman2025-04-221-2/+2
|
* Verification (#8226)Eric Bailey2025-04-181-69/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>