about summary refs log tree commit diff
path: root/src/view/com/util
Commit message (Collapse)AuthorAgeFilesLines
* Switch the date input web version to the date-input web control (#1510)Paul Frazee2023-09-211-47/+30
| | | | | * Switch the date input web version to the date-input web control * Fix types
* Dont reposition load latest button on desktop (#1508)Paul Frazee2023-09-211-1/+2
|
* Prefilter the mergefeed to ensure a better mix of following and custom feeds ↵Paul Frazee2023-09-201-1/+3
| | | | | | | | | | | | | | | (#1498) * Prefilter the mergefeed to ensure a better mix of following and custom feeds * Test suite improvements & tests for the mergefeed (#1499) * Disable invite codes test for now * Update test sim to latest iphone * Introduce TestCtrls driver * Add mergefeed tests
* Improve consistency of floating button positioning (#1501)Paul Frazee2023-09-202-26/+17
|
* Tune the treeview UI a bit more (#1494)Paul Frazee2023-09-201-9/+15
|
* Onboarding recommended follows (#1457)Ansh2023-09-201-11/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upgrade api package * add RecommendedFollows as a step in onboarding * add list of recommended follows from suggested actor model * remove dead code * hoist suggestedActors into onboarding model * add comments * load more suggested follows on follow * styling changes * add animation * tweak animations * adjust styling slightly * adjust styles on mobile * styling improvements for web * fix text alignment in RecommendedFollows * dedupe inserted suggestions * fix animation duration * Minor spacing tweak --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> and Eric Bailey <git@esb.lol>
* :bug: Handle middle mouse click on feed list items (#1469)Foysal Ahamed2023-09-181-2/+3
| | | | | | | | | | | | | | | * :bug: Handle middle mouse click on feed list items * :recycle: Refactor the event listener and turn it into a dedicated hook for web * :broom: Cleanup unnecessary Link changes * Fix import * Create native version of useAuxClick --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Feed UI update working branch [WIP] (#1420)Paul Frazee2023-09-188-183/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Readd hitslop to post controls (#1461)Paul Frazee2023-09-152-3/+8
| | | | | * Readd hitslop to post controls * Bigger hitslop on bigger controls
* wrap impersonation text (#1447)Ansh2023-09-131-5/+5
|
* Remove accessibilityRole=button on dropdown mask, it causes issues on ↵Paul Frazee2023-09-111-1/+0
| | | | firefox (#1436)
* 💅 disallow overflow outside of post content area(s) (#1395)Micah Maligie2023-09-071-2/+5
|
* Give explicit names to MobX observer components (#1413)dan2023-09-076-106/+107
| | | | | | | | | * Consider observer(...) as components * Add display names to MobX observers * Temporarily suppress nested components * Suppress new false positives for react/prop-types
* Add ESLint React plugin (#1412)dan2023-09-075-125/+120
| | | | | * Add eslint-plugin-react * Enable display name rule
* Fix scrollbar gutters on web (#1401)Paul Frazee2023-09-071-8/+12
| | | | | * Fix scrollbar gutters on web * Fix typecheck
* Upgrade to Expo 49 (#1331)Eric Bailey2023-09-055-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0511-72/+131
| | | | | | | | | | | | | | | | | | | * 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
* Improved mute alerting (#1355)Paul Frazee2023-09-011-5/+1
| | | | | | | * Use a simpler mute alert when viewing a post by a muted user * Dont mute self-QPs when we're overriding a mute * Fix types
* Improvements to UI in web logged-out views (#1341)Paul Frazee2023-08-301-0/+102
| | | | | | | * Add LoggedOutLayout for desktop/tablet web * Avoid screen flash in the transition to onboarding * Fix comment
* fix types for breakpoints on mobile (#1342)Ansh2023-08-301-3/+6
|
* Merge branch 'ansh/app-812-add-custom-feed-discovery-to-onboarding' into mainPaul Frazee2023-08-305-30/+166
|\
| * Simplify the RecommendedFeeds with breakpoint componentsPaul Frazee2023-08-302-0/+28
| |
| * Fix types and remove dead codePaul Frazee2023-08-301-1/+1
| |
| * More fixes to mobile onboardPaul Frazee2023-08-301-3/+2
| |
| * Fix onboarding on mobile webPaul Frazee2023-08-301-0/+22
| |
| * Tweak dark mode on webPaul Frazee2023-08-301-3/+10
| |
| * Tweaks to mobile onboardPaul Frazee2023-08-291-2/+2
| |
| * Rework web onboardingPaul Frazee2023-08-291-0/+62
| |
| * fix onboarding on webAnsh Nanda2023-08-291-28/+46
| |
* | Test fixesPaul Frazee2023-08-281-0/+1
| |
* | Make posts behave more like links (#1316)Eric Bailey2023-08-281-5/+11
|/ | | | | | | | | | | | | | | | | * use cursor for post cards * ignore type error * handle meta keys on non native links (cherry picked from commit daccafea0b7ab21af6572767e496d20f32ead353) * remove cursor on non-post notifications, not quite right * Simplify link handling --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Eslint updates (#1281)Eric Bailey2023-08-252-2/+4
| | | | | | | | | | | | | | | | | | * eslint: Update eslintrc * eslint: Strings must use singlequote quotes * eslint: expected { after if-condition * eslint: update warnings * a little cleanup * remove conflicted file --------- Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Use `Pressable` for most links/embeds (#1181)Eric Bailey2023-08-245-23/+12
| | | | | * delay press on all links * use Pressable for all accessible links
* Fixes #1252 fix alt text setting description toggle (#1261)Ansh2023-08-231-2/+2
| | | | | * make toggle border width slightly larger * change copy
* Improve handling of unselecting languanges in composer language menu (#1093)Eric Bailey2023-08-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | * allow toggling off/on multiple from main composer lang menu * fix dropdown styles for long labels * udpate model to use new string field * update language UI * save langs to history on submit * remove edit * clean up use new fields * default to deviceLocales * fix default valu * feedback * use radio icon
* add title attr to text text links (#1228)Eric Bailey2023-08-223-2/+17
| | | | | | | | | | | | | | | * add title attr to text text links * Revert "add title attr to text text links" This reverts commit c028cd184efd3b2788d8f46134eecf521e5d7b07. * use css tooltips * add to expanded post state * handle theming * add to bskyweb
* Fix android postmeta alignmentPaul Frazee2023-08-171-1/+1
|
* Tune link card font sizes on desktopPaul Frazee2023-08-161-2/+2
|
* Tune up the link card to look nicer, show more info, and layout horizontally ↵Paul Frazee2023-08-161-16/+35
| | | | on web to user space more nicely (#1190)
* Fix tap target size of post dropdown menus (#1180)Paul Frazee2023-08-155-83/+28
|
* Remove view selector offsetting (close #1174) (#1183)Paul Frazee2023-08-151-5/+3
| | | | | * Remove view selector offsetting (close #1174) * Remove horizontal scroll indicator in view selector
* :sparkles: Repurpose report post modal and re-use for list reporting (#1070)Foysal Ahamed2023-08-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * :sparkles: Repupose report post modal and re-use for list reporting * :sparkles: Allow reporting a feed generator * :sparkles: :recycle: Refactor report modal into one shared component for reporting different collections * :white_check_mark: Adjust report option selector in tests * :white_check_mark: Add test for list reporting * :recycle: :sparkles: Refactor reason options and add options for list and feedgen * :broom: Cleanup remaining todo * Fix to mutelist react keys * Fix regression from rebase * Improve customfeed mobile header --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix prefetching lightbox images (#1163)Eric Bailey2023-08-151-9/+5
| | | | | | | | | * fix prefetching lightbox images * use array signature * fix other RN native image usage * delay prefetching to allow UI to re-render
* Fix: set background color of the view selector (#1151)Paul Frazee2023-08-101-0/+1
|
* More useful block-state information in embeds (#1150)Paul Frazee2023-08-101-1/+12
| | | | | * More useful block-state information in embeds * Tune copy
* Adds profile media tab (#1137)Eric Bailey2023-08-101-32/+60
| | | | | | | | | | | | | | | | | * add media tab * fix loading state * cleanup * update naming * upgrade api package * fix load state * add scroll view to tabs * fix overflow on mobile web
* Add self-labeling controls (#1141)Paul Frazee2023-08-095-16/+23
| | | | | | | | | | | | | | | * Add self-label modal * Use the shield-exclamation icon consistently on post moderation * Wire up self-labeling * Bump @atproto/api@0.6.0 * Bump @atproto/dev-env@^0.2.3 * Add e2e test for self-labeling * Fix types
* Add alerts to embeds (#1138)Paul Frazee2023-08-082-5/+29
| | | | | | | * Add alerts to embeds * Add images to the mock data * Fix types
* Fix rendering of feed and list post-embeds (close #1131) (#1135)Paul Frazee2023-08-081-19/+13
|
* Fix: dont use profile preview modal on mobile web (#1125)Paul Frazee2023-08-071-2/+2
|