Paul Frazee
e5e31e5fe2
Fix missing metrics in post threads
2023-01-16 16:22:24 -06:00
Paul Frazee
7f8f53b087
Move menu controls into post footers and improve meta info rendering
2023-01-16 16:09:51 -06:00
Paul Frazee
1b5c347667
Fix: remove duplicates in the TL caused by rendering reply parents
2023-01-16 14:49:58 -06:00
Paul Frazee
29020fbcee
Fix image compression for avis and banner images
2023-01-12 15:07:32 -06:00
Paul Frazee
7215da135b
Add scrolling to menu
2023-01-03 14:35:33 -06:00
Paul Frazee
429cc1abf1
Bump deps to pull in some bugfixes
2023-01-03 14:31:12 -06:00
Paul Frazee
87a824429c
Indicate images in notifications
2023-01-03 13:14:10 -06:00
Paul Frazee
b9b0965000
Implement validation and proper type detection
2023-01-03 13:08:56 -06:00
Paul Frazee
1acef14a1c
Improve handling around connection failures during login
2023-01-03 12:17:07 -06:00
Paul Frazee
06de0129af
Add 'is 13' checkbox to account creation
2023-01-03 11:49:40 -06:00
Paul Frazee
147b85c7fb
Fix to feed update
2023-01-03 11:26:51 -06:00
Paul Frazee
42d7dc1c6c
Fix session hydration during load
2023-01-03 11:08:39 -06:00
Paul Frazee
08d38c219d
Fix bug in error handling
2023-01-03 11:08:29 -06:00
Paul Frazee
d262393992
Introduce error boundaries around all screens
2023-01-02 21:49:14 -06:00
Paul Frazee
4eabc2d65a
Improve error logging
2023-01-02 21:39:15 -06:00
Paul Frazee
6885fb2b41
Bump api@0.0.5 and use the type guard helpers
2023-01-02 20:56:35 -06:00
Paul Frazee
f6a0e634d7
Implement logging system
2023-01-02 17:38:13 -06:00
Paul Frazee
99cec71ed7
Dont mute posts for a user when viewing their profile
2023-01-02 13:45:27 -06:00
Paul Frazee
8cd2b4a721
Implement account muting
2023-01-02 13:40:14 -06:00
Paul Frazee
3972706c54
Fix to loading state
2022-12-30 15:58:28 -06:00
Paul Frazee
8f59957fab
Fix the status bar coloring
2022-12-30 15:56:54 -06:00
Paul Frazee
a90fd5d26f
Add dark mode toggle
2022-12-30 15:48:34 -06:00
Paul Frazee
53267d755b
Integrate composer into design system
2022-12-30 15:42:09 -06:00
Paul Frazee
5eddbcea16
Various small fixes
2022-12-30 15:32:07 -06:00
Paul Frazee
3d91cf3137
Integrate search into suggested follows
2022-12-30 15:21:09 -06:00
Paul Frazee
a7a310a06b
Dont autofocus the search input
2022-12-30 15:12:36 -06:00
Paul Frazee
62c6da3b9f
Integrate settings into design system and some various fixes/tweaks
2022-12-30 15:11:47 -06:00
Paul Frazee
d952c550ea
Integrate menu into design system
2022-12-30 15:08:10 -06:00
Paul Frazee
58a591f314
Integrate notifications into the design system
2022-12-30 13:34:10 -06:00
Paul Frazee
9084e0e4a8
Integrate profile listings into design system
2022-12-30 13:20:55 -06:00
Paul Frazee
10f613475a
Update profile header to use design system
2022-12-30 13:13:10 -06:00
Paul Frazee
5e07b5bbc3
Integrate the shell into the design system
2022-12-30 12:49:07 -06:00
Paul Frazee
efaf8a54b8
Integrate ViewSelector into design system
2022-12-30 12:40:16 -06:00
Paul Frazee
b47714fb11
Integrate composer prompt into design system
2022-12-30 12:35:37 -06:00
Paul Frazee
434d874598
Integrate ViewHeader into the design system
2022-12-30 12:29:11 -06:00
Paul Frazee
55ca7dcce1
Update threads to use design system
2022-12-30 12:19:45 -06:00
Paul Frazee
55500e2f66
Improve image layout
2022-12-30 11:55:25 -06:00
Paul Frazee
f609794bd2
Tune post controls
2022-12-28 19:37:30 -06:00
Paul Frazee
607203134e
Update posts in feed to use the theming system
2022-12-28 19:20:02 -06:00
Paul Frazee
8f55e3149e
Update notifications
2022-12-28 15:53:06 -06:00
Paul Frazee
23e7ae49d4
Tighten up spacing and dividers
2022-12-28 15:50:28 -06:00
Paul Frazee
84e74d5ee4
Fix letter spacing
2022-12-28 15:08:14 -06:00
Paul Frazee
7e31645e9a
Add a design system ( #34 )
...
* Add theming system
* Add standard Button control and update RadioButtons
* Unify radiobutton with design system
* Update debug screen to have multiple views
* Add ToggleButton
* Update error controls to use design system
* Add typography to <Text> element
* Move DropdownButton into the design system
* Clean out old code
* Move Text into design system
* Add 'inverted' color palette
* Move LoadingPlaceholder into the design system
2022-12-28 14:06:01 -06:00
Paul Frazee
cc63660982
Increase image resolutions
2022-12-26 17:41:12 -06:00
Paul Frazee
838fc601c1
Start with highest quality compression and find a suitable size ( #33 )
2022-12-26 12:01:40 -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
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
affe2c8508
fix android runtime
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
Paul Frazee
8af8d782c7
Fix issue that caused repost & trend data to get lost on feed updates
2022-12-13 15:17:18 -06:00
Paul Frazee
9a99c9c8c8
Hide main menu drawer on click outside
2022-12-13 15:01:14 -06:00
Paul Frazee
e8eb3e131c
Use full available screen
2022-12-13 14:58:25 -06:00
Paul Frazee
e4ee6e5bb6
Fix: show avatars in all notifications
2022-12-13 14:53:00 -06:00
Paul Frazee
9e1bb898f0
Debug: disable feed reordering to isolate bugs
2022-12-13 11:15:32 -06:00
Paul Frazee
e37ac91bee
Reposition 'load latest' based on minimal shell mode
2022-12-13 11:15:18 -06:00
Paul Frazee
1aec0ee156
Hide footer on scroll down (minimal shell mode)
2022-12-12 16:04:14 -06:00
Paul Frazee
470f444eed
Improvements to service selection during login
2022-12-12 15:13:45 -06:00
Paul Frazee
b2239228e7
Add profile image lightbox
2022-12-12 14:54:56 -06:00
Paul Frazee
b32bf69be7
Improve session management
2022-12-12 14:39:02 -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
03d9fd3179
More aesthetic and perf improvements to the menu drawer
2022-12-12 10:48:36 -06:00
Paul Frazee
5fa3c16d0d
Fix duplicate 'end of feed' issue
2022-12-12 09:56:19 -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
e73c7cee39
Turn the main menu into a 'drawer' instead of a screen in the history
2022-12-08 15:34:22 -06:00
Paul Frazee
53b8f0d040
Switch to temporary 'fixed tabs' model for default and notifications
2022-12-08 14:21:28 -06:00
Paul Frazee
539bf5d350
Add avatar images and fix some type signatures
2022-12-08 13:45:23 -06:00
Paul Frazee
273e6d2973
Replace reanimated for tabs selector
2022-12-07 17:08:49 -06:00
Paul Frazee
efbef238a8
Cleanup
2022-12-07 16:59:10 -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
1a11c13fce
Better empty state in profiles
2022-12-06 13:09:18 -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
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
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