about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Scroll sync in the pager without jumps (#1863)dan2023-11-106-87/+160
|
* Push useAnimatedScrollHandler down everywhere to work around bugs (#1866)dan2023-11-109-38/+95
| | | | | | | * Move useOnMainScroll handlers to leaves * Force Feed to always take handlers * Pass handlers from the pager
* Fix type errors (#1867)Eric Bailey2023-11-101-0/+4
|
* Merge pull request #1860 from bluesky-social/eric/startupEric Bailey2023-11-1031-915/+694
|\ | | | | Web login/signup and shell
| * Pare down session as much as possibleEric Bailey2023-11-1015-532/+126
| |
| * Clean up isDirty handlingEric Bailey2023-11-101-15/+18
| |
| * Remove error states, just best effortEric Bailey2023-11-104-29/+14
| |
| * Swap orderEric Bailey2023-11-101-1/+1
| |
| * Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-107-16/+24
| | | | | | | | unneccessary writes
| * CommentsEric Bailey2023-11-092-1/+1
| |
| * Cleanup getProfileEric Bailey2023-11-093-27/+9
| |
| * Web login/signup and shellEric Bailey2023-11-0921-373/+580
| |
* | Work around web stale closure bug in Reanimated (#1865)dan2023-11-104-7/+48
|/
* 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