Commit Graph

620 Commits

Author SHA1 Message Date
Aryan Goharzad 8e91fc3279 Adds respots under the 'post' tab under profile (#158) 2023-02-06 12:23:01 -06:00
Paul Frazee bf7b961222 More e2e tests (create account) (#150) 2023-02-06 09:57:32 -06:00
Paul Frazee 0e6b53258b Error cleanup (close #79) (#148)
* Avoid surfacing errors to the user when it's not critical

* Remove now-unused GetAssertionsView

* Apply cleanError() consistently

* Give a better error message for Upstream Failures (http status 502)

* Hide errors in notifications because they're not useful
2023-02-03 13:26:58 -06:00
Aryan Goharzad eb1568e0fd Adds detox testing and instructions (#147)
* Adds detox testing and instructions

* lint

* lint
2023-02-03 13:00:04 -06:00
Paul Frazee 2d1e38be72 Calculate image aspect ratio on load (#146)
* Calculate image aspect ratio on load

* Move aspect ratio bounds to constants
2023-02-03 10:55:08 -06:00
Aryan Goharzad cede0c772c Adds more tracking all around the app (#142)
* Adds more tracking all around the app

* more events

* lint

* using better analytics naming

* missed file

* more fixes
2023-02-02 18:48:36 -06:00
Paul Frazee 8b310d91f0 Fix photo & camera permission management (#140)
* Check photo & camera perms and alert the user if not available (close #64)

- Adds perms checks with a prompt to update settings if needed
- Moves initial access of photos in the composer so that the initial prompt
  occurs at an intuitive time.

* Add react-native-permissions test mock

* Fix issue causing multiple access requests

* Use longer var names

* Update podfile.lock

* Lint fix

* Move photo perm request in composer to the gallery btn instead of when the carousel is opened
2023-02-02 18:29:26 -06:00
Paul Frazee 9e71a50a1d Implement account deletion (#141) 2023-02-02 18:28:42 -06:00
Paul Frazee 99272c0ec1 Composer: mention tagging now works in middle of text (close #105) (#139) 2023-02-02 13:13:19 -06:00
Paul Frazee b14cf939d2 Disable like/repost animations to see if theyre causing #135 (#137) 2023-02-01 18:20:02 -06:00
Paul Frazee 1c481374ec Configure feed FlatList (removeClippedSubviews=true) to improve scroll performance (#136) 2023-02-01 18:19:50 -06:00
Paul Frazee 07c59583aa Merge branch 'main' of github.com:bluesky-social/social-app into main 2023-02-01 13:56:48 -06:00
Paul Frazee ed3829ee5c Fix layout in onboarding to not overflow the footer 2023-02-01 13:56:33 -06:00
Paul Frazee 865deb930b Fix bug in lightbox rendering (#133) 2023-02-01 13:20:43 -06:00
Aryan Goharzad 1e5330931d Adds dark mode to the dropdown (#131)
* Adds dark mode to the bottom sheet

* Make background button lighter (like before)

* lint
2023-02-01 13:11:29 -06:00
Paul Frazee 9889035a20 Reduce render cost of post controls and improve perceived responsiveness (#132)
* Move post control animations into conditional render and increase perceived responsiveness

* Remove log
2023-02-01 13:09:20 -06:00
Aryan Goharzad ad511bc574 Adds dark mode to the edit screen (#130)
* Adds dark mode to edit screen

* lint

* lint

* lint
2023-02-01 12:52:23 -06:00
Paul Frazee 7b802da7b5 Fixes to navigation swipes (#129)
* Nav swipe: increase the distance traveled in response to gesture movement.

This causes swipes to feel faster and more responsive.

* Fix: fully clamp the swipe against the edge

* Improve the performance of swipes by skipping the interaction manager
2023-02-01 11:13:28 -06:00
Paul Frazee ae6b5f0d20 Fix missing replacement of flex:1 to height:100 2023-01-31 17:07:23 -06:00
Paul Frazee 5d4dea0a5a Collection of fixes to list rendering (#127)
* Fix bug that caused endless spinners in profile feeds

* Bundle fetches of suggested actors into one update

* Fixes to suggested follow rendering
2023-01-31 17:03:34 -06:00
Paul Frazee 5ccdec1e4f Image performance improvements (#126)
* Switch out most images for FastImage

* Add image loading placeholders

* Fix tests
2023-01-31 17:01:02 -06:00
Aryan Goharzad 0ce4f57e0b [Draft] Fixes image failing on reupload issue (#128)
* Fixes image failing on reupload issue

* Use tmp folder instead of documents

* lint
2023-01-31 16:55:09 -06:00
Paul Frazee d26f024fa1 Add explicit link-embed controls to the composer (#120)
* Add explicit link-embed controls

* Update the target rez/size of link embed thumbs

* Remove the alert before publishing without a link card
2023-01-31 12:29:23 -06:00
Paul Frazee 0942c5ed21 Fix to ordering of images in the embed grid (#121) 2023-01-31 12:08:33 -06:00
Aryan Goharzad b2e7a90565 Replaces the alert with dropdown for profile image and banner (#123)
* replaces the alert with dropdown for profile image and banner

* lint
2023-01-31 12:07:06 -06:00
Paul Frazee 9302940a23 Update login to use new session.create api, which enables email login (close #93) (#119) 2023-01-31 10:38:43 -06:00
Paul Frazee 26a4f85fda Fix character counter color in dark mode 2023-01-31 10:20:31 -06:00
Paul Frazee 0d8a7cd816 Slightly increase the hitslop for post controls 2023-01-31 08:31:34 -06:00
Paul Frazee c9c4a107f2 Increase max image resolutions and sizes (#118) 2023-01-30 19:26:45 -06:00
Paul Frazee 43bc272615 Fixes to session management (#117)
* Update session-management to solve incorrectly dropped sessions

* Reset the nav on account switch

* Reset the feed on me.load()

* Update tests to reflect new account-switching behavior
2023-01-30 18:30:42 -06:00
Aryan Goharzad d563beb239 Image not loading on swipe (#114)
* Adds prefetching to images

* Adds image prefetch

* bugfix for images not showing on swipe

* Fixes prefetch bug

* Update src/view/com/util/PostEmbeds.tsx

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-01-30 13:32:12 -06:00
Paul Frazee 94771b5c7f Bump @atproto/api@0.0.7 (#112) 2023-01-30 12:01:12 -06:00
Aryan Goharzad a941cc7758 Update to RN 71.1.0 (#100)
* Update to RN 71

* Adds missing lint plugin

* Add missing native changes
2023-01-27 13:05:23 -06:00
Paul Frazee 759f022351 Bump podfile.lock 2023-01-26 09:51:05 -06:00
Paul Frazee 59b096196c Brand tuning: switch from "blueprint B" to "cloud imagery" (#96)
* Switch app icon to bluesky image

* Update splash screen to clouds

* Update login screen to use branding

* Lighten the shadows in the brand imagery
2023-01-25 19:01:16 -06:00
Paul Frazee f39a27ed66 Fix: dont dedup reposts that are in threads, as that can cause rendering issues (close #71) 2023-01-25 17:57:53 -06:00
Paul Frazee d0bca3c576 Add a sanity check to avoid bad references, close #77 2023-01-25 17:49:22 -06:00
Paul Frazee 03b44c0e45 Fix pagination and rendering of suggested follows (#95) 2023-01-25 17:46:14 -06:00
Aryan Goharzad 10c9b26475 Saves image on long press (#83)
* Saves image on long press

* Adds save on long press

* Forking lightbox

* move to wrapper only to the bottom sheet to reduce impact of this change

* lint

* lint

* lint

* Use official `share` API

* Clean up cache after download

* comment

* comment

* Reduce swipe close velocity

* Updates per feedback

* lint

* bugfix

* Adds delayed press-in for TouchableOpacity
2023-01-25 17:25:34 -06:00
Aryan Goharzad 3e6a6960d4 Adds darkmode support for "Liked by" screen (#94)
* Adds darkmode support for "Liked by" screen

* changes based on feedback

* variable naming
2023-01-25 16:54:22 -06:00
Paul Frazee 5635bde707 Push notification & session management cleanup (#92)
* Add some temporary logging to help suss out the session drop issue

* Fix to session resumption: copy session tokens during a resumeSession attempt

* Factor out notifee display into a lib and add to storybook

* Tune the bg notifications fetch to only get what is needed

* Fix: run account update inside a mobx action

* Remove debugging logs for sessions

* Fixes to bg notifications fetch
2023-01-25 11:31:09 -06:00
Paul Frazee 1a8c6ac71e Fix missing config for background fetch 2023-01-24 19:59:40 -06:00
Paul Frazee 3bb220f8be Initial pass at push notifications + some fixes to the session management (#91)
* Fix: test the session during resume to ensure it's valid

* Don't delete sessions for now

* Add notifee and request notif permissions on first login

* Set unread notifications badge on app icon

* Trigger a notifee card on new notifications

* Experimental: use react-native-background-fetch to check for notifications

* Add missing mocks

* Fix to resumeSession()
2023-01-24 19:32:24 -06:00
Paul Frazee 8187a07aee Add basic analytics (#89)
* Add basic analytics

* Fix: add mock for analytics
2023-01-24 13:58:35 -06:00
Paul Frazee d054a69bcf Resolve all remaining lint issues (#88)
* Rework 'navIdx' variables from number arrays to strings to avoid equality-check failures in react hooks

* Resolve all remaining lint issues

* Fix tests

* Use node v18 in gh action test
2023-01-24 13:00:11 -06:00
Aryan Goharzad 4b1fe49132 more prettier and lint cleanup (#82)
* more prettier and lint cleanup

* Fixes more lint issues

* lint

* ignore more files

* remove todos

* lint
2023-01-24 11:03:18 -06:00
Paul Frazee b2c139dbc0 Account switcher (#85)
* Update the account-create and signin views to use the design system.

Also:
- Add borderDark to the theme
- Start to an account selector in the signin flow

* Dark mode fixes in signin ui

* Track multiple active accounts and provide account-switching UI

* Add test tooling for an in-memory pds

* Add complete integration tests for login and the account switcher
2023-01-24 09:06:27 -06:00
Aryan Goharzad 02488f06d8 Removes white space from around images (#81)
* Removes white space from around images

* Add a subtle border
2023-01-23 20:17:37 -06:00
Aryan Goharzad b0d367a3b8 Lints some errors and warnings (#76) 2023-01-20 13:43:28 -06:00
Aryan Goharzad 19c9ffa352 Fixes embed links for twitter and tiktok (#74) 2023-01-20 12:54:30 -06:00