about summary refs log tree commit diff
path: root/src/view/shell/desktop
Commit message (Collapse)AuthorAgeFilesLines
...
* Hindi Internationalization (#1914)Ansh2023-11-203-13/+21
| | | | | | | | | | | | | | | | | | | | | | * 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-161-1/+10
| | | | | | | * 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-163-21/+12
| | | | | | | | | | | | | | | | | | | | | * 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
* Refactor invites modal (#1930)Eric Bailey2023-11-161-8/+7
| | | | | | | * Refactor invites modal * Replace in drawer * Delete stuff from me model
* Shell behaviors update (react-query refactor) (#1915)Paul Frazee2023-11-151-4/+3
| | | | | | | | | | | * 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-141-1/+3
| | | | | | | | | * 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-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | * 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-101-3/+2
|
* 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-092-30/+43
|
* Internationalization & localization (#1822)Ansh2023-11-092-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add modal state provider, replace usage except methods (#1833)Eric Bailey2023-11-081-2/+4
| | | | | | | | | | | | | * Add modal state provider, replace usage except methods * Replace easy spots * Fix sticky spots * Replace final usages * Memorize context objects * Add more warnings
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-012-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists screen * Update Lists screen and List create/edit modal to support curate lists * Rework the ProfileList screen and add curatelist support * More ProfileList progress * Update list modals * Rename mutelists to modlists * Layout updates/fixes * More layout fixes * Modal fixes * List list screen updates * Update feed page to give more info * Layout fixes to ListAddUser modal * Layout fixes to FlatList and Feed on desktop * Layout fix to LoadLatestBtn on Web * Handle did resolution before showing the ProfileList screen * Rename the CustomFeed routes to ProfileFeed for consistency * Fix layout issues with the pager and feeds * Factor out some common code * Fix UIs for mobile * Fix user list rendering * Fix: dont bubble custom feed errors in the merge feed * Refactor feed models to reduce usage of the SavedFeeds model * Replace CustomFeedModel with FeedSourceModel which abstracts feed-generators and lists * Add the ability to pin lists * Add pinned lists to mobile * Remove dead code * Rework the ProfileScreenHeader to create more real-estate for action buttons * Improve layout behavior on web mobile breakpoints * Refactor feed & list pages to use new Tabs layout component * Refactor to ProfileSubpageHeader * Implement modlist block and mute * Switch to new api and just modify state on modlist actions * Fix some UI overflows * Fix: dont show edit buttons on lists you dont own * Fix alignment issue on long titles * Improve loading and error states for feeds & lists * Update list dropdown icons for ios * Fetch feed display names in the mergefeed * Improve rendering off offline feeds in the feed-listing page * Update Feeds listing UI to react to changes in saved/pinned state * Refresh list and feed on posts tab press * Fix pinned feed ordering UI * Fixes to list pinning * Remove view=simple qp * Add list to feed tuners * Render richtext * Add list href * Add 'view avatar' * Remove unused import * Fix missing import * Correctly reflect block by list state * Replace the <Tabs> component with the more effective <PagerWithHeader> component * Improve the responsiveness of the PagerWithHeader * Fix visual jank in the feed loading state * Improve performance of the PagerWithHeader * Fix a case that would cause the header to animate too aggressively * Add the ability to scroll to top by tapping the selected tab * Fix unit test runner * Update modlists test * Add curatelist tests * Fix: remove link behavior in ListAddUser modal * Fix some layout jank in the PagerWithHeader on iOS * Simplify ListItems header rendering * Wait for the appview to recognize the list before proceeding with list creation * Fix glitch in the onPageSelecting index of the Pager * Fix until() * Copy fix Co-authored-by: Eric Bailey <git@esb.lol> --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Yep, one pixelPaul Frazee2023-10-301-1/+1
|
* Fix wonky commentTanza3D2023-10-181-1/+1
|
* Shrink to 16 againTanza3D2023-10-181-1/+1
|
* Improve New Post buttonTanza3D2023-10-181-5/+9
|
* Fix: fetch follows on desktop search for typeahead (#1660)Paul Frazee2023-10-101-0/+7
|
* Revert "Fix invite codes flash on desktop, use loading placeholder (#1591)" ↵Paul Frazee2023-10-101-43/+29
| | | | | (#1656) This reverts commit 9278822088d212c9bee6a40a6a8b773bc482242d.
* Improve typeahead search with inclusion of followed users (temporary ↵Paul Frazee2023-10-051-2/+2
| | | | | | | | | | | solution) (#1612) * Update follows cache to maintain some user info * Prioritize follows in composer autocomplete * Clean up logic and add new autocomplete to search * Update follow hook
* Fix invite codes flash on desktop, use loading placeholder (#1591)Patroll2023-10-041-29/+43
| | | | | * Fix invite codes flashing untrue value before loaded * Add loading placeholder for right nav invites
* Slightly larger desktop leftnav pfpPaul Frazee2023-09-281-1/+1
|
* Merge branch 'small-pfp-desktop-2' of https://github.com/Tanza3D/social-app ↵Paul Frazee2023-09-281-1/+1
|\ | | | | | | into Tanza3D-small-pfp-desktop-2
| * Small PFP on desktopTanza3D2023-09-261-1/+1
| |
* | Handle long feed listings on the right nav with scrolling (#1562)Paul Frazee2023-09-282-2/+5
| |
* | Move sidebar by 10px for more even padding (#1543)Tanza2023-09-281-1/+1
| |
* | Improvements to auto-mentioning users from their profiles (#1556)Eric Bailey2023-09-271-5/+18
|/ | | | | | | | | | | | | * Don't automatically mention users with invalid handles * don't mention when using did urls * resolve profile from cache * a little clearer --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Accessibility fixes: add missing labels, dynamically scale home header (#1516)Paul Frazee2023-09-221-0/+1
| | | | | * Improve labels * Dynanically adjust home header to account for font scaling
* Feed UI update working branch [WIP] (#1420)Paul Frazee2023-09-184-9/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Feeds navigation on right side of desktop (#1403) * Remove home feed header on desktop * Add feeds to right sidebar * Add simple non-moving header to desktop * Improve loading state of custom feed header * Remove log Co-authored-by: Eric Bailey <git@esb.lol> * Remove dead comment --------- Co-authored-by: Eric Bailey <git@esb.lol> * Redesign feeds tab (#1439) * consolidate saved feeds and discover into one screen * Add hoverStyle behavior to <Link> * More UI work on SavedFeeds * Replace satellite icon with a hashtag * Tune My Feeds mobile ui * Handle no results in my feeds * Remove old DiscoverFeeds screen * Remove multifeed * Remove DiscoverFeeds from router * Improve loading placeholders * Small fixes * Fix types * Fix overflow issue on firefox * Add icons prompting to open feeds --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> * Merge feed prototype [WIP] (#1398) * POC WIP for the mergefeed * Add feed API wrapper and move mergefeed into it * Show feed source in mergefeed * Add lodash.random dep * Improve mergefeed sampling and reliability * Tune source ui element * Improve mergefeed edge condition handling * Remove in-place update of feeds for performance * Fix link on native * Fix bad ref * Improve variety in mergefeed sampling * Fix types * Fix rebase error * Add missing source field (got dropped in merge) * Update find more link * Simplify the right hand feeds nav * Bring back load latest button on desktop & unify impl * Add 'From' to source * Add simple headers to desktop home & notifications * Fix thread view jumping around horizontally * Add unread indicators to desktop headers * Add home feed preference for enabling the mergefeed * Add a preference for showing replies among followed users only (#1448) * Add a preference for showing replies among followed users only * Simplify the reply filter UI * Fix typo * Simplified custom feed header * Add soft reset to custom feed screen * Drop all the in-post translate links except when expanded (#1455) * Update mobile feed settings links to match desktop * Fixes to feeds screen loading states * Bolder active state of feeds tab on mobile web * Fix dark mode issue --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Ansh <anshnanda10@gmail.com>
* Add birth date gating to moderation settings (#1435)Paul Frazee2023-09-111-1/+1
| | | | | | | * Add birth date preference, modal to set, link in settings, and age gate in moderation * Styling fixes for android * Fix types
* Give explicit names to MobX observer components (#1413)dan2023-09-072-72/+76
| | | | | | | | | * Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
* Upgrade to Expo 49 (#1331)Eric Bailey2023-09-052-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update to expo 49 * update expo-camera to fix console erorrs * run doctor again * fix ts errors * patch @sentry/react-native Getting `cannot read property 'ignoreLogs' of undefined` in this file. Ironically, this may be a cyclical imports problem. LogBox isn't enabled in production, so this patch should only affect dev/test. * fix type error * reinstall newer reanimated * pin expo-dev-client to fix reanimated dev-build issue * fix type errors, fix bad conflict res * Fix to notifications badge z-index on desktop --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Updates to use dynamic/responsive styles on web (#1351)Paul Frazee2023-09-052-28/+125
| | | | | | | | | | | | | | | | | | | * Move most responsive queries to the hook * Fix invalid CSS value * Fixes to tablet render of post thread * Fix overflow issues on web * Fix search header on tablet * Fix QP margin in web composer * Fix: only apply double gutter once to flatlist (close #1368) * Fix styles on discover feeds header * Fix double discover links in multifeed
* Fix mismatching button label for speech recognition (#1372)dan2023-09-051-1/+1
| | | | | * Fix mismatching a11y label * Update all new post button labels to match
* Fix: Don't flash default profile avatar and link in nav (#1287)Patroll2023-08-281-1/+6
|
* [APP-834] Allow @ing someone in post directly from profile (#1241)Ansh2023-08-221-1/+16
| | | | | * setup `initMention` for mobile * setup creating post with profile tagged on web
* [APP-782] Support invalid handles correctly (#1049)Paul Frazee2023-07-271-5/+3
| | | | | | | | | | | | | | | | | | | * Update profile link construction to support handle.invalid * Update list links to support using handles * Use did for isMe check to ensure invalid handles dont distort the check * Shift the red (error) colors away from the pink spectrum * Add ThemedText helper component * Add sanitizedHandle() helper to render invalid handles well * Fix regression: only show avatar in PostMeta when needed * Restore the color of likes * Remove users with invalid handles from default autosuggests
* [APP-773] Change waitlist explainer copy (#1021)Paul Frazee2023-07-171-6/+1
| | | | | | | * Change waitlist explainer copy * Restore the waitlist modal snap point to 80% to account for smaller phones * Tune copy further
* Update support links (#977)Paul Frazee2023-07-051-3/+15
| | | | | | | | | | | | | | | | | | | * Add the new zendesk feedback form URL * Dont wrap handle or display name in the drawer * Add help link * Tune drawer footer layout * Type fixes * make helpdesk urls more composable for future * fix typo --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Make sidebar avatar keyboard-clickable. (#921)Markus Amalthea Magnuson2023-07-021-1/+4
|
* Fix some broken links on policy docs (#916)Paul Frazee2023-06-271-2/+2
|
* Add testnet warning (#880)Paul Frazee2023-06-141-4/+13
| | | | | | | * Add testnet warning * Add watermarks to posts * Call the test environment the Sandbox