Commit graph

760 commits

Author SHA1 Message Date
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
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
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
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
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
Paul Frazee
b9c9895c45 Slow down and enlarge post-ctrl animations (close #11) 2022-11-28 10:40:25 -06:00
Paul Frazee
0e6237e58c Fix toast positioning (close #9) 2022-11-28 10:38:16 -06:00
Paul Frazee
8723b51693 Remove the 'warning color' from the character counter 2022-11-28 09:58:40 -06:00
Paul Frazee
490a3bb751 Tune post-thread expanded view: add reply prompt, fix spacing and sizing 2022-11-28 09:49:41 -06:00
Paul Frazee
1784a4912d Enlarge the view header, left align the title, and add a compose button 2022-11-28 09:29:35 -06:00
Paul Frazee
cb5210d24d Update composer to shrink fonts and use more consistent visuals; also autofocus the input 2022-11-28 09:14:04 -06:00
Paul Frazee
e3fffac97b Increase information density and enlarge some click targets 2022-11-28 09:13:37 -06:00
Paul Frazee
f5ff0fd274 Add link embeds to posts 2022-11-23 17:01:00 -06:00
Paul Frazee
4eb8bc1249 Detect links in profile bios 2022-11-23 14:53:33 -06:00
Paul Frazee
2b37b6549b Add replying-to context to threads 2022-11-23 14:22:40 -06:00
Paul Frazee
fbcf0d79d1 Show parent post in composer when replying (close #3) 2022-11-23 13:28:29 -06:00
Paul Frazee
23d98b9557 Turn composer character counter into a countdown 2022-11-23 13:07:09 -06:00
Paul Frazee
f41ba844b3 Handle bsky.app links natively 2022-11-23 10:51:20 -06:00
Paul Frazee
ba837ad9af Add threading to post feeds 2022-11-23 10:39:28 -06:00