about summary refs log tree commit diff
path: root/src/view/shell
Commit message (Collapse)AuthorAgeFilesLines
* Invalid handle autocomplete (#2251)Samuel Newman2023-12-201-1/+2
| | | | | * refactor invalid handle check from a previous PR to use util function * add invalid handle check to `prefixMatch`
* Fix `Logotype` fill for dark mode (#2230)Eric Bailey2023-12-182-2/+2
| | | | | * Fix fill of Logotype in dark mode * Update default Logotype fill
* Fix: Some display issues (#2219)Hima2023-12-182-3/+2
| | | | | * Update LeftNav.tsx * Update RightNav.tsx
* Some brand, some pwi (#2212)Eric Bailey2023-12-145-150/+286
| | | | | | | | | | | | | | | * Add logo to left nav in logged out * Protect last routes * Hide links in left nav, hide nav * Replace bottom bar for pwi * Remove same links from drawer * Hide reply prompt * Allow search
* 🤫 (#2211)Eric Bailey2023-12-141-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add new assets * Add splashiness * Add butter icon, spread it * Cream together eggs, sugar, and vanilla * Hi, I'd like to place and order. Yeah, none pizza with left beef, plz. * test * Refine animation * tweak * tweak * tweak * Tweak * Simplify * Cleanup * Fix android logo --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* PWI behavior updates (#2207)Paul Frazee2023-12-145-59/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable PWI * Disable access to feeds on PWI * Remove feeds nav item from drawer when signed out * Replace discover feed on home with a CTA * Wire up the sign in and create account buttons to go straight to their respective screens * Give a custom ScreenHider interface for no-pwi * Add side borders on desktop to the screen hider * Filter accounts in the autocomplete according to mod settings * Trim replies in the post thread that are pwi opt-out * Show 'learn more' on the content hider when no-override is enabled * Apply the moderation filter on profile cards * Disable post search on logged-out view * Update locale files * Bump api pkg * Ensure feeds with no posts don't show as NSFPublic * Fix types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Rework the rightnav overflow behavior to not obscure the scroll region (#2199)Paul Frazee2023-12-131-67/+65
|
* Make right nav scrollable on short screens (#2186)Eric Bailey2023-12-121-60/+63
|
* Multiple notifications fixes (#2154)Paul Frazee2023-12-093-27/+3
| | | | | | | | | | | | | | | * Dont reset notifications feed on push notification event * Dont separate notifications by read state to avoid jank * On notifications screen focus, check latest and only rerender if not scrolled down * Reuse the cached notifs page when its not stale * Bump ios build number * Improve comments * Change the 'mark all read' condition to avoid firing too early
* Split notification init, add cleanup (#2102)dan2023-12-061-1/+15
| | | | | | | | | | | | | | | | | | | * 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
* Optimize Drawer re-renders (#2108)dan2023-12-062-185/+315
|
* Improvements to persisted state migration (#2098)Eric Bailey2023-12-051-2/+2
| | | | | | | | | | | * 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
* E2E 🟢 (#2092)Eric Bailey2023-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add PWI build flag (#2082)Paul Frazee2023-12-041-1/+2
|
* Maintain some feed data to avoid needless glimmers (#2054)Paul Frazee2023-11-303-9/+6
|
* Various fixes (#2053)Paul Frazee2023-11-302-15/+8
| | | | | * Fix invite code translations (plural api not availabe in ios) * Speed up the composer animation a smidge
* Merge branch 'invite-code-warning' of ↵Paul Frazee2023-11-302-21/+63
|\ | | | | | | https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning
| * Merge remote-tracking branch 'upstream/main' into invite-code-warningSamuel Newman2023-11-305-5/+5
| |\
| * | show informative message when token scope is wrongSamuel Newman2023-11-302-21/+63
| | |
* | | Add enter/exit animations to modals on web (#2042)Samuel Newman2023-11-301-4/+12
| | | | | | | | | | | | | | | | | | | | | * add reanimated layout animations to modals * reorder imports * pass context to scroll handler patches
* | | Disable OTA for now (#2052)Eric Bailey2023-11-301-2/+0
| |/ |/|
* | Merge branch '2011-link-in-feeds-tab-bar' of ↵Paul Frazee2023-11-291-1/+1
|\ \ | | | | | | | | | https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
| * | Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hookCooper Edmunds2023-11-291-1/+1
| | |
* | | Fix infinite query reloading behavior (reset, not invalidate) (#2031)Paul Frazee2023-11-293-3/+3
|/ / | | | | | | | | * Reset, not invalidate, notification queries * Reset, not invalidate, feed queries
* / Fix memory leak on mobile web tab navigation (#2021)dan2023-11-281-1/+1
|/ | | | | * Add navigationAction prop to Link * Bottom bar should use navigate() action
* PWI: Refactor Shell (#1989)dan2023-11-242-27/+152
| | | | | | | | | | | | | | | | | | | * Vendor createNativeStackNavigator for further tweaks * Completely disable withAuthRequired * Render LoggedOut for protected routes * Move web shell into the navigator * Simplify the logic * Add login modal * Delete withAuthRequired * Reset app state on session change * Move TS suppression
* Fix missing effect cleanup (#1986)dan2023-11-241-1/+2
|
* [PWI] Shell (#1967)Eric Bailey2023-11-218-288/+409
| | | | | | | | | | | | | | | * Sidebars * Bottom bar * Drawer * Translate * Spacing fix * Fix responsive regression * Fix nit
* Hindi Internationalization (#1914)Ansh2023-11-204-21/+29
| | | | | | | | | | | | | | | | | | | | | | * get basic hindi support to work * get web app language switcher in * Refactor i18n implementation and remove unused code * add missing strings * add dropdowns and modals missing strings * complete all hindi translations * fix merge conflicts * fix legeacy persisted state * fix data in RecommendedFeeds * fix lint
* Improve notification load behaviors (#1943)Paul Frazee2023-11-163-3/+30
| | | | | | | * Dont use the stale cache for notifs-feed * Add a delay to marking all read to avoid marking upcoming posts as read * Trigger automatic notifications refresh when navigating to the tab, in certain conditions
* Remove deprecated models and mobx usage (react-query refactor) (#1934)Paul Frazee2023-11-167-41/+22
| | | | | | | | | | | | | | | | | | | | | * Update login page to use service query * Update modal to use session instead of store * Move image sizes cache off store * Update settings to no longer use store * Update link-meta fetch to use agent instead of rootstore * Remove deprecated resolveName() * Delete deprecated link-metas cache * Delete deprecated posts cache * Delete all remaining mobx models, including the root store * Strip out unused mobx observer wrappers
* Some me model cleanup (#1928)Eric Bailey2023-11-162-9/+20
| | | | | | | | | | | | | | | | | * Replace me model in post dropdown btn * Replace delete account logic * Replace me model in bottom bar web * Replace me model in bottom bar * Replace me model in reply prompt * Better fallback * Fix reference * Fix bad ref in bottom bar
* Refactor invites modal (#1930)Eric Bailey2023-11-162-15/+14
| | | | | | | * Refactor invites modal * Replace in drawer * Delete stuff from me model
* Close active elems (react-query refactor) (#1926)Paul Frazee2023-11-162-23/+14
| | | | | | | | | * Refactor closeAny and closeAllActiveElements * Add close lightbox * Switch to hooks * Fixes
* Shell behaviors update (react-query refactor) (#1915)Paul Frazee2023-11-153-10/+10
| | | | | | | | | | | * Move tick-every-minute into a hook/context * Move soft-reset event out of the shell model * Update soft-reset listener on new search page * Implement session-loaded and session-dropped events * Update analytics and push-notifications to use new session system
* Translate some things on search (#1917)Eric Bailey2023-11-151-1/+1
|
* Search page (#1912)Eric Bailey2023-11-151-27/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Desktop web work * Mobile search * Dedupe suggestions * Clean up and reorg * Cleanup * Cleanup * Use Pager * Delete unused code * Fix conflicts * Remove search ui model * Soft reset * Fix scrollable results, remove observer * Use correct ScrollView * Clean up layout --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Autocomplete updates (react-query refactor) (#1911)Paul Frazee2023-11-151-2/+2
| | | | | | | | | | | | | * Unify the autocomplete code; drop fuse * Persist autocomplete results while they're in progress * Commit lockfile * Use ReturnType helper --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Desktop user autocomplete search (#1906)Eric Bailey2023-11-141-44/+119
| | | | | | | | | | | * Fix notification provider order, add comments * Remove log * Add actor typeahead handling * Trim down desktop search styles and hooks * Clean up moderation
* Fix self mention, resolve handle (#1903)Eric Bailey2023-11-141-8/+21
| | | | | | | | | * Fix self mention, resolve handle * Use queryClient * Fix type * Remove staleTime
* Composer update (react-query refactor) (#1899)Paul Frazee2023-11-145-57/+23
| | | | | | | | | * Move composer state to a context * Rework composer to use RQ --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Refactor profile screen to use new pager and react-query (#1870)dan2023-11-131-2/+2
| | | | | | | | | | | | | * Profile tabs WIP * Refactor the profile screen to use react-query (WIP) * Add the profile shadow and get follow, mute, and block working * Cleanup --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* More prefs cleanup (#1882)Eric Bailey2023-11-131-27/+25
| | | | | | | | | | | * Update useHomeTabs * Use queryClient to fetch * Replace useHomeTabs and useDesktopRightNavItems * Fix type error * Some cleanup
* Refactor notifications to use react-query (#1878)Paul Frazee2023-11-123-11/+13
| | | | | | | | | | | | | | | | | | | | | | | * Move broadcast channel to lib * Refactor view/com/post/Post and remove temporary 2 components * Add useModerationOpts hook * Refactor notifications to use react-query * Fix: only trigger updates in useModerationOpts when the values have changed * Implement unread notification tracking * Add moderation filtering to notifications * Handle native/push notifications * Remove dead code --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Pare down session as much as possibleEric Bailey2023-11-102-41/+62
|
* Remove error states, just best effortEric Bailey2023-11-101-10/+4
|
* Follow conventions for query, use isDirty flag in session store to avoid ↵Eric Bailey2023-11-101-2/+2
| | | | unneccessary writes
* Web login/signup and shellEric Bailey2023-11-094-35/+51
|
* Sync top/bottom bar disappearance to the scroll (#1855)dan2023-11-091-1/+6
| | | | | | | | | | | | | | | | | * Disable existing code that toggles shell * Make shell mode a float * Translate based on the gesture * Track header and footer heights * Add web support * Fix types and cleanup * Add back isScrolled logic * Add comments
* Internationalization & localization (#1822)Ansh2023-11-095-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | * install and setup lingui * setup dynamic locale activation and async loading * first pass of automated replacement of text messages * add some more documentaton * fix nits * add `es` and `hi`locales for testing purposes * make accessibilityLabel localized * compile and extract new messages * fix merge conflicts * fix eslint warning * change instructions from sending email to opening PR * fix comments