about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Feed UI update working branch [WIP] (#1420)Paul Frazee2023-09-1855-1493/+1866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* improve drawer reflow for large text (#1464)Eric Bailey2023-09-151-37/+47
|
* Add findlast shim for outdated browsers (#1463)Paul Frazee2023-09-152-0/+8
| | | | | * Add findlast shim for crappy browsers * Fix types
* Sanitize BIDI characters from display names (#1462)Paul Frazee2023-09-151-1/+3
|
* Readd hitslop to post controls (#1461)Paul Frazee2023-09-152-3/+8
| | | | | * Readd hitslop to post controls * Bigger hitslop on bigger controls
* don't thread a self-repost of a self-reply (#1450)Eric Bailey2023-09-151-1/+4
| | | | | * don't thread a self-repost of a self-reply * typo
* add React Query and hook up to existing functionality (#1358)Ansh2023-09-156-152/+93
| | | | | | | | | | | | | | | | | * add React Query and hook up to existing functionality * wire in remote data, add error message * remove hard-coded feeds * oops fix logic * add loading state * fix loading on mobile --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Merge pull request #1451 from bluesky-social/eric/theme-switching-webEric Bailey2023-09-151-21/+33
|\ | | | | fix theme switching on web without refresh
| * link out to more contextEric Bailey2023-09-151-0/+7
| |
| * clean up into hookEric Bailey2023-09-141-17/+22
| |
| * simplify logicEric Bailey2023-09-141-16/+11
| |
| * fix theme switching on web without refreshEric Bailey2023-09-141-0/+5
| |
* | Fix Profile link from drawer on Mobile Web (#1437)Ansh2023-09-143-12/+30
|/ | | | | | | | | | | | | | | * πŸ—ΊοΈ fix an issue where web devices that see the Drawer couldn't access Profile from said Drawer * fix routes on web * handle profile button active state * add hack for web navigation * fix comment --------- Co-authored-by: Micah Maligie <kerosuppi@gmail.com>
* wrap impersonation text (#1447)Ansh2023-09-131-5/+5
|
* share mute list link with did not handle (#1438)Ansh2023-09-122-2/+6
|
* Fix 651 Make followers and following button into a `<Link>` (#1429)Ansh2023-09-122-26/+25
| | | | | * make followers and following button into a Link * make buttons into `<a>` tags
* Remove accessibilityRole=button on dropdown mask, it causes issues on ↡Paul Frazee2023-09-111-1/+0
| | | | firefox (#1436)
* Add birth date gating to moderation settings (#1435)Paul Frazee2023-09-119-62/+297
| | | | | | | * Add birth date preference, modal to set, link in settings, and age gate in moderation * Styling fixes for android * Fix types
* Paginate the PostThread to avoid rendering too many posts and crashing the ↡Paul Frazee2023-09-111-6/+33
| | | | app on large threads (#1432)
* fix theme flashing (#1417)Eric Bailey2023-09-111-8/+28
| | | | | | | * fix theme flashing * remove memo * use AppState listener
* Separate list deletion into chunks (close #1430) (#1431)Paul Frazee2023-09-111-6/+12
|
* Revert "Fix 1338 mark notifications read with timeout and on app state ↡Paul Frazee2023-09-111-14/+1
| | | | | change (#1340)" (#1433) This reverts commit d2e65d2a7f411e9eb1a1ea8d97ea148c4832b430.
* make sure click events on the emoji picker don't bubble up to the mask (#1427)Ansh2023-09-111-15/+21
|
* Lytic analytics migration (#1428)Ansh2023-09-111-1/+1
| | | | | * add new api event proxy * add new apiHost for analytics web
* add new api event proxy (#1400)Ansh2023-09-111-0/+1
|
* composer: inhibit Cmd-Enter from inputting newline (#1421)uakci2023-09-111-0/+1
|
* Update time.ts to handle very small or negative time differences (#1390)Bossett2023-09-081-1/+4
| | | | | | | | | | | * Update time.ts to handle very small or negative time differences Right now, posts can appear to be from the future with a negative time difference (i.e. -3s appears). This change defines 'NOW' as less than 5 seconds old, and returns 'now' in that case. It's not clear how localisation is handled - this may need translation. * Add test for 'now' in time/ago(...) Add tests for ago() for right now (i.e. 'now') and 10s ago to ensure the seconds case is still tested
* Fix autocomplete avatar alignment (#1414)dan2023-09-081-1/+1
|
* Set crop mode to None by default (#1415)dan2023-09-081-1/+1
| | | | | | | Fixes #1263 Previously, opening the crop tool had 1:1 selected by default. So if you opened it and pressed Done without changing anything, it would format the image as 1:1. After this change, None is selected by default. So if you open the crop tool and press Done without changing anything, nothing will change.
* πŸ’… disallow overflow outside of post content area(s) (#1395)Micah Maligie2023-09-072-2/+6
|
* Give explicit names to MobX observer components (#1413)dan2023-09-0771-2772/+2801
| | | | | | | | | * 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-0711-616/+600
| | | | | * Add eslint-plugin-react * Enable display name rule
* Hotfix: Fix unable to enter invite code (#1409)Ansh2023-09-071-2/+0
| | | | | * Remove accessibilityRole from invite code input * remove unused styles
* Fix scrollbar gutters on web (#1401)Paul Frazee2023-09-072-12/+12
| | | | | * Fix scrollbar gutters on web * Fix typecheck
* Update ProfileHeader.tsx (#1389)Minseo Lee2023-09-061-4/+4
|
* fix text color on waitlist join (#1387)Ansh2023-09-061-1/+1
|
* Update testsPaul Frazee2023-09-051-2/+2
|
* Fix thread positioning on load (#1385)Paul Frazee2023-09-051-4/+4
| | | | | * Fix minIndex for consistent positioning on thread view * Enable maintainVisibleContentPosition on android now that it's supported
* Upgrade to Expo 49 (#1331)Eric Bailey2023-09-0517-8/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0563-461/+762
| | | | | | | | | | | | | | | | | | | * 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-055-5/+5
| | | | | * Fix mismatching a11y label * Update all new post button labels to match
* Fix caret jumps for web composer (#1374)dan2023-09-051-5/+2
| | | | | * Fix caret jumps for web composer * Autofocus at the end on mount
* Improved mute alerting (#1355)Paul Frazee2023-09-014-6/+63
| | | | | | | * 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
* Sort thread replies by likes (#1356)Paul Frazee2023-09-011-1/+5
| | | | | * Sort replies by likes * Types fix
* refresh when empty (#1354)Ansh2023-08-311-0/+7
|
* show images in notification if post also has record embed (#1349)Samuel Newman2023-08-311-0/+4
|
* encode all unsafe characters in post text for translate URL (#1345)Eric Bailey2023-08-311-1/+3
|
* Fix 1338 mark notifications read with timeout and on app state change (#1340)Ansh2023-08-301-1/+14
| | | | | * mark notifications read with timeout and on app state change * fix type
* Fix 1304 refresh notifications when a notif is clicked or received (#1339)Ansh2023-08-302-6/+7
| | | | | | | | | * refresh notifications when a notif is clicked * make notification syncing smarter * allow enabled appview proxy on mobile * put back syncqueue code
* Fix #1328 fix emoji picker scroll on firefox and chrome (#1332)Ansh2023-08-301-16/+36
| | | | | | | | | * fix emoji picker scroll on firefox and chrome * click outside emoji picker to dismiss * dynamically position emoji picker * dynamically placing picker