Commit Graph

609 Commits

Author SHA1 Message Date
Paul Frazee 22820372df more robust centering of the play button (#181)
Co-authored-by: Aryan Goharzad <arrygoo@gmail.com>
2023-02-09 16:37:59 -06:00
Aryan Goharzad 04b3ebbf63 Adds hardcoded suggested list (#178)
* Adds hardcoded suggested list

* Update suggested-actors-view to support page sizes smaller than the hardcoded list

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-02-09 16:33:35 -06:00
Paul Frazee 70b0dc070a Add scroll-to-top for all screens (#177) 2023-02-09 16:10:22 -06:00
Aryan Goharzad b84c88cd21 151 feat youtube embed iframe (#176)
* youtube embed iframe temp commit

* Fixes styling and code cleanup

* lint

* Now clicking between the pause and settings button doesn't trigger the parent

* use modest branding (less yt logos)

* Stop playing the video once there's a navigation event

* Make sure the iframe is unmounted on any navigation event

* fixes tests

* lint
2023-02-09 12:11:02 -06:00
Paul Frazee 00d41c9168 Rework the search UI and add (#174)
* Add search tab and move icon to footer

* Remove subtitles from view header

* Remove unused code

* Clean up UI of search screen

* Search: give better user feedback to UI state and add a cancel button

* Add WhoToFollow section to search

* Add a temporary SuggestedPosts solution using the patented 'bsky team algo'

* Trigger reload of suggested content in search on open

* Wait five min between reloading discovery content

* Reduce weight of solid search icon in footer

* Fix lint

* Fix tests
2023-02-08 18:01:29 -06:00
Paul Frazee 6ffc92db09 Fix to an edge case with feed re-ordering for threads (#172) 2023-02-08 13:02:10 -06:00
Paul Frazee c2b7796317 Refactor models to use bundleAsync and lock regions (#171) 2023-02-08 11:57:40 -06:00
Paul Frazee 82ea907e8f Fix potential issues with promise guards when an error occurs (#170) 2023-02-08 10:52:47 -06:00
Aryan Goharzad 575cbeb770 Fixes embeds for youtube channels (#169) 2023-02-08 10:10:05 -06:00
Paul Frazee 65f958c128 Wire up ReportAccount and ReportPost (#168) 2023-02-07 18:45:41 -06:00
Paul Frazee 8944160130 Minor aesthetic cleanup in SessionModel 2023-02-07 16:51:55 -06:00
Paul Frazee 759ec8011b Refactor session management to use a new "Agent" API (#165)
* Add the atp-agent implementation (temporarily in this repo)

* Rewrite all session & API management to use the new atp-agent

* Update tests for the atp-agent refactor

* Refactor management of session-related state. Includes:
- More careful management of when state is cleared or fetched
- Debug logging to help trace future issues
- Clearer APIs overall

* Bubble session-expiration events to the user and display a toast to explain

* Switch to the new @atproto/api@0.1.0
2023-02-07 16:04:08 -06:00
Aryan Goharzad 0e160298c8 154 cached image profile (#167)
* Fixes issue where retrying on image upload fails

* Lint, longer test time

* Longer waitfor time in tests

* even longer timeout

* longer timeout

* missed file

* Fixes image cache error on second try for profile screen

* lint

* lint

* lint
2023-02-07 14:29:33 -06:00
Aryan Goharzad 2ac6cae63a Fixes issue where retrying on image upload fails (#166)
* Fixes issue where retrying on image upload fails

* Lint, longer test time

* Longer waitfor time in tests

* even longer timeout

* longer timeout

* missed file

* Update src/view/com/composer/ComposePost.tsx

Co-authored-by: Paul Frazee <pfrazee@gmail.com>

* Update src/view/com/composer/ComposePost.tsx

Co-authored-by: Paul Frazee <pfrazee@gmail.com>

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-02-07 12:38:22 -06:00
Paul Frazee db9c8474bd Fix refresh behavior around a series of models (repost, graph, vote) (#163)
* Fix refresh behavior around a series of models (repost, graph, vote)

* Fix cursor behavior in reposted-by view
2023-02-06 15:11:31 -06:00
Paul Frazee 9e8dc67a5f Remove fallback gradient on external links without thumbs (#164)
* Remove fallback gradient on external links without thumbs

* Remove fallback gradient on external links without thumbs in the composer preview
2023-02-06 15:11:11 -06:00
Aryan Goharzad bc97aad555 87 dark mode edit profile (#162)
* Adds dark mode to delete account screen

* Adds one more missed darkmode

* more fixes
2023-02-06 13:30:34 -06:00
Aryan Goharzad a5b5fdd797 Adds dark mode to delete account screen (#159) 2023-02-06 12:23:54 -06:00
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 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