Commit Graph

537 Commits (6588961d2e075ed047857d71346e3a63282ee58f)

Author SHA1 Message Date
Paul Frazee 8652b74a38 Bump @atproto/api@0.0.3 2022-12-22 14:43:54 -06:00
João Ferreiro 7517b65dcd Unit testing (#32)
* add testing lib

* remove coverage folder from git

* finished basic test setup

* fix tests typescript and import paths

* add first snapshot

* testing utils

* rename test files; update script flags; ++tests

* testing utils functions

* testing downloadAndResize wip

* remove download test

* specify unwanted coverage paths;
remove update snapshots flag

* fix strings tests

* testing downloadAndResize method

* increasing testing

* fixing snapshots wip

* fixed shell mobile snapshot

* adding snapshots for the screens

* fix onboard snapshot

* fix typescript issues

* fix TabsSelector snapshot

* Account for testing device's locale in ago() tests

* Remove platform detection on regex

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2022-12-22 09:32:39 -06:00
Paul Frazee 4913a07e33 Unvendor the api and switch to @atproto/api 2022-12-22 09:17:07 -06:00
Paul Frazee 7f4a54ff0d Fix issue which caused parent posts to fail at mobx reactivity 2022-12-21 14:37:22 -06:00
Paul Frazee e7d971410f Update to use new getTimeline, getAuthorFeed, and getPostThread output models 2022-12-20 22:54:56 -06:00
Paul Frazee 4f3bf401da Replace removed hasIndexes behavior 2022-12-20 16:32:04 -06:00
Paul Frazee d83571a59e Get the composer into a passable visual state on android when the keyboard is open 2022-12-20 14:55:50 -06:00
Paul Frazee 297664bfe2 Fix post-meta truncation on android 2022-12-20 14:50:04 -06:00
Paul Frazee 0a2c3e6b51 Fixes to text input colors on android 2022-12-20 14:29:50 -06:00
Paul Frazee abcfc11fe0 Wrap all <Text> in a helper that ensures black color is applied by default 2022-12-20 12:49:44 -06:00
Paul Frazee 74d76fbc6a Use consistent rendering of avis and post metas in threads 2022-12-20 10:33:56 -06:00
Paul Frazee 99a28c0aae Proper fix to the previous panic fix: put threads at the end when they should be there 2022-12-20 09:20:53 -06:00
Paul Frazee 71e4b3d756 Fix to error condition that breaks the feed 2022-12-20 09:02:38 -06:00
Paul Frazee 0401dfc5d3 A couple more android updates 2022-12-19 19:43:28 -06:00
João Ferreiro 19d5496bfc rn-fetch-blob android setup 2022-12-19 19:26:54 -06:00
João Ferreiro 723bad1a28 minor fix 2022-12-19 19:26:54 -06:00
João Ferreiro 469b05c4be fixing remaining text colors on android 2022-12-19 19:25:58 -06:00
João Ferreiro 982f46376b fixing modal & keyboard interaction on android 2022-12-19 19:23:24 -06:00
João Ferreiro 70f4debc0b initial android fixes 2022-12-19 19:20:44 -06:00
João Ferreiro 0a3e7e63b2 fix camera permissions 2022-12-19 19:19:00 -06:00
João Ferreiro affe2c8508 fix android runtime 2022-12-19 19:19:00 -06:00
João Ferreiro 0726350570 fix android build 2022-12-19 19:19:00 -06:00
Paul Frazee 0d7385a41a Remove prefetch of feed (it wasnt working) 2022-12-19 19:16:56 -06:00
Paul Frazee 7b974acc7a Tighten up the post control hit regions 2022-12-19 19:13:26 -06:00
Paul Frazee c9b209c6fd Tighten up the home feed 2022-12-19 19:12:43 -06:00
Paul Frazee 3ae5f2886b Enable image-only posts 2022-12-19 18:51:13 -06:00
Paul Frazee e99eb7bfad Fix to thread ordering in the feed: correctly identify the starts of threads when adjacent 2022-12-19 13:22:18 -06:00
Paul Frazee ae3099dfca Improve thread rendering 2022-12-18 18:54:05 -06:00
Paul Frazee 69b86255c6 Add WIP 'report account' modal 2022-12-18 17:45:23 -06:00
Paul Frazee 66a0f8e848 Add WIP 'report post' modal 2022-12-18 17:28:28 -06:00
Paul Frazee 36dc1c7525 Reduce confusing visual feedback while scrolling 2022-12-18 16:43:18 -06:00
Paul Frazee c3caf4826e Add zooming to the lightbox 2022-12-16 16:32:54 -06:00
Paul Frazee d7e71e079f Prefetch feed refreshes to speed up 'load more posts' 2022-12-16 15:37:13 -06:00
Paul Frazee 4ef3afb604 Fixes to the composer UX around images and scrolling 2022-12-16 14:48:37 -06:00
Paul Frazee 3aded6887d Add swipe gestures to the lightbox 2022-12-16 11:57:45 -06:00
Paul Frazee 3a44a1cfdc Implement 'forgot password' flow 2022-12-15 17:45:03 -06:00
Paul Frazee 0d54f6e126 Split login screen into component files 2022-12-15 14:06:05 -06:00
Paul Frazee 356870ef60 Just do full renders of parent posts in the feed 2022-12-15 11:43:05 -06:00
Paul Frazee c5ac23047a Dont use ??= 2022-12-15 10:21:25 -06:00
Paul Frazee d0a437f8fb Improve handling of connection loss 2022-12-14 16:03:10 -06:00
Paul Frazee 568ff92582 Fix state-tracking 2022-12-14 15:49:45 -06:00
Paul Frazee 7181a75bfb Reset feeds on login 2022-12-14 15:49:38 -06:00
Paul Frazee 9f27af6199 Add haptic feedback to likes and reposts 2022-12-14 15:46:21 -06:00
Paul Frazee 4966b2152e Add post embeds (images and external links) 2022-12-14 15:35:15 -06:00
Paul Frazee 345ec83f26 Move posts feed to root store (me) and ensure new posts always update the feed 2022-12-13 15:52:18 -06:00
Paul Frazee ebfa6e5581 Fix: avoid dup keynames in posts feed 2022-12-13 15:51:54 -06:00
Paul Frazee b5a50478d9 Enlarge feed avis slightly 2022-12-13 15:40:55 -06:00
Paul Frazee 9ad9bc5c0e Ensure load more is always visible 2022-12-13 15:36:05 -06:00
Paul Frazee 135628baf2 Use avatar in viewheader when cant go back 2022-12-13 15:35:45 -06:00
Paul Frazee ac97667206 Fix: avoid duplicate key names in notifications 2022-12-13 15:35:11 -06:00