about summary refs log tree commit diff
path: root/src/view/com/modals
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark more texts for localization (#2436)Noritada Kobayashi2024-01-103-21/+30
|
* Additional embed sources and external-media consent controls (#2424)Paul Frazee2024-01-043-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add apple music embed * add vimeo embed * add logic for tenor and giphy embeds * keep it simple, use playerUri for images too * add gif embed player * lint, fix tests * remove links that can't produce a thumb * Revert "remove links that can't produce a thumb" This reverts commit 985b92b4e622db936bb0c79fdf324099b9c8fcd8. * Revert "Revert "remove links that can't produce a thumb"" This reverts commit 4895ded8b5120c4fc52b43ae85c9a01ea0b1a733. * Revert "Revert "Revert "remove links that can't produce a thumb""" This reverts commit 36d04b517ba5139e1639f2eda28d7f9aaa2dbfb6. * properly obtain giphy metadata regardless of used url * test fixes * adjust gif player * add all twitch embed types * support m.youtube links * few logic adjustments * adjust spotify player height * prefetch gif before showing * use memory-disk cache policy on gifs * use `disk` cachePolicy on ios - can't start/stop animation * support pause/play on web * onLoad fix * remove extra pressable, add accessibility, fix scale issues * improve size of embed * add settings * fix(?) settings * add source to embed player params * update tests * better naming and settings options * consent modal * fix test id * why is webstorm adding .tsx * web modal * simplify types * adjust snap points * remove unnecessary yt embed library. just use the webview always * remove now useless WebGifStill 😭 * more type cleanup * more type cleanup * combine parse and prefs check in one memo * improve dimensions of youtube shorts * oops didn't commit the test 🫥 * add shorts as separate embed type * fix up schema * shorts modal * hide gif details * support localized spotify embeds * more cleanup * improve look and accessibility of gif embeds * Update routing for the external embeds settings page * Update and simplify the external embed preferences screen * Update copy in embedconsent modal and add 'allow all' button --------- Co-authored-by: Hailey <me@haileyok.com>
* Rework alt-text input to use bottom sheet (#2355)Paul Frazee2024-01-021-82/+65
| | | | | * Rework alt-text input to use bottom sheet * Add translations
* Disable BlurView on android (#2351)Paul Frazee2023-12-282-4/+5
| | | | | | | | | * A couple of small tweaks * Force the UI to re-render by setting a key * Disable to blurview on android * Remove hackfix
* Handle birth dates as UTC, handle locale formatting (#2363)Eric Bailey2023-12-281-1/+2
| | | | | | | | | | | | | | | | | * Enforce UTC for birthdate picker * Handle locales * Remove log * Add a second snap point to the date input in case text is zoomed * Guard against bad dates * Log message --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Mark more text as translatable (#2284)Noritada Kobayashi2023-12-271-2/+2
|
* Fix image is cropped in alt text modal (#1963)Kev2023-12-201-0/+1
|
* Move label appeal to post dropdown (#2236)Eric Bailey2023-12-181-3/+3
| | | | | | | | | | | * Move appeal from post to dropdown * Translate * Tweak copy on the appeal label modal --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix 2231 Modal overlap on double modal open (#2239)Ansh2023-12-181-1/+1
| | | | | * add same multiple snapPoints to Confirm modal * snapToIndex instead of confirm
* Add fallback to email reminder modal (#2193)Eric Bailey2023-12-121-0/+8
| | | | | * Add fallback to email reminder modal * Add more debug
* Add "Who can reply" controls [WIP] (#1954)Paul Frazee2023-12-103-0/+211
| | | | | | | | | | | | | | | | | | | | | * Add threadgating * UI improvements * More ui work * Remove comment * Tweak colors * Add missing keys * Tweak sizing * Only show composer option on non-reply * Flex wrap fix * Move the threadgate control to the top of the composer
* Close account switcher before logging out (#2148)Eric Bailey2023-12-081-2/+6
| | | | | * Close account switcher before logging out * Add comment
* Fix invites used order, adjust layout (#2139)Eric Bailey2023-12-071-13/+14
|
* Add label appeal tool to posts and accounts (#2124)Paul Frazee2023-12-073-0/+146
| | | | | * Add label appeal tool to posts and accounts * Fix translations
* Add missing translations and fix react key error in `MyLists.tsx` (#2103)Ansh2023-12-051-0/+1
| | | | | | | * add missing translations * fix key errors in MyLists * Update UserAddRemoveLists.tsx
* Improvements to persisted state migration (#2098)Eric Bailey2023-12-052-5/+5
| | | | | | | | | | | * Fix session email/emailConfirmed types, update usage for safer access * Handle fallback better, better errors * Better handling, add test * Add test for default data * Remove fallback, not needed, update logs
* Signup flow minor UI fixes (#2094)Paul Frazee2023-12-051-1/+1
| | | | | * Fix layout of no-policy notice * Fix spacing
* E2E 🟢 (#2092)Eric Bailey2023-12-051-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add logged out e2e ctrl, fix login test * Fix log handling via env vars in expo * Fix create account test * Upgrade dev-env * Fix home screen tests * Fix composer tests * Fix curate-lists tests, split in two * Fix invite codes test * Fix curate-lists tests * Give up on mergefeed test * Fix mod lists * Fix app view url * Fix profile tests * Fix profile test with hack * Keep using globals * Fix two more * Fix thread view * Better skip for merge feed * Revert debug code
* Add enter/exit animations to modals on web (#2042)Samuel Newman2023-11-301-3/+7
| | | | | | | * add reanimated layout animations to modals * reorder imports * pass context to scroll handler patches
* Fix bad references in account switcher (#1999)Eric Bailey2023-11-261-2/+2
|
* Shadow refactoring and improvements (#1959)dan2023-11-211-11/+2
| | | | | | | | | | | | | | | * Make shadow a type-only concept * Prevent unnecessary init state recalc * Use derived state instead of effects * Batch emitter updates * Use object first seen time instead of dataUpdatedAt * Stop threading dataUpdatedAt through * Use same value consistently
* Hindi Internationalization (#1914)Ansh2023-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | * get basic hindi support to work * get web app language switcher in * Refactor i18n implementation and remove unused code * add missing strings * add dropdowns and modals missing strings * complete all hindi translations * fix merge conflicts * fix legeacy persisted state * fix data in RecommendedFeeds * fix lint
* Fix some type errors (#1952)Eric Bailey2023-11-175-5/+18
| | | | | * Fix some low-hanging type errors * Override scrollRef types on profile
* Move the current agent to a global and reset RQ queries on agent change (#1946)Paul Frazee2023-11-165-19/+23
|
* Fix jumpy modal regression (#1945)dan2023-11-161-6/+10
|
* Add profile loading shim (#1940)dan2023-11-161-3/+9
|
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-1613-118/+95
| | | | | | | | | | | | | | | | | | | | | * Update login page to use service query * Update modal to use session instead of store * Move image sizes cache off store * Update settings to no longer use store * Update link-meta fetch to use agent instead of rootstore * Remove deprecated resolveName() * Delete deprecated link-metas cache * Delete deprecated posts cache * Delete all remaining mobx models, including the root store * Strip out unused mobx observer wrappers
* Refactor account-creation to use react-query and a reducer (react-query ↵Paul Frazee2023-11-161-2/+2
| | | | | | | | | refactor) (#1931) * Refactor account-creation to use react-query and a reducer * Add translations * Missing translate
* Refactor app passwords to use react-query (#1932)Paul Frazee2023-11-161-6/+19
|
* Some me model cleanup (#1928)Eric Bailey2023-11-161-7/+13
| | | | | | | | | | | | | | | | | * Replace me model in post dropdown btn * Replace delete account logic * Replace me model in bottom bar web * Replace me model in bottom bar * Replace me model in reply prompt * Better fallback * Fix reference * Fix bad ref in bottom bar
* Refactor ChangeHandle modal (#1929)Eric Bailey2023-11-161-88/+77
| | | | | | | | | | | | | * Refactor ChangeHandle to use new methods * Better telemetry * Remove unused logic * Remove caching * Add error message * Persist service changes, don't fall back on change handle
* Refactor invites modal (#1930)Eric Bailey2023-11-161-11/+43
| | | | | | | * Refactor invites modal * Replace in drawer * Delete stuff from me model
* Update profile preview to use react-query (#1890)Paul Frazee2023-11-131-13/+69
|
* More profile refactor updates (#1886)Paul Frazee2023-11-132-40/+38
| | | | | | | | | | | * Update the profile avatar lightbox * Update profile editor * Add dynamic likes tab * Add dynamic feeds and lists tabs * Implement lists listing on profiles
* More prefs cleanup (#1882)Eric Bailey2023-11-131-2/+3
| | | | | | | | | | | * Update useHomeTabs * Use queryClient to fetch * Replace useHomeTabs and useDesktopRightNavItems * Fix type error * Some cleanup
* Refactor lists to use new queries (#1875)Paul Frazee2023-11-125-246/+237
| | | | | | | | | | | | | | | | | | | | | | | | | * Refactor lists queries to react-query * Delete old lists-list model * Implement list, list-members, and list-memberships react-queries * Update CreateOrEditList modal * First pass at my-follows and actor-autocomplete queries * Update ListAddUserModal to use new queries, change to ListAddRemoveUsersModal * Update UserAddRemoveLists modal * Remove old TODO * Fix indent, autocomplete query * Add a todo --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Eric/preferences (#1873)Eric Bailey2023-11-122-127/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial preferences query, couple mutations * Remove unused * Clean up labels, migrate getModerationOpts * Add birth date handling * Migrate feed prefs * Migrate thread view prefs * Migrate homeFeed to use existing key name * Fix up saved feeds in response, no impl yet * Migrate saved feeds to new hooks * Clean up more of preferences * Fix PreferencesThreads load state * Fix modal dismissal * Small spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Pare down session as much as possibleEric Bailey2023-11-101-1/+1
|
* Remove error states, just best effortEric Bailey2023-11-101-6/+3
|
* Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-101-2/+2
| | | | unneccessary writes
* Web login/signup and shellEric Bailey2023-11-093-84/+108
|
* Internationalization & localization (#1822)Ansh2023-11-0928-194/+358
| | | | | | | | | | | | | | | | | | | | | | | | | * install and setup lingui * setup dynamic locale activation and async loading * first pass of automated replacement of text messages * add some more documentaton * fix nits * add `es` and `hi`locales for testing purposes * make accessibilityLabel localized * compile and extract new messages * fix merge conflicts * fix eslint warning * change instructions from sending email to opening PR * fix comments
* Pull language methods into api context (#1847)Eric Bailey2023-11-082-10/+8
| | | | | * Pull language methods into api context * Rename for consistency
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-0827-102/+127
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* Move language preferences to new persistence + context (#1837)Paul Frazee2023-11-083-23/+35
|
* Move invite-state to new persistence + context and replace the notifications ↵Paul Frazee2023-11-081-37/+68
| | | | with just showing uses in the modal (#1840)
* Fix accidental unwrapped strings (#1826)dan2023-11-061-2/+2
|
* Replace all logs with new loggerEric Bailey2023-11-044-11/+14
|
* Merge pull request #1813 from ↵Eric Bailey2023-11-044-8/+8
|\ | | | | | | | | bluesky-social/eric/app-903-extract-logger-into-singleton Add new logger
| * Fix other error logs while I'm at itEric Bailey2023-11-044-8/+8
| |