about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* CommentsEric Bailey2023-11-092-1/+1
|
* Cleanup getProfileEric Bailey2023-11-093-27/+9
|
* Web login/signup and shellEric Bailey2023-11-0921-373/+580
|
* Pull useAnimatedScrollHandler back up (#1858)dan2023-11-093-47/+26
| | | | | | | * Revert "Pull animated scroll handler down from pager" This reverts commit ecebb78e40148b9160f832d26ada1d366551b645. * Only handle onScroll for current page
* Refactor post threads to use react query (#1851)Paul Frazee2023-11-0912-475/+1385
| | | | | | | | | | | | | | | | | | | * Add post and post-thread queries * Update PostThread components to use new queries * Move from normalized cache to shadow cache model * Merge post shadow into the post automatically * Remove dead code * Remove old temporary session * Fix: set agent on session creation * Temporarily double-login * Handle post-thread uri resolution errors
* First pass at a session handler (#1850)Eric Bailey2023-11-099-56/+488
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass at a session handler * TODOs * Fix recursion * Couple more things * Add back resume session concept * Handle ready * Cleanup of initial loading states * Handle init failure * Cleanup * Remove account * Add updateCurrentAccount * Remove log * Cleanup * Integrate removeAccount * Add hasSession * Add to App.native, harden migration * Use effect to persist data
* Fix tab alignment on the web (#1857)dan2023-11-091-1/+0
|
* Show tabs when swiping feeds (#1856)dan2023-11-092-3/+18
|
* Sync top/bottom bar disappearance to the scroll (#1855)dan2023-11-0910-105/+181
| | | | | | | | | | | | | | | | | * Disable existing code that toggles shell * Make shell mode a float * Translate based on the gesture * Track header and footer heights * Add web support * Fix types and cleanup * Add back isScrolled logic * Add comments
* Hotfix internationalization on mobile (#1854)Ansh2023-11-091-4/+11
| | | | | * hotfix internationalization on mobile * remove comment
* Internationalization & localization (#1822)Ansh2023-11-09103-1349/+9620
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Hide/show header and footer without re-renders, take two (#1849)dan2023-11-097-55/+63
| | | | | | | | | * Remove callsites using the state value * Remove unused code * Change shell mode without re-renders * Adjust "write your reply" for mode
* Pull language methods into api context (#1847)Eric Bailey2023-11-087-93/+105
| | | | | * Pull language methods into api context * Rename for consistency
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-0870-498/+634
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* State layer cleanup: move alt-text-required into preferences and fix a bug ↵Paul Frazee2023-11-088-29/+21
| | | | | | | in reminders (#1845) * Move alt-text-required into preferences * Fix bug: reminders now using new onboarding state
* Move language preferences to new persistence + context (#1837)Paul Frazee2023-11-0815-190/+233
|
* Move invite-state to new persistence + context and replace the notifications ↵Paul Frazee2023-11-0812-259/+137
| | | | with just showing uses in the modal (#1840)
* Move muted threads to new persistence + context (#1838)Paul Frazee2023-11-0812-94/+95
|
* Move onboarding state to new persistence + reducer context (#1835)Paul Frazee2023-11-0814-167/+199
|
* Move require alt-text to new persistence + context (#1839)Paul Frazee2023-11-086-25/+69
|
* Move reminders to new persisted state layer (#1834)Paul Frazee2023-11-078-100/+66
|
* Add persistent state provider (#1830)Eric Bailey2023-11-0713-74/+465
| | | | | | | | | | | | | | | | | | | | | | | | | * Add persistent state provider * Catch write error * Handle read errors, update error msgs * Fix lint * Don't provide initial state to loader * Remove colorMode from shell state * Idea: hook into persisted context from other files * Migrate settings to new hook * Rework persisted state to split individual contexts * Tweak persisted schema and validation --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Extract shell state into separate context (#1824)Eric Bailey2023-11-0751-237/+367
| | | | | | | | | | | | | | | | | * WIP * Add shell state * Integrate new shell state for drawer and minimal shell mode * Replace isDrawerSwipeDisabled * Split shell state into separate contexts to avoid needless re-renders * Fix typo --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Pull animated scroll handler down from pager (#1827)dan2023-11-073-87/+114
|
* Use Sentry only for errors (#1776)dan2023-11-073-55/+3
| | | | | * Use Sentry only for errors * Fix merge
* Fix removal of old lists from saved feeds (#1823)Eric Bailey2023-11-063-7/+20
| | | | | * Fix removal of old lists from saved feeds * Fix saved feed removal race condition
* Fix accidental unwrapped strings (#1826)dan2023-11-064-7/+7
|
* Fix sticky pager jumps (#1825)dan2023-11-064-28/+48
| | | | | | | | | | | | | * Defer showing pager content until its header settles * Introduce the concept of headerOnlyHeight * Keep headerOnlyHeight in state, make headerHeight derived * Hide content until *both* header (only) and tabbar are measured * Hide tabbar to read its layout earlier * Give consistent keys to pages
* Fix minor list layout bugs (#1810)dan2023-11-064-3/+4
| | | | | * Fix accidental border on mobile * Fix lists list to take full screen
* Remove old loggerEric Bailey2023-11-041-115/+0
|
* Replace all logs with new loggerEric Bailey2023-11-0466-230/+301
|
* Merge pull request #1813 from ↵Eric Bailey2023-11-0467-166/+1076
|\ | | | | | | | | bluesky-social/eric/app-903-extract-logger-into-singleton Add new logger
| * Add logDump tests, ensure Log screen is reversedEric Bailey2023-11-043-2/+37
| |
| * Fix other error logs while I'm at itEric Bailey2023-11-0440-86/+104
| |
| * Fix immediate TS errorsEric Bailey2023-11-0419-71/+81
| |
| * Comment out sentry in prod for nowEric Bailey2023-11-041-1/+1
| |
| * Add new loggerEric Bailey2023-11-0410-8/+855
| |
* | ListAddUser modal UX improvements (#1809)Paul Frazee2023-11-033-20/+27
| | | | | | | | | | | | | | * typo * Add loading state to ListAddUser * Improve UI/UX of ListAddUser
* | Refresh on scroll-to-top by active section press (#1807)Paul Frazee2023-11-032-13/+4
|/
* Improved list and feed errors (#1798)Paul Frazee2023-11-036-58/+235
| | | | | | | | | * Fix error-state rendering of ProfileList * Unsave/unpin lists on delete * Improve handling of failing feedgens * Only show 'remove' btn on feed DNE
* Fix copyright report link (#1799)Paul Frazee2023-11-021-1/+2
|
* Lookup did for my profile at screen to avoid bad actor error (#1800)Paul Frazee2023-11-022-5/+5
|
* Work around a startup stall caused by expo-image on low-end Android (#1801)dan2023-11-023-11/+39
| | | | | * Use plain RN image for startup-blocking UI * Add comments
* Treat PHP pages as HTML (#1797)Eric Bailey2023-11-021-1/+1
|
* Replace draglist due to upstream errors (#1795)Paul Frazee2023-11-022-163/+132
| | | | | | | | | | | * Replace draggable flatlist with simple sort buttons * Remove react-native-draggable-flatlist dep * Fix hitslops * Update lockfile * Remove bad flex:1
* Fix max-height issuesPaul Frazee2023-11-021-1/+8
|
* Merge branch 'make-choose-account-scrollable' of ↵Paul Frazee2023-11-021-2/+3
|\ | | | | | | https://github.com/flicknow/social-app into flicknow-make-choose-account-scrollable
| * Make choose account form scrollableflicknow2023-11-011-2/+3
| |
* | Store saved feeds on the root store so we can load on init (#1793)Paul Frazee2023-11-014-3/+21
|/
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-0182-1919/+3768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>