Aryan Goharzad
3a90114f3a
more prettier and lint cleanup ( #82 )
...
* more prettier and lint cleanup
* Fixes more lint issues
* lint
* ignore more files
* remove todos
* lint
2023-01-24 11:03:18 -06:00
Paul Frazee
9027882fb4
Account switcher ( #85 )
...
* Update the account-create and signin views to use the design system.
Also:
- Add borderDark to the theme
- Start to an account selector in the signin flow
* Dark mode fixes in signin ui
* Track multiple active accounts and provide account-switching UI
* Add test tooling for an in-memory pds
* Add complete integration tests for login and the account switcher
2023-01-24 09:06:27 -06:00
Aryan Goharzad
439305b57e
Removes white space from around images ( #81 )
...
* Removes white space from around images
* Add a subtle border
2023-01-23 20:17:37 -06:00
Aryan Goharzad
06e41167d0
Lints some errors and warnings ( #76 )
2023-01-20 13:43:28 -06:00
Aryan Goharzad
2fce1637b4
Fixes embed links for twitter and tiktok ( #74 )
2023-01-20 12:54:30 -06:00
Paul Frazee
d4b9ef3b0a
Only use cursors supplied by the server (ref #59 )
2023-01-20 10:39:00 -06:00
Paul Frazee
c4cca8cf6c
Sanity check selector swipes
2023-01-20 10:15:59 -06:00
Paul Frazee
56747263df
More layout fixes in notifications
2023-01-20 08:40:41 -06:00
Paul Frazee
db4109a5ea
Spacing fix of expanded notifications
2023-01-20 08:36:15 -06:00
Paul Frazee
c2e7dd8f48
Fix font color of expanded notifs
2023-01-20 08:35:35 -06:00
Paul Frazee
620d5bb102
Fix text color in composer
2023-01-19 20:08:43 -06:00
Paul Frazee
142b5dfc1b
Fix a case where the 'aborted' error message was getting through
2023-01-19 17:55:00 -06:00
Paul Frazee
ddcc719192
Fix: taps on images in the composer now register even when input is focused
2023-01-19 17:46:45 -06:00
Paul Frazee
41f76a68e3
Fix: new post doesnt open images selector
2023-01-19 17:37:24 -06:00
Paul Frazee
570b76a71d
Add the ability to paste images into the composer ( #56 )
2023-01-19 17:36:49 -06:00
Paul Frazee
15589d216f
Fix error logs
2023-01-19 17:05:36 -06:00
Paul Frazee
6dcf9f8d5b
Fixes to likes list
2023-01-19 16:54:30 -06:00
Paul Frazee
a24b29d64b
Fixes to reposted-by list
2023-01-19 16:50:16 -06:00
Paul Frazee
c11bfc7541
Fixes to follows listing
2023-01-19 16:39:40 -06:00
Paul Frazee
aec0f1c3ba
Fixes to the followers list view
2023-01-19 16:38:12 -06:00
Paul Frazee
80f58cf9f3
Fix: ensure all views can scroll to the bottom
2023-01-19 15:21:06 -06:00
Paul Frazee
2972fd8372
Update load latest to match sizing and aesthetic better
2023-01-19 15:10:15 -06:00
Paul Frazee
8d7566f200
Visual tweaks to post prompts
2023-01-19 14:28:11 -06:00
Paul Frazee
39e996ed8e
Fix weird bar at top of composer in dark mode
2023-01-19 14:17:15 -06:00
Paul Frazee
43ef1756c1
Fix bad ref
2023-01-19 14:17:00 -06:00
Paul Frazee
3f95f98ef9
Change post prompt to a set of buttons ( #55 )
2023-01-19 14:08:53 -06:00
Aryan Goharzad
f10a8308d9
Fixes youtube embed issues ( #50 )
...
* fixes youtube embed
* move extractMetaHtml test to its own file
* tests cleanup
* Add fallback for youtube meta data
* lint
* Check for youtube in the url domain
* use hostname instead of full url to check for link domain
* checks only for domain
2023-01-19 12:53:11 -06:00
Paul Frazee
9230d52ff5
Improve link meta fetching for bsky links ( #54 )
...
* Add share dropdown item to profiles
* Temporary improvement for links to content on the network
* Enlarge text slightly on embed cards
2023-01-19 12:30:28 -06:00
Paul Frazee
f969e746f7
Clean up the settings page
2023-01-19 11:49:53 -06:00
Paul Frazee
1c5c2622bf
Improve the 'expand avis' animation in the notifications
2023-01-19 11:41:24 -06:00
Paul Frazee
d2db9baacc
Fix missing key in list
2023-01-19 11:35:37 -06:00
Paul Frazee
74ab6530d4
Add the ability to expand/collapse users in notifications
2023-01-19 11:34:07 -06:00
Paul Frazee
1ed82b6c59
Tune the empty state visuals
2023-01-19 10:50:21 -06:00
Paul Frazee
f47751ad42
Tweak compose prompt spacing
2023-01-19 10:40:55 -06:00
Paul Frazee
2798250489
Post layout tweaks ( #53 )
...
* Increase left margin on feed and embiggen avis
* Decrease feed margins a bit
* Tweak post bottom margin
* Update loading placeholder to match feed
* Update 'view full thread' positioning
* Update postthread to match feed layout
* Update notifications and individual post to match new layout
* Add missing aborted check
2023-01-19 10:35:57 -06:00
Paul Frazee
6588961d2e
Update composer to preview external link cards ( #52 )
...
* Fetch external link metadata during compose so the user can preview and remove the embed
* Add missing mocks
* Update tests to match recent changes
2023-01-18 18:14:46 -06:00
Paul Frazee
27ee550d15
Enlarge avatars in the notifications
2023-01-18 17:06:17 -06:00
Paul Frazee
bda32c1ceb
Remove log
2023-01-18 16:52:00 -06:00
Paul Frazee
ebc2033d18
Handle post deletions by removing from active views ( close #37 )
2023-01-18 16:45:48 -06:00
Paul Frazee
ace0e6bfd9
Fix image compression ( close #41 )
2023-01-18 14:54:55 -06:00
Paul Frazee
1898d5dbaa
Keep the composer image selector open after choosing an image
2023-01-18 14:47:59 -06:00
Paul Frazee
d0364c09ad
Hackfix around 'images too large' issue
2023-01-18 14:47:42 -06:00
Paul Frazee
bf03167ca6
Update compose prompt for isual balance and to include image button
2023-01-18 13:57:53 -06:00
Paul Frazee
9d6c4698a1
Lighten the button gradients a bit
2023-01-18 13:30:50 -06:00
Paul Frazee
c97045a21a
Fix to text consistency in composer
2023-01-18 13:22:34 -06:00
Paul Frazee
726ff6bb01
Focus the text input on tap during the composer
2023-01-18 13:21:23 -06:00
Paul Frazee
302acaccb6
Remove all links from post meta to ensure taps are more consistent
2023-01-18 13:10:08 -06:00
Paul Frazee
6a01e0529b
Prettier profile headers (no standard header)
2023-01-18 12:56:53 -06:00
Paul Frazee
990c824648
Move the grays from a red undertone to blue
2023-01-18 12:40:51 -06:00
Paul Frazee
a51354e6e6
Update gradients to use a more consistent blue theme
2023-01-18 12:32:48 -06:00
Paul Frazee
77580ab6a4
Rework all typography
2023-01-18 11:15:40 -06:00
Paul Frazee
df4acbd683
Merge branch 'improved-lightbox' into main
2023-01-17 21:18:25 -06:00
Paul Frazee
7328e80825
Fix an issue that caused the shelf menu to show up at random
2023-01-17 21:01:52 -06:00
Paul Frazee
80e035cede
Remove leftover code
2023-01-17 20:47:43 -06:00
Paul Frazee
065d7ef629
Improve lightbox... and update to React Native 0.71.0 ( #49 )
...
* Switch to a better lightbox implementation (close #42 )
* Upgrade to react-native 0.71.0
* Update (or remove low-value) tests
2023-01-17 20:40:02 -06:00
Paul Frazee
a13f9bf091
Upgrade to react-native 0.71.0
2023-01-17 20:21:11 -06:00
Paul Frazee
b449ab842f
Switch to a better lightbox implementation ( close #42 )
2023-01-17 19:34:12 -06:00
Paul Frazee
61682d5846
Add images to the post in the right order
2023-01-17 18:35:48 -06:00
Paul Frazee
bccc8a64d0
Give a more sensible default crop in the post image picker (related #39 )
2023-01-17 18:35:37 -06:00
Paul Frazee
fb334b1b3f
Add profile menuitem to main menu ( close #47 )
2023-01-17 16:55:43 -06:00
Paul Frazee
5da45cd8cd
Fix to extraneous home feed polling
2023-01-17 16:49:11 -06:00
Paul Frazee
41337f6d17
Visual improvements to post embeds for external links
2023-01-17 16:42:32 -06:00
Paul Frazee
90ac2fe1fc
Group together notifications more aggressively
2023-01-17 16:25:10 -06:00
Paul Frazee
5a5835f561
Fix left-alignment on notifications
2023-01-17 16:22:34 -06:00
Paul Frazee
40d769e854
Increase the profile bio line-count cutoff significantly to only catch very silly newline abuse ( close #48 )
2023-01-17 16:18:41 -06:00
Paul Frazee
c80c63cda5
More adjustments to the repost icon
2023-01-17 13:25:04 -06:00
Paul Frazee
65fef125ce
Enlarge repost icon arrows
2023-01-17 13:21:11 -06:00
Paul Frazee
e3e2831d11
Rework repost icon to match line widths
2023-01-17 13:17:38 -06:00
Paul Frazee
798622b307
Refer to upvotes as 'likes' in the UI (will change in the protocol soon)
2023-01-17 12:35:47 -06:00
Paul Frazee
ee8d311795
Fix notification descriptions and render images for your own posts in notifs
2023-01-17 12:12:17 -06:00
Paul Frazee
b9778b7943
Lighten post controls a little in light-mode and add them to the theme
2023-01-17 11:20:07 -06:00
Paul Frazee
b574607466
Lighten borders slightly
2023-01-17 11:14:47 -06:00
Paul Frazee
050df83db7
Fix an issue that caused the feed to rearrange on loadmore
2023-01-17 10:58:51 -06:00
Paul Frazee
e5ec07b919
Remove duplicate posts caused by reposts
2023-01-17 10:45:37 -06:00
Paul Frazee
e11d53b67d
Add loading spinners to lightbox views ( close #38 )
2023-01-17 10:40:09 -06:00
Paul Frazee
4e312d1d24
Shrink the header back down but use bolder title text
2023-01-17 10:32:40 -06:00
Paul Frazee
bf1092ad86
Remove scenes ( #36 )
...
* Remove scenes from the main menu
* Remove scenes from the profile view
* Remove 'scenes explainer' from onboarding flow
* Remove scene-related modals
* Remove member/membership code
* Remove all scenes-related items from notifications
* Remove scene-related code from posts feed
* Remove scene-related API helpers
* Update tests
2023-01-17 10:11:30 -06:00
João Ferreiro
5abcc8e336
Unit Testing ( #35 )
...
* 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
* mocking store state wip
* mocking store state
* increasing test coverage
* increasing test coverage
* increasing test coverage on src/screens
* src/screens (except for profile) above 80% cov
* testing profile screen wip
* increase coverage on Menu and TabsSelector
* mocking profile ui state wip
* mocking profile ui state wip
* fixing mobileshell tests wip
* snapshots using testing-library
* fixing profile tests wip
* removing mobile shell tests
* src/view/com tests wip
* remove unnecessary patch-package
* fixed profile test error
* clear mocks after every test
* fix base mocked store values (getters)
* fix base mocked store values
(hasLoaded, nonReplyFeed)
* profile screen above 80% coverage
* testing custom hooks
* improving composer coverage
* fix tests after merge
* finishing composer coverage
* improving src/com/discover coverage
* improve src/view/com/login coverage
fix SuggestedFollows tests
adding some comments
* fix SuggestedFollows tests
* improve src/view/com/profile coverage
extra minor fixes
* improve src/view/com/notifications coverage
* update coverage ignore patterns
* rename errorMessageTryAgainButton
increase SuggestedFollows converage
* improve src/view/com/posts coverage
* improve src/view/com/onboard coverage
* update snapshot
* improve src/view/com/post coverage
* improve src/view/com/post-thread coverage
rename ErrorMessage tests
test Debug and Log components
* init testing state
* testing root-store
* updating comments
* small fixes
* removed extra console logs
* improve src/state/models coverage
refactor rootStore
rename some spies
* adding cleanup method after tests
* improve src/state/models coverage
* improve src/state/models coverage
* improve src/state/models coverage
* improve src/state/models coverage
* test setInterval in setupState
* Clean up tests and update Home screen state management
* Remove some tests we dont need
* Remove snapshot tests
* Remove any tests that dont demonstrate clear value
* Cleanup
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-01-17 10:06:00 -06:00
Paul Frazee
11c861d2d3
Remove the avi from the compose prompt
2023-01-16 17:37:18 -06:00
Paul Frazee
dac9bc24d1
Enlarge the view header
2023-01-16 17:21:35 -06:00
Paul Frazee
46a8dbdee1
Dark mode color fixes
2023-01-16 17:11:15 -06:00
Paul Frazee
00b7189d5d
Readd the FAB for composing new posts
2023-01-16 17:07:33 -06:00
Paul Frazee
f7d7c78611
Round the corners on single-image embeds a bit more
2023-01-16 16:58:30 -06:00
Paul Frazee
158945bbf6
More spacing and sizing tweaks, including larger post controls
2023-01-16 16:54:35 -06:00
Paul Frazee
1a69235cf0
Enlarge post text slightly
2023-01-16 16:42:07 -06:00
Paul Frazee
0c9ffd99d8
More spacing fixes, especially for the repost info
2023-01-16 16:34:52 -06:00
Paul Frazee
6d4431b777
Spacing fixes
2023-01-16 16:30:05 -06:00
Paul Frazee
c659f0ef9f
Fix visual consistency of 'reply to' in post and use display name
2023-01-16 16:24:16 -06:00
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