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
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
1898d5dbaa
Keep the composer image selector open after choosing an image
2023-01-18 14:47:59 -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
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
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
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
53267d755b
Integrate composer into design system
2022-12-30 15:42:09 -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
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
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
João Ferreiro
469b05c4be
fixing remaining text colors on android
2022-12-19 19:25:58 -06:00
João Ferreiro
70f4debc0b
initial android fixes
2022-12-19 19:20:44 -06:00
Paul Frazee
3ae5f2886b
Enable image-only posts
2022-12-19 18:51: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
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
539bf5d350
Add avatar images and fix some type signatures
2022-12-08 13:45:23 -06:00
Paul Frazee
73c84f6f64
Better sized and more informative character counter
2022-12-05 13:59:13 -06:00
Paul Frazee
8a43040ec6
Hide images behind a build flag until ready
2022-12-02 10:48:57 -06:00
João Ferreiro
90942ae146
moving placeholder condition
2022-11-29 18:32:07 +00:00
João Ferreiro
68e1abf4a9
react-hooks/exhaustive-deps fixes
2022-11-29 17:51:06 +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
23ea592987
move show carousel out of the component
2022-11-29 16:00:21 +00:00
João Ferreiro
31be6fbbac
further refactoring code into different components
2022-11-29 15:35:49 +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
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
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
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
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
e488cf8f44
Add support for links with no scheme in composer
2022-11-22 14:30:35 -06:00
Paul Frazee
9ff78bbc43
Change post prompt to 'Whats up?'
2022-11-22 12:16:08 -06:00
Paul Frazee
6e2b7a0b90
Add support for web links
2022-11-18 13:59:17 -06:00
Paul Frazee
9d13e05dbf
Fix rendering of mentions in composer
2022-11-18 11:55:05 -06:00
Paul Frazee
5efd0a5b7e
Dont autofocus composer to avoid a bug with keyboard avoiding views
2022-11-18 11:10:29 -06:00
Paul Frazee
a2a2519e87
Small sizing and spacing tweaks
2022-11-18 11:10:19 -06:00
Paul Frazee
2b98714548
Add live search to autocomplete and only highlight known handles
2022-11-17 14:35:12 -06:00
Paul Frazee
92046473f8
Fix composer positioning
2022-11-16 14:33:01 -06:00
Paul Frazee
5bb8751bc1
Fix input positioning for small screens
2022-11-16 14:28:33 -06:00
Paul Frazee
4a0b79da4a
Fix double-posting bug
2022-11-14 15:10:34 -06:00
Paul Frazee
e7536289cb
Add scene creator
2022-11-09 15:57:49 -06:00
Paul Frazee
f333a90fab
Update to the latest APIs
2022-11-04 17:39:54 -05:00
Paul Frazee
8ae6e67eea
Rework the composer to a less buggy solution
2022-11-01 14:25:41 -05:00