Commit graph

1042 commits

Author SHA1 Message Date
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
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
b5a50478d9 Enlarge feed avis slightly 2022-12-13 15:40:55 -06:00
Paul Frazee
135628baf2 Use avatar in viewheader when cant go back 2022-12-13 15:35:45 -06:00
Paul Frazee
e4ee6e5bb6 Fix: show avatars in all notifications 2022-12-13 14:53:00 -06:00
Paul Frazee
1aec0ee156 Hide footer on scroll down (minimal shell mode) 2022-12-12 16:04:14 -06:00
Paul Frazee
b2239228e7 Add profile image lightbox 2022-12-12 14:54:56 -06:00
Paul Frazee
693d6bfd0a Add banner image upload to profiles 2022-12-12 13:47:18 -06:00
Paul Frazee
22ddfaa2b5 Improvements to 'edit profile' error messages 2022-12-12 13:17:40 -06:00
Paul Frazee
8501cf1c7d Add 'loading more' spinner to feeds 2022-12-12 11:22:54 -06:00
Paul Frazee
2b27be31e6 Tune the swipe gesture to detect more easily 2022-12-12 11:11:37 -06:00
Paul Frazee
9e5940f0ab Improve aesthetic of main menu swipeout (use screen mask) 2022-12-09 11:46:49 -06:00
Paul Frazee
fbf8e5fa14 Add main menu button 2022-12-09 11:22:19 -06:00
Paul Frazee
356297cace Show 'processing' spinner in edit profile modal 2022-12-08 16:08:15 -06:00
Paul Frazee
539bf5d350 Add avatar images and fix some type signatures 2022-12-08 13:45:23 -06:00
Paul Frazee
f5d1a5c38d Replace navigational 'back swipe' gesture with new HorzSwipe util 2022-12-07 16:56:14 -06:00
Paul Frazee
9ce02dff5b Add HorzSwipe gesture and integrate it into the ViewSelector 2022-12-07 15:51:06 -06:00
Paul Frazee
79d5708b69 Switch to react-native default animation tools for composer and post controls 2022-12-06 17:43:54 -06:00
Paul Frazee
ae522c86fe Fix mention-creation and implement mentions in notifications 2022-12-06 13:47:52 -06:00
Paul Frazee
e042bd33ef Ensure all feed views can refresh 2022-12-06 13:04:40 -06:00
Paul Frazee
588aface7c Add build version to menu 2022-12-06 12:40:40 -06:00
Paul Frazee
246b0e19e1 Add context to replies when appearing in the feed 2022-12-06 12:29:13 -06:00
João Ferreiro
84a60592a8 Upload profile image (#29)
* add editable button profile picture

* add editable button cover picture

* upload profile photos (save them locally)

* rollback pbxproj changes

* rollback podfile checksum (for git only)

* move edit photos onto edit profile modal

* adjust edit icon and image cropping size

* added temporary (react state) image

* added IMAGES_ENABLED flag

* minor lint fix

* save local photos on edit profile upload (wip)

* save profile photos on profile view state (wip)

* remove unecessary computed

* save photo in state before pushing it to viewmodel

* refactor profile pictures's state

* remove unnecessary isMe prop

* removing old comments

* tweak icon size & position

* A few styling tweaks and a fix to mobx state management

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2022-12-06 10:57:15 -06:00
Paul Frazee
4cc90b8ac9 Fix to unicode zero-width characters in expanded posts 2022-12-06 10:15:59 -06:00
Paul Frazee
5821975be6 Enlarge the small emoji-only replies 2022-12-05 15:40:33 -06:00
Paul Frazee
bbe6bf8fc2 Add 'copy post text' tool 2022-12-05 15:03:42 -06:00
Paul Frazee
73c84f6f64 Better sized and more informative character counter 2022-12-05 13:59:13 -06:00
Paul Frazee
39bab0bb08 Switch to System font to fix emoji rendering 2022-12-05 13:44:24 -06:00
Paul Frazee
f27e32e54c Ensure the UI always renders, even in bad network conditions (close #6) 2022-12-05 13:25:04 -06:00
Paul Frazee
59363181e1 Merge branch 'upload-image' into main 2022-12-05 11:25:33 -06:00
Paul Frazee
5d7c4ddd90 Remove loading-placeholder animation; according to some issues, animated linear-gradients may cause crashes 2022-12-05 10:50:46 -06:00
Paul Frazee
f3f3bfb335 Enlarge click targets for post controls and view header 2022-12-05 10:18:38 -06:00
Paul Frazee
8a43040ec6 Hide images behind a build flag until ready 2022-12-02 10:48:57 -06:00
João Ferreiro
67c4dcff37 Upload image in composer (#27)
* upload images in composer v1

* fix android compile

* reafctor image carousel into new component;
fix photo overlapping text in composer

* revert android changes

* further refactoring code into different components

* move show carousel out of the component

* fixing add photo using camera

* fix typescript issue; force mediatype photo

* change post test with photo attached;
remove auto linking settings

* use runInAction in getPhotos model

* react-hooks/exhaustive-deps fixes

* crop every photo;
make use of useCallback

* moving placeholder condition

* Cleanup

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2022-12-02 10:41:01 -06:00
Paul Frazee
ea27b9ed08 Cleanup 2022-12-02 10:40:22 -06:00
João Ferreiro
90942ae146 moving placeholder condition 2022-11-29 18:32:07 +00:00
João Ferreiro
6ba5d15cb6 crop every photo;
make use of useCallback
2022-11-29 18:26:16 +00:00
João Ferreiro
68e1abf4a9 react-hooks/exhaustive-deps fixes 2022-11-29 17:51:06 +00:00
João Ferreiro
1f16c75121 use runInAction in getPhotos model 2022-11-29 17:46:55 +00:00
João Ferreiro
3b899bfc66 change post test with photo attached;
remove auto linking settings
2022-11-29 16:45:44 +00:00