Eric Bailey
261a935747
More session improvements ( #2129 )
...
* More session improvements
* Drop resume session retries from 3 to 1
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-07 10:25:55 -08:00
Eric Bailey
a0b9fd799b
Disable sentry in dev ( #2128 )
2023-12-07 09:46:33 -06:00
Paul Frazee
00e1e56a7d
Treeview: more UI tweaks ( #2125 )
...
* Treeview: more UI tweaks
* Only show treeview when there are branching replies
* Fix types
2023-12-06 22:17:38 -08:00
Eric Bailey
818c6ae879
Add tests for migration and persisted state ( #2118 )
...
* Add tests for migrate
* Add test for persisted.init
* Add legacy transform test
* Set NODE_ENV for testing
* Mock logger
* Set expo var to test
2023-12-06 16:41:05 -08:00
dan
07fe058577
Move analytics out of critical path ( #2117 )
...
* Remove analytics provider, simplify hook
* Fix wrong import being used by feed
* Remove early bind
* Create client lazy on first use
2023-12-06 13:06:54 -08:00
Eric Bailey
a924df4dcd
Refetch some data on an interval ( #2114 )
...
* Match refetch intervals to stale time
* Lower refetch interval for own-profile
2023-12-06 12:31:54 -08:00
Paul Frazee
47771b9066
Update pwi endpoint ( #2116 )
2023-12-06 12:20:39 -08:00
dan
6335be14e1
Move analytics out of init ( #2115 )
...
* Remove listenSessionLoaded from analytics
* Move analytics init call to navigation ready
* Remove zod dependency from analytics
* Mirror changes on the web
* Delete listenSessionLoaded
* Only set up listeners once
2023-12-06 12:04:05 -08:00
dan
748212e000
Remove getSession waterfall ( #2112 )
2023-12-06 18:32:14 +00:00
dan
20a46c8cff
Enable structural sharing for preference query ( #2113 )
2023-12-06 10:20:23 -08:00
dan
de38595a7a
Split notification init, add cleanup ( #2102 )
...
* Inline never-imported export
* Remove pretense at handling cleanup
* Extract per-session listener to a function
* Split notifications.init() from notifications.onSessionLoaded()
* Tweak forked code to be more similar
* Remove unnecessary guards
* Split notifications.onSessionLoaded in two
* Always use getAgent()
* Remove dep on listenSessionLoaded, add cleanup
2023-12-06 10:05:59 -08:00
dan
7d158f82fb
Optimize Drawer re-renders ( #2108 )
2023-12-06 09:50:06 -08:00
Ansh
8e541d753a
Check Analytics ( #2106 )
...
* fix sign in event tracking
* add missing analytics events
* add more missing analytics
* fix like and unrepost event tracking
* reset onEndReachedThreshold
2023-12-06 09:45:01 -08:00
dan
7229cda5a5
Throttle non-critical Sentry messages ( #2110 )
...
* Throttle non-critical Sentry messages
* Run all timers in tests
2023-12-06 16:32:47 +00:00
Paul Frazee
2571432875
Disable react-native-screen freezing to test performance implications ( #2109 )
2023-12-05 22:56:20 -08:00
Ansh
78e459d06f
Add missing translations and fix react key error in `MyLists.tsx` ( #2103 )
...
* add missing translations
* fix key errors in MyLists
* Update UserAddRemoveLists.tsx
2023-12-05 18:27:38 -08:00
Eric Bailey
e6bda92b20
Surface raw server error if exists ( #2096 )
...
* Surface raw server error if exists
* Update copy
* Update translation files
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-05 18:25:32 -08:00
Eric Bailey
7f3324d4a4
Improve error handling in dev-only ( #2095 )
2023-12-05 18:23:48 -08:00
Eric Bailey
570b78c32e
Fix self-threads filter logic ( #2091 )
2023-12-05 18:22:06 -08:00
Paul Frazee
41fd6eb95b
Fix some types
2023-12-05 18:21:15 -08:00
Paul Frazee
2ad0d059ac
More treeview UI tweaks ( #2093 )
...
* Improve tree-view spacing consistency and always include one reply bar level
* Reduce expanded post avi size
2023-12-05 18:18:53 -08:00
Paul Frazee
712cd3fde5
Perf: Include quote posts in the post-thread placeholder ( #2104 )
2023-12-05 18:17:03 -08:00
Paul Frazee
accb25ccf2
Perf: Dont initial-render full thread on mobile ( #2101 )
2023-12-05 18:02:33 -08:00
Paul Frazee
826b841e10
Fix: correctly identify if the screen is focused when handling soft resets on post feeds ( #2100 )
2023-12-05 18:01:08 -08:00
Eric Bailey
3c8036587e
Improvements to persisted state migration ( #2098 )
...
* Fix session email/emailConfirmed types, update usage for safer access
* Handle fallback better, better errors
* Better handling, add test
* Add test for default data
* Remove fallback, not needed, update logs
2023-12-05 19:59:34 -06:00
Eric Bailey
a915a57b10
Prevent invalid locale from being loaded ( #2099 )
2023-12-05 17:51:50 -08:00
dan
fab9f839d0
Fix email confirmation dialog on startup ( #2097 )
...
* Move init time logging to a fn, add guard
* Fix email confirmation dialog on startup
2023-12-06 00:28:11 +00:00
Paul Frazee
e7f973852f
Signup flow minor UI fixes ( #2094 )
...
* Fix layout of no-policy notice
* Fix spacing
2023-12-05 13:35:42 -08:00
Eric Bailey
5f553c29df
E2E 🟢 ( #2092 )
...
* Add logged out e2e ctrl, fix login test
* Fix log handling via env vars in expo
* Fix create account test
* Upgrade dev-env
* Fix home screen tests
* Fix composer tests
* Fix curate-lists tests, split in two
* Fix invite codes test
* Fix curate-lists tests
* Give up on mergefeed test
* Fix mod lists
* Fix app view url
* Fix profile tests
* Fix profile test with hack
* Keep using globals
* Fix two more
* Fix thread view
* Better skip for merge feed
* Revert debug code
2023-12-05 14:50:56 -06:00
dan
ed5a97d0fa
Fix jump when toggling suggestions ( #2090 )
2023-12-05 09:13:09 -08:00
Paul Frazee
48f5cebc80
Update feeds on post created ( #2085 )
2023-12-04 17:58:45 -08:00
Paul Frazee
bdb2bfdd83
Rename Posts & Replies to Replies ( #2087 )
2023-12-04 17:56:41 -08:00
Paul Frazee
74e0b73db5
Add back ignore-filters-for behaviors ( #2086 )
2023-12-04 17:54:39 -08:00
Paul Frazee
d07ea64434
Fix: correctly partial-match when calling truncateAndInvalidate() ( #2088 )
2023-12-04 17:53:22 -08:00
Paul Frazee
81c525f2b2
Merge branch '2047-last-active-tab' of https://github.com/CooperEdmunds/social-app into CooperEdmunds-2047-last-active-tab
2023-12-04 16:30:08 -08:00
Paul Frazee
f1b69a332a
Tune treeview thread mode to have consistent spacing ( #2078 )
2023-12-04 16:25:17 -08:00
Eric Bailey
4f171be9bf
Fix bottom space on feeds ( #2081 )
...
* Fix bottom space on feeds
* Translate
* Handle web better
2023-12-04 16:24:51 -08:00
Paul Frazee
6e2eaa746d
Optimistically update the pager tab bar on swipe ( #2083 )
2023-12-04 16:06:15 -08:00
Paul Frazee
8e2cfa52de
Typefix
2023-12-04 15:08:34 -08:00
Eric Bailey
f1cfea5786
Add back pinning functionality to ProfileList ( #2084 )
2023-12-04 15:52:51 -06:00
Eric Bailey
094a58490f
Handle feedgen 429 ( #2066 )
...
* Handle feedgen 429
* Translate
2023-12-04 13:27:48 -08:00
Cooper Edmunds
17c58d40ff
Track active page using string instead of index
2023-12-04 16:10:03 -05:00
Paul Frazee
37cafb080b
Fix: distinguish between post media and quotes with the moderation hider ( #2075 )
...
* Fix: distinguish between post media and quotes with the moderation hider
* Type fixes
2023-12-04 12:53:25 -08:00
Paul Frazee
a46059ca46
Improve the post-hiders and the header alerts ( #2074 )
...
* Improve the post-hider and the header alerts
* Adjust the contenthider (icon, font size)
2023-12-04 12:51:08 -08:00
Paul Frazee
971c402788
Add PWI build flag ( #2082 )
2023-12-04 12:45:40 -08:00
dan
a687d3f028
Allow scroll by dragging profile header ( #2068 )
2023-12-04 12:03:32 -08:00
Paul Frazee
9562a80908
Allow posts with just an external link ( #2079 )
2023-12-04 11:59:59 -08:00
Paul Frazee
e47c3dbe0e
Tweak the loading placeholders to use the full space and position better ( #2072 )
2023-12-04 11:59:27 -08:00
Paul Frazee
a01497fed4
Hackfix to composer focus on web ( #2057 )
2023-12-03 18:45:25 -08:00
Paul Frazee
0ab19b45a2
Tweak layout a bit more
2023-12-02 17:56:04 -08:00
Paul Frazee
07afcab6b2
Merge branch 'fix-jump-in-suggested-follows-tabbar' of https://github.com/tarikfp/social-app into uiwork-reflow-issue
2023-12-02 17:52:21 -08:00
dan
2698a6b50b
Fix show suggested button color ( #2069 )
2023-12-01 16:23:00 -08:00
dan
bb22ebd588
Fix scroll jump on Back ( #2067 )
2023-12-01 14:05:10 -08:00
Eric Bailey
9dec9d7276
Only poll feed when feed page is focused ( #2064 )
...
* Do no poll when screen is not focused
* Avoid polling unless focused
* Handle homepage in background
* Fix the intl:check to ignore comments in diffs
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-01 13:40:50 -08:00
Cooper Edmunds
9a13fe50cc
Use lastActiveTab from AsyncStorage for non-desktop
2023-12-01 15:18:25 -05:00
Eric Bailey
f80bd30ef4
Better handle feed auth failures ( #2060 )
...
* Better handle feed auth failures
* Add comment
2023-12-01 09:29:50 -08:00
Eric Bailey
edc9ac272c
Add Lingui check to CI ( #2058 )
...
* Install lingui eslint plugin, ignore compiled files
* Add lingui step to Lint workflow
* Run check in other job
* Add compile step to web build
* Temp: add a new string to test with
* Add message
* Revert "Temp: add a new string to test with"
This reverts commit ef5459d00c3ea9798279e000a5ac43effc117486.
* Un-track compiled files
* Add check scripts to package.json, build step
* Make sure to compile translations prior to test/typecheck
* Rename scripts
2023-12-01 09:14:10 -08:00
Paul Frazee
f8c46c08ca
Improve unread notif tracking ( #2056 )
2023-11-30 18:56:55 -08:00
Paul Frazee
826cbbd4bf
Maintain some feed data to avoid needless glimmers ( #2054 )
2023-11-30 18:49:23 -08:00
dan
9fa90bb8d9
Optimize pager rendering ( #2055 )
...
* Pull out and memoize PagerTabBar
* Avoid invalidating onScroll and add throttling
* Make isScrolledDown update non-blocking
* Fix types
2023-12-01 02:11:05 +00:00
Paul Frazee
23ad3ad98b
Various fixes ( #2053 )
...
* Fix invite code translations (plural api not availabe in ios)
* Speed up the composer animation a smidge
2023-11-30 17:03:38 -08:00
Cλctys
5839d2a30c
Fix scuffed web styles caused by overlapping viewport breakpoint boundaries ( #1985 )
...
* fixed lack of styles on 1300px web viewport width by adjusting tablet breakpoints
* fixed lack of styles on 800px web viewport width by adjusting mobile breakpoints
* changed `maxWidth` values in viewports to `n - 1` format
2023-11-30 16:14:36 -08:00
Paul Frazee
1755c2e538
Merge branch 'invite-code-warning' of https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning
2023-11-30 16:13:16 -08:00
Paul Frazee
21af10bc3d
Merge branch 'copy-link' of https://github.com/mozzius/bluesky-official-app into mozzius-copy-link
2023-11-30 16:05:34 -08:00
Samuel Newman
9375532698
Add enter/exit animations to modals on web ( #2042 )
...
* add reanimated layout animations to modals
* reorder imports
* pass context to scroll handler patches
2023-11-30 16:02:46 -08:00
Eric Bailey
abe61b7517
Disable OTA for now ( #2052 )
2023-11-30 15:48:07 -08:00
Eric Bailey
28f8999252
Beep boop ( #2051 )
2023-11-30 13:53:34 -08:00
Eric Bailey
76a3c66f54
Eric/profile feeds list ( #2049 )
...
* Fix profile feedgens view
* Fix profile lists view
* Translate
2023-11-30 13:40:49 -08:00
Eric Bailey
47b0d36b73
Hide normal mute if muted by list, and invalidate profile query upon list mute ( #2048 )
...
* Hide normal mute if muted by list, and invalidate profile query upon list mute
* Prevent profile flashing
2023-11-30 13:40:01 -08:00
dan
46b63accb8
Rewrite the shadow logic to look inside the cache ( #2045 )
...
* Reset
* Associate shadows with the cache
* Use colocated helpers
* Fix types
* Reorder for clarity
* More types
* Copy paste logic for profile
* Hook up profile query
* Hook up suggested follows
* Hook up other profile things
* Fix shape
* Pass setShadow into the effect deps
* Include reply posts in the shadow cache search
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-11-30 13:35:58 -08:00
Paul Frazee
143fc80951
Merge branch 'main' of github.com:bluesky-social/social-app into main
2023-11-30 12:47:48 -08:00
Paul Frazee
ee82e78d5c
Fix missing export in e2e version
2023-11-30 12:47:40 -08:00
dan
cb193a827d
Fix lag when switching tabs ( #2046 )
2023-11-30 19:57:54 +00:00
Samuel Newman
b7599e5bea
generate messages
2023-11-30 17:12:21 +00:00
Samuel Newman
b164f151cc
Merge remote-tracking branch 'upstream/main' into invite-code-warning
2023-11-30 17:11:51 +00:00
Samuel Newman
ee5d7a63ce
update messages
2023-11-30 17:09:59 +00:00
Samuel Newman
c06611fb71
show informative message when token scope is wrong
2023-11-30 17:09:10 +00:00
Samuel Newman
5c78b2266f
add "copy link" text
2023-11-30 16:40:19 +00:00
Paul Frazee
fcd22d4ccb
Adjust stale-caches and dont group read&unread notifs together ( #2041 )
...
* Dont group read & unread notifications together
* Remove and reduce some stale cache times
* Keep the staleTime on the post-feed
* Bring back the load-bearing staletime on profile
2023-11-29 20:27:39 -08:00
Paul Frazee
a03f57c8c3
Apply feed preferences (react-query refactor) ( #2040 )
...
* Actually implement the feed tuners hook
* Move feed-tuner pass into select() to have it apply immediately on change
2023-11-29 20:11:01 -08:00
Eric Bailey
3e1b2346ee
Close modals if switching to unauthed account ( #2039 )
2023-11-29 19:28:18 -08:00
Eric Bailey
b83fa95793
Handle nsfw feeds in public view ( #2035 )
...
* Handle nsfw feeds in public view
* Translate
* Refactor, new approach
* Translate
* Copy
* Translate
* Revert changes to Feed
* Remove unused retry
* Translate
2023-11-29 19:27:58 -08:00
Eric Bailey
005fc7cc38
Disable retrying globally ( #2038 )
2023-11-29 17:50:14 -08:00
Paul Frazee
1140b05b83
Slightly less verbose variable
2023-11-29 17:37:15 -08:00
Paul Frazee
4c7b9652db
Merge branch '2011-link-in-feeds-tab-bar' of https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
2023-11-29 17:35:57 -08:00
Paul Frazee
6e30c339da
Merge branch '2011-default-pin-feed-on-add' of https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-default-pin-feed-on-add
2023-11-29 17:25:29 -08:00
Paul Frazee
630637874d
Fix state lifecycle management with post-feed query, solving the duplicate key issue ( #2034 )
...
* Assign keys to feed slices via a counter, to enable duplicate items in the feed if needed
* Move post-feed query state into the query's page params to consistently bind their lifecycles
2023-11-29 18:58:14 -06:00
Cooper Edmunds
3fbac466ac
Update home-screen tests related to feeds
2023-11-29 19:28:35 -05:00
Eric Bailey
a59d235e8b
Improve feed reordering with optimistic updates ( #2032 )
...
* Optimisticaly update order of saved feeds
* Better show disabled state for pin button
* Improve loading/disabled states
* Improve placeholder
* Simplify loading components
2023-11-29 16:17:27 -08:00
Cooper Edmunds
34759798eb
Stop adding whats-hot for new users
2023-11-29 15:24:14 -05:00
Cooper Edmunds
8ceabe2a11
Conditionally render feeds link in feeds tab bar
2023-11-29 14:49:18 -05:00
Cooper Edmunds
ed391c346d
Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hook
2023-11-29 14:23:19 -05:00
Paul Frazee
4b3ec54add
Fix infinite query reloading behavior (reset, not invalidate) ( #2031 )
...
* Reset, not invalidate, notification queries
* Reset, not invalidate, feed queries
2023-11-29 11:15:35 -08:00
Paul Frazee
9239efac9c
Refactor the notifications to cache and reuse results from the unread-notifs checks ( #2017 )
...
* Refactor the notifications to cache and reuse results from the unread-notifs checks
* Fix types
2023-11-29 10:20:14 -08:00
Ansh
620e002841
Show logged out view when adding accounts ( #2020 )
...
* show logged out view when adding accounts
* Handle existing signed-in account
* Show which account is currently logged in
* Fix showing toasts
---------
Co-authored-by: Eric Bailey <git@esb.lol>
2023-11-29 10:11:06 -08:00
Paul Frazee
6fe2b52f68
Get more rigorous about getAgent() consistency ( #2026 )
...
* Get more rigorous about getAgent() consistency
* Update the feed wrapper API to use getAgent() directly
2023-11-29 10:10:04 -08:00
Cooper Edmunds
ca357ecbcf
Add pinOnSave and use it in discover feeds list
2023-11-29 09:05:26 -05:00
dan
9fb2c29c67
Disable RQ structural sharing ( #2022 )
2023-11-28 20:48:08 -08:00
Eric Bailey
6f7032d42b
Full send Sentry ( #2018 )
...
* Update build profiles, sentry config
* Enable sentry
* Ok actually enable in dev
* Remove debug
* Add TF build
* Fix typo
* Remove debug
* Remove unecessary config
* Fix typo
* Set env in Expo
* Remove scripts
* Clarify
* Replace invalid character
* Align on release/dist
* Add build version
* Just use package version
* Align dist
2023-11-28 21:49:37 -06:00
dan
b778017000
Fix memory leak on mobile web tab navigation ( #2021 )
...
* Add navigationAction prop to Link
* Bottom bar should use navigate() action
2023-11-28 22:48:00 +00:00