Commit Graph

4406 Commits (db38438549aa878a89ba1fb2198e6454f50367c4)

Author SHA1 Message Date
Paul Frazee 246b0e19e1 Add context to replies when appearing in the feed 2022-12-06 12:29:13 -06:00
Paul Frazee d60de5e214 Implement terms-of-service and privacy-policy links in signup 2022-12-06 11:39:46 -06:00
Paul Frazee 5c1519b9ee Update API build 2022-12-06 11:39:30 -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 8d3d26134f Never allow undefined values in me model 2022-12-06 10:11:45 -06:00
Paul Frazee 474c4f9b5d Rework the 'main menu' to be a screen that's always in history 2022-12-06 10:11:32 -06:00
Paul Frazee 70cfae56e2 Add missing usage descriptions for ios 2022-12-06 10:08:27 -06:00
Paul Frazee 5821975be6 Enlarge the small emoji-only replies 2022-12-05 15:40:33 -06:00
Paul Frazee 7561b19f3d Dismiss keyboard in search on scroll 2022-12-05 15:22:23 -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 65e5f2ac86 Fix: never attempt update on 0 items 2022-12-05 13:36:13 -06:00
Paul Frazee 26b2797e2c Increase touch-size of the 'load new posts' button 2022-12-05 13:33:31 -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 662a4ef23b Fix 'swipe back to nothing' bug 2022-12-05 10:39:34 -06:00
Paul Frazee b08afc12fe Make 'backswipe' a little easier to trigger 2022-12-05 10:25:53 -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
João Ferreiro 58aa4f0436 Merge branch 'main' into upload-image 2022-11-29 16:19:38 +00:00
João Ferreiro d08e877b3a fix typescript issue; force mediatype photo 2022-11-29 16:19:15 +00:00
João Ferreiro 87d37f9df9 fixing add photo using camera 2022-11-29 16:11:17 +00:00
Paul Frazee 7ae1bac620 Improvements to link and mention detection regarding surrounding punctuation 2022-11-29 10:01:57 -06:00
João Ferreiro 23ea592987 move show carousel out of the component 2022-11-29 16:00:21 +00:00
João Ferreiro dcb361329e Merge branch 'main' into upload-image 2022-11-29 15:36:26 +00:00
João Ferreiro 31be6fbbac further refactoring code into different components 2022-11-29 15:35:49 +00:00
Paul Frazee 2ccbe4f702 Relax the requirement that post entities match their value 2022-11-29 09:35:10 -06:00
Paul Frazee 57f2d1d59f Decode html entities in link embeds 2022-11-29 09:29:57 -06:00
João Ferreiro 0102e91f3a revert android changes 2022-11-29 15:25:32 +00:00
João Ferreiro acfdea2518 reafctor image carousel into new component;
fix photo overlapping text in composer
2022-11-29 10:59:32 +00:00
João Ferreiro 77ea3bfd0a Merge branch 'main' into upload-image 2022-11-29 10:29:19 +00:00
Paul Frazee 88c868dd80 Improve handling of deleted posts 2022-11-28 16:37:39 -06:00
Paul Frazee bf7b0be23d Fixes to edit profile modal 2022-11-28 14:51:49 -06:00
Paul Frazee 39aaa13468 Fix jank in notifications loading-state rendering 2022-11-28 14:22:19 -06:00
Paul Frazee 9051aecdcb Use a persistent notifications model to improve load times of the notifications view 2022-11-28 14:19:49 -06:00
Paul Frazee 1aa1f77049 Improve unread notification styling 2022-11-28 13:56:05 -06:00
Paul Frazee 6ec33dd89f Batch notification loads to avoid layout reflows due to async 2022-11-28 13:45:49 -06:00
João Ferreiro 3ce113f107 fix android compile 2022-11-28 16:56:23 +00:00
João Ferreiro c5f3200d6b Merge branch 'main' into upload-image 2022-11-28 16:56:05 +00:00
João Ferreiro 5ea750599d upload images in composer v1 2022-11-28 16:46:58 +00:00