Paul Frazee
b3dd3e29dc
Implement basic web composer
2023-01-27 00:16:07 -06:00
Paul Frazee
3a6c0624ab
Add web polyfills
2023-01-26 12:36:27 -06:00
Paul Frazee
e7452f8065
Update web build and web-specific components; RNW now builds
2023-01-26 12:12:27 -06:00
Paul Frazee
280339ae37
Fix all type errors
2023-01-26 11:25:52 -06:00
Paul Frazee
8187a07aee
Add basic analytics ( #89 )
...
* Add basic analytics
* Fix: add mock for analytics
2023-01-24 13:58:35 -06:00
Paul Frazee
d054a69bcf
Resolve all remaining lint issues ( #88 )
...
* Rework 'navIdx' variables from number arrays to strings to avoid equality-check failures in react hooks
* Resolve all remaining lint issues
* Fix tests
* Use node v18 in gh action test
2023-01-24 13:00:11 -06:00
Aryan Goharzad
4b1fe49132
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
Aryan Goharzad
02488f06d8
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
Paul Frazee
1411f33393
Fix text color in composer
2023-01-19 20:08:43 -06:00
Paul Frazee
8840293c92
Fix a case where the 'aborted' error message was getting through
2023-01-19 17:55:00 -06:00
Paul Frazee
83fa99a4fe
Fix: taps on images in the composer now register even when input is focused
2023-01-19 17:46:45 -06:00
Paul Frazee
a45424fdb1
Add the ability to paste images into the composer ( #56 )
2023-01-19 17:36:49 -06:00
Paul Frazee
6ab5776f95
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
8da491cc3b
Tweak compose prompt spacing
2023-01-19 10:40:55 -06:00
Paul Frazee
8d1b3adb6a
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
626f85651f
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
455515cae1
Keep the composer image selector open after choosing an image
2023-01-18 14:47:59 -06:00
Paul Frazee
3c529e743f
Update compose prompt for isual balance and to include image button
2023-01-18 13:57:53 -06:00
Paul Frazee
b5769f9aed
Fix to text consistency in composer
2023-01-18 13:22:34 -06:00
Paul Frazee
ac98b322ca
Focus the text input on tap during the composer
2023-01-18 13:21:23 -06:00
Paul Frazee
c57ae4cea4
Update gradients to use a more consistent blue theme
2023-01-18 12:32:48 -06:00
Paul Frazee
2536d6bf10
Rework all typography
2023-01-18 11:15:40 -06:00
Paul Frazee
2e3d170d1e
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
811b8cfc4c
Add images to the post in the right order
2023-01-17 18:35:48 -06:00
Paul Frazee
a81d9cfca6
Give a more sensible default crop in the post image picker (related #39 )
2023-01-17 18:35:37 -06:00
João Ferreiro
d636ec6339
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
98c9a6ad32
Remove the avi from the compose prompt
2023-01-16 17:37:18 -06:00
Paul Frazee
6953bf9d22
Fix image compression for avis and banner images
2023-01-12 15:07:32 -06:00
Paul Frazee
bc571ee998
Improve error logging
2023-01-02 21:39:15 -06:00
Paul Frazee
1f26494c94
Implement logging system
2023-01-02 17:38:13 -06:00
Paul Frazee
777f30562b
Integrate composer into design system
2022-12-30 15:42:09 -06:00
Paul Frazee
486a1f082c
Integrate composer prompt into design system
2022-12-30 12:35:37 -06:00
Paul Frazee
090ceb4c53
Tighten up spacing and dividers
2022-12-28 15:50:28 -06:00
Paul Frazee
44ae514d89
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
12d8e06a1e
Increase image resolutions
2022-12-26 17:41:12 -06:00
Paul Frazee
de65d9198a
Start with highest quality compression and find a suitable size ( #33 )
2022-12-26 12:01:40 -06:00
Paul Frazee
def3156c33
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
a96562e89c
Fixes to text input colors on android
2022-12-20 14:29:50 -06:00
Paul Frazee
279d41fcd1
Wrap all <Text> in a helper that ensures black color is applied by default
2022-12-20 12:49:44 -06:00
João Ferreiro
b1a058d098
fixing remaining text colors on android
2022-12-19 19:25:58 -06:00
João Ferreiro
73ea67f5c0
initial android fixes
2022-12-19 19:20:44 -06:00
Paul Frazee
e8bb545023
Enable image-only posts
2022-12-19 18:51:13 -06:00
Paul Frazee
16343a2936
Fixes to the composer UX around images and scrolling
2022-12-16 14:48:37 -06:00
Paul Frazee
bb4dc3c3a5
Add post embeds (images and external links)
2022-12-14 15:35:15 -06:00
Paul Frazee
7b7fe7ccd8
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
2f0157dd33
Add avatar images and fix some type signatures
2022-12-08 13:45:23 -06:00
Paul Frazee
26f06d768c
Switch to react-native default animation tools for composer and post controls
2022-12-06 17:43:54 -06:00
Paul Frazee
b33269a535
Better sized and more informative character counter
2022-12-05 13:59:13 -06:00
Paul Frazee
bc404572cb
Hide images behind a build flag until ready
2022-12-02 10:48:57 -06:00
Paul Frazee
372cd80175
Cleanup
2022-12-02 10:40:22 -06:00