about summary refs log tree commit diff
path: root/src/view/com/modals
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | ListAddUser modal UX improvements (#1809)Paul Frazee2023-11-031-19/+24
|/ | | | | | | * typo * Add loading state to ListAddUser * Improve UI/UX of ListAddUser
* Fix copyright report link (#1799)Paul Frazee2023-11-021-1/+2
|
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-016-68/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists screen * Update Lists screen and List create/edit modal to support curate lists * Rework the ProfileList screen and add curatelist support * More ProfileList progress * Update list modals * Rename mutelists to modlists * Layout updates/fixes * More layout fixes * Modal fixes * List list screen updates * Update feed page to give more info * Layout fixes to ListAddUser modal * Layout fixes to FlatList and Feed on desktop * Layout fix to LoadLatestBtn on Web * Handle did resolution before showing the ProfileList screen * Rename the CustomFeed routes to ProfileFeed for consistency * Fix layout issues with the pager and feeds * Factor out some common code * Fix UIs for mobile * Fix user list rendering * Fix: dont bubble custom feed errors in the merge feed * Refactor feed models to reduce usage of the SavedFeeds model * Replace CustomFeedModel with FeedSourceModel which abstracts feed-generators and lists * Add the ability to pin lists * Add pinned lists to mobile * Remove dead code * Rework the ProfileScreenHeader to create more real-estate for action buttons * Improve layout behavior on web mobile breakpoints * Refactor feed & list pages to use new Tabs layout component * Refactor to ProfileSubpageHeader * Implement modlist block and mute * Switch to new api and just modify state on modlist actions * Fix some UI overflows * Fix: dont show edit buttons on lists you dont own * Fix alignment issue on long titles * Improve loading and error states for feeds & lists * Update list dropdown icons for ios * Fetch feed display names in the mergefeed * Improve rendering off offline feeds in the feed-listing page * Update Feeds listing UI to react to changes in saved/pinned state * Refresh list and feed on posts tab press * Fix pinned feed ordering UI * Fixes to list pinning * Remove view=simple qp * Add list to feed tuners * Render richtext * Add list href * Add 'view avatar' * Remove unused import * Fix missing import * Correctly reflect block by list state * Replace the <Tabs> component with the more effective <PagerWithHeader> component * Improve the responsiveness of the PagerWithHeader * Fix visual jank in the feed loading state * Improve performance of the PagerWithHeader * Fix a case that would cause the header to animate too aggressively * Add the ability to scroll to top by tapping the selected tab * Fix unit test runner * Update modlists test * Add curatelist tests * Fix: remove link behavior in ListAddUser modal * Fix some layout jank in the PagerWithHeader on iOS * Simplify ListItems header rendering * Wait for the appview to recognize the list before proceeding with list creation * Fix glitch in the onPageSelecting index of the Pager * Fix until() * Copy fix Co-authored-by: Eric Bailey <git@esb.lol> --------- Co-authored-by: Eric Bailey <git@esb.lol>
* UI/UX improvements in Edit profile screen (#1767)Tarık2023-10-301-13/+21
| | | | | | | | | * Remove cropped area in Edit profile screen iOS * Hide cancel button when saving changes in EditProfile * Disable fadeOut animation cancel button for web in EditProfile screen Since react-native-reanimated is not configured for web support (https://docs.swmansion.com/react-native-reanimated/docs/2.x/fundamentals/web-support/), we are enabling fade out animation for iOS and android solely
* allow enter key to trigger waitlist signup (#1723)Ansh2023-10-251-0/+2
|
* Fixed CropImage modal aspect ratio buttons visibility in dark mode (#1730)elliot2023-10-251-3/+3
|
* Simplify the avatar component (#1744)dan2023-10-252-4/+4
| | | | | | | | | | | * Copypaste UserAvatar to EditableUserAvatar * Swap usages with onSelectNewAvatar to EditableUserAvatar * Split prop types into UserAvatarProps and EditableUserAvatarProps * Remove dead branches from EditableUserAvatar * Remove dead branches from UserAvatar
* Fix profile preview jump (#1693)dan2023-10-132-14/+17
| | | | | | | | | | | * Add top inset for profile preview to match target screen * Avoid flicker by waiting for profile screen navigation * Fix glimmer to align with the content * A more reliable (but non-scientific) fix for the flash * Lower the timeout
* Fix keyboard double pad issue in email change & verify modals (#1664)Paul Frazee2023-10-102-275/+250
|
* Revert "Fix invite codes flash on desktop, use loading placeholder (#1591)" ↵Paul Frazee2023-10-101-27/+0
| | | | | (#1656) This reverts commit 9278822088d212c9bee6a40a6a8b773bc482242d.
* Pull upstream bugfixes to bottom-sheet (#1606)Paul Frazee2023-10-051-59/+54
| | | | | * Bump bottom-sheet to latest for bugfixes * Small tweak to the account switcher
* Fix invite codes flash on desktop, use loading placeholder (#1591)Patroll2023-10-041-0/+27
| | | | | * Fix invite codes flashing untrue value before loaded * Add loading placeholder for right nav invites
* Add an illustration to the email verification reminder (#1586)Paul Frazee2023-10-031-0/+27
| | | | | * Add an illustration to the email verification reminder * Set height on svg to avoid overflow issues in android
* Warn the user on links that dont match their text (#1573)Paul Frazee2023-10-023-0/+169
| | | | | | | | | | | | | | | | | | | * Add link warning modal when URLs do not match their text * Simplify the misleading link case for clarity * Fix typecheck * fix dark mode * Give a stronger visual indication of the root domain in the link warning * More rigorous URL mismatch logic * Remove debug --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Small sizing tweaks to the web modal (#1568)Paul Frazee2023-10-022-3/+3
|
* Account quick switch modal (#1567)Paul Frazee2023-09-282-0/+140
| | | | | | | | | | | | | | | * quick switch menu * Some small tweaks and fixes to the account switch modal * Factor out the account switcher logic to a hook * Add haptic feedback on account switcher open * Fix bad merge --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Email verification and change flows (#1560)Paul Frazee2023-09-285-1/+592
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix 'Reposted by' text overflow * Add email verification flow * Implement change email flow * Add verify email reminder on load * Bump @atproto/api@0.6.20 * Trim the inputs * Accessibility fixes * Fix typo * Fix: include the day in the sharding check * Update auto behaviors * Update yarn.lock * Temporary error message --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Prefilter the mergefeed to ensure a better mix of following and custom feeds ↵Paul Frazee2023-09-201-1/+1
| | | | | | | | | | | | | | | (#1498) * Prefilter the mergefeed to ensure a better mix of following and custom feeds * Test suite improvements & tests for the mergefeed (#1499) * Disable invite codes test for now * Update test sim to latest iphone * Introduce TestCtrls driver * Add mergefeed tests
* Updates InviteCodes modal to use dynamic/responsive styles on web (#1502)Bryan Lee2023-09-201-1/+10
|
* add suggested follow section to profile header (#1481)Eric Bailey2023-09-201-1/+6
| | | | | | | | | | | | | * add suggested follow section to profile header * fix button overflow * don't even render on preview * fix useFollowDid and FollowButton race condition * add section header, close button, active state * lighten icon
* Add birth date gating to moderation settings (#1435)Paul Frazee2023-09-114-39/+216
| | | | | | | * Add birth date preference, modal to set, link in settings, and age gate in moderation * Styling fixes for android * Fix types
* Give explicit names to MobX observer components (#1413)dan2023-09-077-404/+414
| | | | | | | | | * Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
* fix text color on waitlist join (#1387)Ansh2023-09-061-1/+1
|
* Upgrade to Expo 49 (#1331)Eric Bailey2023-09-054-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update to expo 49 * update expo-camera to fix console erorrs * run doctor again * fix ts errors * patch @sentry/react-native Getting `cannot read property 'ignoreLogs' of undefined` in this file. Ironically, this may be a cyclical imports problem. LogBox isn't enabled in production, so this patch should only affect dev/test. * fix type error * reinstall newer reanimated * pin expo-dev-client to fix reanimated dev-build issue * fix type errors, fix bad conflict res * Fix to notifications badge z-index on desktop --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-0517-85/+167
| | | | | | | | | | | | | | | | | | | * Move most responsive queries to the hook * Fix invalid CSS value * Fixes to tablet render of post thread * Fix overflow issues on web * Fix search header on tablet * Fix QP margin in web composer * Fix: only apply double gutter once to flatlist (close #1368) * Fix styles on discover feeds header * Fix double discover links in multifeed
* Merge branch 'ansh/app-812-add-custom-feed-discovery-to-onboarding' into mainPaul Frazee2023-08-303-15/+0
|\
| * Move onboarding to the withAuthRequired HOCPaul Frazee2023-08-292-48/+1
| |