Commit Graph

711 Commits

Author SHA1 Message Date
Paul Frazee 320d69920e Fix drawer behaviors 2023-03-10 18:22:58 -06:00
Paul Frazee d4d1fb820b Handle all navigations from the state layer 2023-03-10 15:25:01 -06:00
Paul Frazee 330a1a0be4 Handle notifee card presses 2023-03-10 15:08:29 -06:00
Paul Frazee 3df953b73d Remove react-native-gesture-handler (no longer used) 2023-03-10 14:47:54 -06:00
Paul Frazee 97c5d4d965 Implement not-found page 2023-03-10 14:24:10 -06:00
Paul Frazee b2300a8381 Fix tsc 2023-03-10 14:14:39 -06:00
Paul Frazee 5accb619ac Restore the error boundary 2023-03-10 13:28:50 -06:00
Paul Frazee ebb0b11774 Restructure the shell folder and fix the header positioning 2023-03-10 13:24:50 -06:00
Paul Frazee 3b0d72b776 Replace the navigation model with react-navigation 2023-03-10 01:01:51 -06:00
Paul Frazee bf1f743382 Factor out some helpers 2023-03-09 21:39:08 -06:00
Paul Frazee de5ee3c768 Fixes to drawer and bottombar 2023-03-09 21:32:44 -06:00
Paul Frazee 0d92dd8306 Update mobile menu to be react-native drawer 2023-03-09 21:16:58 -06:00
Paul Frazee 5b3eeaf747 Update BottomBar for react navigation 2023-03-09 20:43:43 -06:00
Paul Frazee df4dee6db2 Convert all screens to react navigation 2023-03-09 20:02:54 -06:00
Paul Frazee 6a4961caa5 WIP Switch to react-navigation 3 2023-03-09 18:45:59 -06:00
Paul Frazee bf951421ea WIP Switch to react-navigation 2 2023-03-09 14:54:49 -06:00
Paul Frazee 34050e05be WIP Switch to react-navigation 2023-03-09 13:45:20 -06:00
Paul Frazee ce7817d2fb 1.7 2023-03-08 22:07:12 -06:00
Paul Frazee 0c7f61046c Get Web compiling for expo 2023-03-08 17:59:25 -06:00
Paul Frazee 2c41458963 Fix icon fill 2023-03-08 17:32:52 -06:00
Paul Frazee 3560291329 Modify some dependency versions to make expo happy 2023-03-08 17:27:07 -06:00
Paul Frazee d073c66c5d Tweak plist 2023-03-08 14:36:26 -06:00
Paul Frazee 15a18d9dd3 Disable the 'require cycle' warning 2023-03-08 14:32:11 -06:00
Paul Frazee 7c481c343e Finish adding expo 2023-03-08 14:28:50 -06:00
Paul Frazee 360322f475 Fix tsc 2023-03-08 13:57:58 -06:00
Paul Frazee 18347bdb22 WIP - adding expo 2 2023-03-08 13:53:00 -06:00
Paul Frazee bc46714ca5 WIP - adding expo 2023-03-08 13:00:54 -06:00
Paul Frazee 150db9bcc3 Fix lint 2023-03-07 17:18:49 -06:00
Paul Frazee f297ad6946 Another set of UI updates (FAB returns, a few others) (#281)
* Bring back the FAB and move compose out of the footer

* Increase the touch target sizes of the header back btns (close #279)

* Trigger 'load more' sooner (close #280)
2023-03-07 17:17:44 -06:00
Paul Frazee 30b01ade2c Big batch of UI updates (#276)
* Replace react-native-root-toast with a custom toast that fits the visual style

* Tune dark mode colors

* Tune colors a bit more

* Move the reply prompt to a fixed position in the footer

* Fully hide muted posts but give a control to show anyway (close #270)

* Improve thread rendering (better clarity on reply lines)

* Add follower/following counts to side menu

* Fix issues with display name overflows
2023-03-07 15:52:24 -06:00
Paul Frazee 1044c8bb8b Handle-change modal with custom domain support (#273)
* Dont append the server's domain name when a custom domain is used

* Update the settings look & feel and add a tool to remove accounts from the switcher

* Try not rendering the bottomsheet when no modal is active.

There are cases where the bottomsheet decides to show itself when
it's not supposed to. It seems obvious to do what this change is
doing -- just dont render bottomsheet if no modal is active -- but
previously we experienced issues with that approach. This time it
seems to be working, so we're gonna yolo try it.

* Implement a handle-change modal with support for custom domains (closes #65)
2023-03-06 21:37:48 -06:00
Paul Frazee d6568c33e0 Fix typo 2023-03-06 15:46:44 -06:00
Paul Frazee 42f88d13bc Fix: fetch follows before everything else to avoid rendering follow buttons wrongly 2023-03-06 15:40:52 -06:00
Paul Frazee 77db31b913 Tune the menu's dark mode bg color 2023-03-06 15:39:58 -06:00
Paul Frazee 75f34c5bb8 Fix the darkmode icon in the menu 2023-03-06 15:38:52 -06:00
Paul Frazee e574c8404a Onboarding tweaks (#272)
* Small fix to side menu rendering

* Change onboarding to use an explicit 'is onboarding' mode to more clearly control the flow

* Add a progress bar to the welcome banner

* Dont show the 'unfollow button' on posts in weird times (close #271)

* Improve the empty state of the feed

* Only suggest recent posts
2023-03-06 15:34:22 -06:00
Paul Frazee be4bb79502 Show replies in the main feed if they have 2 or more upvotes (#269) 2023-03-06 14:49:42 -06:00
Paul Frazee 9f29bd78c9 Factor out the bottom bar and layer it under the side menu (close #243) (#268) 2023-03-06 11:59:06 -06:00
Paul Frazee 87ac7c42cd 1.6 2023-03-06 10:55:45 -06:00
Paul Frazee c6d1aa2c9c Look & feel updates: replace the "FAB" with a footer menu item, update the side menu (#263)
* Remove old tab controls from the mobile shell

* Add 'compose' and 'profile' to the footer; remove the FAB

* Fix lint

* Tune the footer icons

* Tune the 'current' state of footer icons

* Add 2xl text styles

* Tune the footer icons a bit more

* Fix lint

* More footer tuning
2023-03-06 10:54:56 -06:00
Paul Frazee 7417ea3714 1.5 2023-03-03 14:44:00 -08:00
Paul Frazee 4e42d05f56 Add an x button to the search to clear the input 2023-03-03 14:38:59 -08:00
Paul Frazee d5e3fa2d4a Turn links to posts into quote posts (#262)
* Turn links to posts into quote posts

* Fix lint
2023-03-03 16:30:33 -06:00
arcalinea 44cc4c58dd New user constants (#260)
* update users

* update

* With constructed intro feed, only grab 20 random suggested users to avoid perf issues

* Don't 'check for latest' in the feed with the suggestions feed

* Show/hide the welcome banner on account change (close #257)

---------

Co-authored-by: Jay Graber <arcalinea@gmail.com>
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-03-03 15:37:17 -06:00
Paul Frazee 33be8a1d59 Move the translate item to the top of the menu 2023-03-03 13:19:00 -08:00
Paul Frazee 6488aade12 Add translate link to post menu (#261)
* Add a google translate menu item to posts

* Fix: make sure the dropdown menu is always visible (when low on the screen)
2023-03-03 15:13:31 -06:00
Paul Frazee c9441963a5 Remove replies from the home feed (#259)
* Remove replies from the home feed (close #252)

* Increase the 'load more' threshhold
2023-03-03 14:43:18 -06:00
Paul Frazee d7b8394b14 Fix dark mode ellipsis on posts 2023-03-03 12:05:38 -08:00
Paul Frazee 98e3b96b23 Edit profile fixes (#258)
* Fix: only clear banner or avi when requested in edit profile

* Set the default snap points to 90% to ensure the modal never fails to raise
2023-03-03 14:02:40 -06:00
Paul Frazee 401739a4b0 1.4 2023-03-02 17:02:46 -08:00