Commit Graph

357 Commits

Author SHA1 Message Date
João Ferreiro 174bcfce1d remove unecessary computed 2022-12-06 11:16:41 +00:00
João Ferreiro 8d98c99705 save profile photos on profile view state (wip) 2022-12-06 11:12:13 +00:00
João Ferreiro a067312f19 save local photos on edit profile upload (wip) 2022-12-06 10:30:04 +00:00
João Ferreiro 2cec34a324 Merge branch 'main' into upload-profile-image 2022-12-05 17:32:48 +00:00
Paul Frazee 95e5b169c8 Merge branch 'upload-image' into main 2022-12-05 11:25:33 -06:00
João Ferreiro 032ab34d98 minor lint fix 2022-12-05 17:15:43 +00:00
João Ferreiro cd37aa2b96 added IMAGES_ENABLED flag 2022-12-05 17:00:41 +00:00
João Ferreiro 65bd863e0f Merge branch 'upload-image' into upload-profile-images 2022-12-05 16:59:48 +00:00
João Ferreiro 54f5f31e49 Merge branch 'main' into upload-profile-images 2022-12-05 16:51:44 +00:00
João Ferreiro 7895e084f8 added temporary (react state) image 2022-12-05 16:51:18 +00:00
Paul Frazee 09791a3b3c Remove loading-placeholder animation; according to some issues, animated linear-gradients may cause crashes 2022-12-05 10:50:46 -06:00
Paul Frazee c7a5642e48 Fix 'swipe back to nothing' bug 2022-12-05 10:39:34 -06:00
João Ferreiro 49ad3746a5 adjust edit icon and image cropping size 2022-12-05 16:29:44 +00:00
Paul Frazee 6c23972620 Make 'backswipe' a little easier to trigger 2022-12-05 10:25:53 -06:00
Paul Frazee 211af98aaf Enlarge click targets for post controls and view header 2022-12-05 10:18:38 -06:00
João Ferreiro 979a264cc0 move edit photos onto edit profile modal 2022-12-05 16:07:24 +00:00
João Ferreiro a9da790fef rollback podfile checksum (for git only) 2022-12-05 15:33:28 +00:00
João Ferreiro 4bc0f776f0 rollback pbxproj changes 2022-12-05 15:26:20 +00:00
João Ferreiro 34be0ad6f5 upload profile photos (save them locally) 2022-12-05 15:25:43 +00:00
João Ferreiro 9920457ddd Merge branch 'main' into upload-profile-images 2022-12-05 10:39:06 +00:00
Paul Frazee bc404572cb Hide images behind a build flag until ready 2022-12-02 10:48:57 -06:00
João Ferreiro b824ac710b 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 372cd80175 Cleanup 2022-12-02 10:40:22 -06:00
João Ferreiro 28ebf3d2cb add editable button cover picture 2022-11-30 15:22:49 +00:00
João Ferreiro ef9ea5722b add editable button profile picture 2022-11-30 15:19:58 +00:00
João Ferreiro d0c9f95c7e moving placeholder condition 2022-11-29 18:32:07 +00:00
João Ferreiro 91a06f2390 crop every photo;
make use of useCallback
2022-11-29 18:26:16 +00:00
João Ferreiro ffd333164b react-hooks/exhaustive-deps fixes 2022-11-29 17:51:06 +00:00
João Ferreiro a6e8bb39b8 use runInAction in getPhotos model 2022-11-29 17:46:55 +00:00
João Ferreiro 8d87fbd56a change post test with photo attached;
remove auto linking settings
2022-11-29 16:45:44 +00:00
João Ferreiro a129ddba27 Merge branch 'main' into upload-image 2022-11-29 16:19:38 +00:00
João Ferreiro 211b9fc2f2 fix typescript issue; force mediatype photo 2022-11-29 16:19:15 +00:00
João Ferreiro 8b6bb6999d fixing add photo using camera 2022-11-29 16:11:17 +00:00
Paul Frazee 524cb062a2 Improvements to link and mention detection regarding surrounding punctuation 2022-11-29 10:01:57 -06:00
João Ferreiro be71989e45 move show carousel out of the component 2022-11-29 16:00:21 +00:00
João Ferreiro edb5a8ddb2 Merge branch 'main' into upload-image 2022-11-29 15:36:26 +00:00
João Ferreiro fb461c0344 further refactoring code into different components 2022-11-29 15:35:49 +00:00
Paul Frazee a8608d0170 Relax the requirement that post entities match their value 2022-11-29 09:35:10 -06:00
Paul Frazee 628f69605c Decode html entities in link embeds 2022-11-29 09:29:57 -06:00
João Ferreiro 537770b39d revert android changes 2022-11-29 15:25:32 +00:00
João Ferreiro 44eca8a550 reafctor image carousel into new component;
fix photo overlapping text in composer
2022-11-29 10:59:32 +00:00
João Ferreiro 3a79e46a4a Merge branch 'main' into upload-image 2022-11-29 10:29:19 +00:00
Paul Frazee 6f56a8c539 Improve handling of deleted posts 2022-11-28 16:37:39 -06:00
Paul Frazee 2ac28aa2de Fixes to edit profile modal 2022-11-28 14:51:49 -06:00
Paul Frazee 53c55b2d7a Fix jank in notifications loading-state rendering 2022-11-28 14:22:19 -06:00
Paul Frazee 31e0fa898a Use a persistent notifications model to improve load times of the notifications view 2022-11-28 14:19:49 -06:00
Paul Frazee 1ec46a00e2 Improve unread notification styling 2022-11-28 13:56:05 -06:00
Paul Frazee d98fbbbe4d Batch notification loads to avoid layout reflows due to async 2022-11-28 13:45:49 -06:00
João Ferreiro ef02ec9ab1 fix android compile 2022-11-28 16:56:23 +00:00
João Ferreiro 72fe122005 Merge branch 'main' into upload-image 2022-11-28 16:56:05 +00:00