about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Performance optimization (#1676)Ansh2023-10-1314-364/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upgrade sentry to support profiling monitoring * remove console logs in production builds * feeds tab bar and bottom bar animation centralized * refactor FeedPage out of Home * add script to start in production mode * move FAB inner to reanimated * move FABInner back to `Animated` RN animation * add perf commands * add testing with Maestro and perf with Flashlight * fix merge conflicts * fix resourceClass name in eas.json * fix onEndReachedThreshold in Feed * memoize styles * go back to old styling for LoadLatestBtn * remove reanimated code from useMinimalShellMode * move shell animations to hook/reanimated for perf * fix empty state issue * make shell animation feel smoother * make shell animation more smooth * run animation with autorun * specify keys for tab bar properly * remove comments * remove already imported dep * fix lint * add testing instructions * mock sentry-expo for jest * fix jest mocks * Fix the load-latest button on desktop and tablet * Fix: don't move the FAB in tablet mode * Fix type error * Fix tabs bar positioning on tablet * Fix types --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Toggle lightbox controls on tap (#1687)dan2023-10-134-63/+81
| | | | | | | * Make the lightbox controls animation smoother * Toggle controls on tap * Disable pointer events when hidden
* Fix profile preview jump (#1693)dan2023-10-134-18/+33
| | | | | | | | | | | * 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
* Disable events on hidden bars (#1686)dan2023-10-133-1/+15
|
* Fix profile layout shift (#1690)dan2023-10-131-13/+2
|
* Don't re-render bars when showing/hiding them (#1691)dan2023-10-134-46/+58
| | | | | | | * Don't re-render bars when showing/hiding them * Fix more cases * Use autorun instead of reaction to fix first render
* Fix crash when scrolling down on the web (#1684)dan2023-10-121-4/+2
|
* Make shell hide/show animation smoother (#1683)dan2023-10-123-8/+17
| | | | | * Make shell hide/show animation smoother * Also animate "load latest"
* Fix layout shift for multi-image posts (#1673)dan2023-10-122-66/+65
| | | | | | | | | * Fix layout shift for multi-image posts * Add a comment for the hack * Use margins instead of gap * Move alt label
* Port remaining lightbox code to Reanimated (#1669)dan2023-10-101-42/+27
| | | | | * Port remaining lightbox code to Reanimated * Fix memoization
* Update testrunner to use new dev-env [WIP] (#1575)Paul Frazee2023-10-101-0/+24
| | | | | | | | | | | | | | | * Update testrunner to use new dev-env * Fix label testcase * Vendor the dev-infra scripts from the atproto repo for the dev-env server runner * Bump detox to fix the ios sim control issue * Use iphone 15 pro for tests * Ensure the reminders never trigger during tests * Skip the shell tests due to a crash bug with detox and the drawer
* Fix MobX crash for Android lightbox (#1668)dan2023-10-102-1/+3
| | | | | * Fix MobX crash for Android lightbox * Reorder props to match between forks
* Change lightbox to use Pager (#1666)dan2023-10-104-141/+46
| | | | | | | | | * Change lightbox to use Pager * Fix crash issue on ios --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* make empty feed required (#1667)Ansh2023-10-102-6/+3
|
* Only warn on links to bsky.app if it represents itself as another url (#1662)Paul Frazee2023-10-101-5/+22
| | | | | * Only warn on links to bsky.app if it represents itself as another url (close #1652) * Clean up
* Fix keyboard double pad issue in email change & verify modals (#1664)Paul Frazee2023-10-102-275/+250
|
* Don't highlight tags in composer yet (#1665)Eric Bailey2023-10-101-10/+13
|
* Fix: fetch follows on desktop search for typeahead (#1660)Paul Frazee2023-10-102-2/+10
|
* Remove duplicate modal container (#1661)dan2023-10-101-2/+0
|
* Drive-by lightbox refactors (#1659)dan2023-10-103-40/+15
| | | | | | | * Remove dead code from lightbox * Rename imageIndex prop to initialImageIndex * Rename currentImageIndex to imageIndex
* Only prompt users once to verify email (according to local storage) close ↵Paul Frazee2023-10-101-6/+6
| | | | #1657 (#1658)
* Revert "Fix invite codes flash on desktop, use loading placeholder (#1591)" ↵Paul Frazee2023-10-105-142/+89
| | | | | (#1656) This reverts commit 9278822088d212c9bee6a40a6a8b773bc482242d.
* Refactor iOS lightbox to Reanimated (#1645)dan2023-10-101-108/+55
| | | | | * Remove unnecessary transform logic * Switch iOS swipe-to-dimiss to Reanimated
* Remove unnecessary opacity logic (#1646)dan2023-10-091-10/+3
|
* Fix typo in image.ts (#1638)Muneyuki Noguchi2023-10-091-1/+1
|
* Fix bug that prevents unfollowing (#1633)Paul Frazee2023-10-061-2/+2
|
* Fix stuck lightbox header after double tap (#1627)dan2023-10-051-9/+14
|
* Fix: add padding to the spinner bottom while loading threads (#1626)Paul Frazee2023-10-051-1/+3
|
* Rewrite Android lightbox (#1624)dan2023-10-057-596/+538
|
* Dont trim before posting (close #1621) (#1622)Paul Frazee2023-10-052-2/+2
| | | | | * Dont trim before posting (close #1621) * Tweak: do trim end
* Only listen to back button on android (#1623)Paul Frazee2023-10-051-0/+3
|
* Improve typeahead search with inclusion of followed users (temporary ↵Paul Frazee2023-10-0520-139/+194
| | | | | | | | | | | solution) (#1612) * Update follows cache to maintain some user info * Prioritize follows in composer autocomplete * Clean up logic and add new autocomplete to search * Update follow hook
* Slightly smaller highlighted post text (#1608)Paul Frazee2023-10-051-2/+2
|
* 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 animations and gestures getting reset on state updates in the lightbox ↵dan2023-10-054-42/+57
| | | | | | | | | (#1618) * Fix translation resetting on state update * Copy getImageStyles into iOS and Android forks * Fix opacity resetting on state update
* Remove unused lightbox options (#1616)dan2023-10-0513-576/+335
| | | | | | | | | | | | | | | | | | | | | | | * Inline lightbox helpers * Delete unused useImagePrefetch * Delete unused long press gesture * Always enable double tap * Always enable swipe to close * Remove unused onImageIndexChange * Inline custom Hooks into ImageViewing * Declare LightboxFooter outside Lightbox * Add more TODO comments * Inline useDoubleTapToZoom * Remove dead utils, move utils used only once
* Profile UI tweaks (#1607)Paul Frazee2023-10-042-3/+4
| | | | | * Use inverted color instead of primary color for press state * Fix: add missing border to empty state
* Fix invite codes flash on desktop, use loading placeholder (#1591)Patroll2023-10-045-89/+142
| | | | | * Fix invite codes flashing untrue value before loaded * Add loading placeholder for right nav invites
* Fixed a typo on the onboarding recommended screen (#1604)Baasbase2023-10-041-1/+1
|
* Onboarding & feed fixes (#1602)Paul Frazee2023-10-0412-96/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix: improve the 'end of feed' detection condition * Fix the feeds link on mobile in the empty state * Align the following empty state better on web * Dont autofocus the search input in the search tab * Fix the error boundary render * Add 'end of feed' CTA to following feed * Reduce the default feeds to discover now that we have feed-selection during onboarding * Fix case where loading spinner fails to stop rendering in bottom of feed * Fix: dont show loading spinner at footer of feed when refreshing * Fix: dont fire reminders during onboarding * Optimize adding feeds and update to mirror the api behaviors more closely * Use the lock in preferences to avoid clobbering in-flight updates * Refresh the feed after onboarding to ensure content is visible * Remove the now-incorrect comment * Tune copy
* Improve time to content in the search page (#1603)Paul Frazee2023-10-031-48/+84
| | | | | * Improve time to content in the search page * Improve loading state clarity
* Fix a potential reference error in bottombarweb (#1600)Paul Frazee2023-10-031-1/+6
|
* Fix: only use scroll-positioning control on thread when looking at replies ↵Paul Frazee2023-10-032-1/+9
| | | | (#1587)
* 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
* Fix bad reference when image picker is canceled (#1598)Paul Frazee2023-10-032-0/+6
|
* Warn the user on links that dont match their text (#1573)Paul Frazee2023-10-027-2/+251
| | | | | | | | | | | | | | | | | | | * 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>
* fix styling when on FeedsTab (#1574)Ansh2023-10-021-0/+1
|
* Fix alt text selectability in lightbox on web (close #1548) (#1571)Paul Frazee2023-10-021-1/+0
|
* Small sizing tweaks to the web modal (#1568)Paul Frazee2023-10-022-3/+3
|
* Fix 1405 handle android back button in composer (#1446)Ansh2023-09-296-17/+37
| | | | | | | * handle android back button in composer * improve backHandler error handling * simplify composer onClose functionality