about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix web build (#7069)dan2024-12-124-88/+105
| | | | | | | * Fix web build * Fix circular deps * Hoist log functions
* configure the bitdrift Capture SDK (#6979)Snow Pettersen2024-12-123-0/+32
| | | | | | | | | | | | | | | * configure bitdrift Capture SDK * remove console log * use the new url * add patch to fix devtool interaction * update patches * fix patch * add BITDRIFT_API_KEY to .env.example
* Cache Reanimated worklets (#7068)dan2024-12-121-19/+6
| | | | | | | * Undo perf hackfix * Bump Reanimated to include https://github.com/software-mansion/react-native-reanimated/pull/6758 * Bump to 3.17.0-nightly-20241211-17e89ca24
* refine plural marks (#7065)Minseo Lee2024-12-128-54/+83
|
* Update PostRepostedBy.tsx (#7064)Frudrax Cheng2024-12-121-1/+1
|
* Nicer app icon screen (#6972)Samuel Newman2024-12-1110-270/+478
| | | | | | | | | | | | | | | | | | | | | | | | * wip exploration * list format instead of grid * fix normalising default name * adjust margins * Rework the app icon link * Decrease app icon size * Adjust some spacing * Move some things around to fix web errors * Fix pathname --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Point "Continue thread" at last shown post (#7060)dan2024-12-111-3/+4
|
* More exact counts (#7059)Samuel Newman2024-12-116-33/+86
| | | | | | | | | * post liked by * rm unnecessary layout.center * do post quotes/reposts * set height of header to prevent layout shifts
* Followers/following exact count (#7057)Samuel Newman2024-12-115-70/+114
| | | | | | | | | * followers exact count in heading * exact count for following * move files to new dir * use <Plural>
* Merge pull request #7058 from bluesky-social/fix-profile-empty-space-nobiodan2024-12-112-4/+4
|\
| * Reduce excessive empty space on profile with no bioDan Abramov2024-12-112-4/+4
| |
* | Remove rounding mode hack (#7055)Samuel Newman2024-12-112-135/+3
|/ | | | | | | | | | | * bump formatjs and remove hack * maybe fix tests? * Revert "maybe fix tests?" This reverts commit f1b448e5b8f7ee2bf70967a631308c226c10be80. * rm test
* Fix composer shortcut detaching a reply (#7041)dan2024-12-101-1/+7
|
* Font loading improvements (#6993)Barry Pollard2024-12-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * Font loading improvements * Reconvert with missing files * Update bskyweb/templates/base.html Co-authored-by: Rick Viscomi <rviscomi@users.noreply.github.com> * Update bskyweb/templates/base.html Co-authored-by: Rick Viscomi <rviscomi@users.noreply.github.com> * Run web-build to update hashes * Revert Android to otf * Use Inter woff2 files --------- Co-authored-by: Rick Viscomi <rviscomi@users.noreply.github.com>
* LoginForm: enable autocomplete on 2FA code field (#7019)rcombs2024-12-101-1/+1
| | | This should (fingers crossed) work in Safari, at least.
* fix: typo in filename list-converations (#7036)Renan Mav2024-12-1013-13/+13
|
* Disambiguate feed component naming (#7040)dan2024-12-1014-33/+33
| | | | | * Rename posts/Feed* -> posts/PostFeed* * Rename notifications/Feed* -> notifications/NotificationFeed*
* Refactor sidebar (#6971)Eric Bailey2024-12-1010-226/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor RightNav (cherry picked from commit 96bb02acfd2d7452df18a0e7410e6a7169a583ed) * Better gutter handling * Clean up styles * Memoize breakpoints * Format * Comment * Loosen spacing, handle overflow, smaller text to match prod * Fix circular imports on native * Return 0 instead of undefined for easier calculations * Re-assign * Fix * Port over fix from subs/base * Space out right nav feeds, widen sidebar to match prod * Fix lost padding on home header * Fix perf by not actually linking to new URL * Remove underline on focus * Foramt --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Limit feed prefetching to native (#7038)dan2024-12-101-1/+2
|
* Fix drawer swipe (#7007)dan2024-12-106-38/+65
| | | | | | | | | | | | | | | | | | | * Fix drawer swipe * Remove existing setDrawerSwipeDisabled management This is already pretty error-prone. And with tracking whether we're idle it's going to get more complicated. Let's pause and think. * Move setDrawerSwipeDisabled logic into Pager * Remove win/2 threshold It feels super arbitrary and breaks muscle memory. If the gesture is reliable, we shouldn't need it. * Maybe work around iOS freeze * Tweak gestures, add comments * Tune gestures
* Add `isSelfHosted` to `SessionAccount` (#7028)Eric Bailey2024-12-093-0/+34
| | | | | * Add isSelfHosted to SessionAccount * Update snaps
* Add back button to desktop threads (#7010)Eric Bailey2024-12-081-3/+2
|
* Revert "[Video] Revert safari hackfix (#5367)" (#7001)dan2024-12-071-0/+7
| | | This reverts commit 94e7bfbe40ba6766361caaba99feff74a187613a.
* Fix squashed content on mod screens (#7004)Eric Bailey2024-12-073-2/+5
| | | | | * Fix squashed content on mod screens * Fix lint
* [ELI5] Change feed page copy (#6932)Samuel Newman2024-12-072-3/+4
|
* Immediately parse pre-filled links in composer state (#6974)Eric Bailey2024-12-063-5/+75
| | | | | | | * Immediately parse pre-filled links in composer state * Add hack to fix PasteInput height bug * Parse out ext links separately from post links
* Add useFormatCurrency hook (#6978)Eric Bailey2024-12-061-0/+302
|
* Remove icon (#6994)dan2024-12-061-6/+0
| | | Co-authored-by: Eric Bailey <git@esb.lol>
* clean rn 0.76 upgrade (#6887)Hailey2024-12-0612-41/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package upgrades * upgrade system ui * update patches * rename patch * rm * use .set/.set * resolve yarnlock * fix accidentally removed package * fix use permissions hook * fix some type errors * type fixes * more tweaking * clean * Discard changes to src/screens/Onboarding/StepProfile/index.tsx * oops * fix splash * use ios/android in config * Fix tests * add back patch * add to rn patch * fullscreen? * Revert "add to rn patch" This reverts commit 4716d2c643a29fc77b871ca8555d8d78cb4ac427. * try this * test with revert * test * maybe this * fix config * Bump @react-native-picker/picker * Bump some packages * Rm unused * Update lockfile * Rename expo-notifications+0.29.8.patch.md to expo-notifications+0.29.10.patch.md * Update react-native+0.76.3.patch.md * Update react-native+0.76.3.patch.md * Inline splash configs Jumping around the file is annoying and makes it harder to understand how this is structured. * Start fixing Android splash * Downgrade compressor This version isn't building for me due to https://github.com/numandev1/react-native-compressor/issues/322. * Make Android splash empty for now * Work around a bug * Bump the compressor * Bump again * Include splash fixes * Try updating * No custom Android splash * Revert to using icons * welp * Fix sizes * Make sizing work * Bump size --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Trim back prefs exposure in NUXs, make naming more friendly (#6980)Eric Bailey2024-12-062-24/+48
|
* [Layout] Base (#6907)Eric Bailey2024-12-0584-2016/+1702
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add common gutter styles as hook * Add computed scrollbar gutter CSS vars * Add new layout components * Replace layout components in settings screens * Remove old back button * Invert web border logic for easier migration * Clean up Slot API * Port over FF handling of scrollbar offset * Trade boilerplate for ease of use * Limit to one line * Allow two lines, fix wrapping * Fix alignment * sticky headers * set max with on header and center * [Layout] Notifications Header (#6910) * Replace notifications screen header * fix cropped indicator --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Replace Hashtag header (#6928) * [Layout] ChatList header (#6929) * Replace ChatList header * update chat settings as well --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * Add web borders to Chat settings * Remove unused var * Move ChatList header outside center * Replace empty chat layout * fix breakpoints * [Layout] Scrollbar gutters (#6908) * Fix sidebar alignment * Make sure scrollbars don't hide * Gift left nav more space * Use stable one-edge, update logic in RightNav * Ope * Increase width * Reset * Add transform to sidebars * Remove bg in sidebars * Handle shifts in layout components * Replace scroll-removal handling * Make react-remove-scroll an explicit dep * Remove unused script * use correct scroll insets (#6950) * [Layout] Feeds headers (#6913) * Replace ViewHeader internals, duplicate old ViewHeader * Replace Feeds header * Replace SavedFeeds header * Visual alignment * Uglier but clear * Use old ViewHeader for SavedFeeds * use Layout.Center instead of Layout.Content * use left-aligned header for feed edit * delete unused old view header --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * [Layout] Every other screen (#6953) * attempt to fix double borders on every other screen * delete ListHeaderDesktop * delete `SimpleViewHeader` and fix screens (#6956) * Make Layout.Center not full height * Refactor List to use Layout.Center, remove built-in borders * Fix Home screen * Refactor PagerWithHeader to use Layout components * Replace components in ProfileFeed and ProfileList * Borders on Profile * Search screen replacements * use new header for profile subpage header (#6958) * Search AutocompleteResults * use new header for starter pack wizard (#6957) * Fix post thread * Enable borders by default * Moderation muted and blocked accounts * Fix scrollbar offset on Labeler * Remove ScrollView from Moderation * Remove ScrollView from Deactivated * Remove ScrollView from onboarding * Remove ScrollView from SignupQueued * Mark deprecations * fix lint * Fix double borders on profile load * Remove unneeded CenteredView from noty Feed * Remove double Center layout on Notifications screen * Remove double Center layout on ChatList screen * Handle scrollbar offset in chat * Use new atom for other scrollbar offsets * Remove borders from old views * Better doc * Remove temp migration prop * Fix new atom usage on native * Clean up Hashtag screen * Layout docs * Clarify usage in Pager * Handle nested offset contexts * Clean up Layout * fix feeds page * asymmetric header on native (#6969) * Reusable header const * Fix up home header * Add back button to convo * Add hitslop to header buttons * Comment * Better handling on native for new atom * Format * Fix nested flatlist on mod screens * Use react-remove-scroll-bar directly * Fix notification count overflow on web * Clarify doc --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Add some icons (#6976)Eric Bailey2024-12-055-0/+29
|
* adjust feed scroll bar top offset (#6940)Foster2024-12-041-1/+1
| | | Co-authored-by: skipness <ckhf@proton.me>
* simplify date picker theme (#6926)Samuel Newman2024-12-031-1/+1
|
* Add link-click metrics (#6934)Paul Frazee2024-12-032-0/+14
| | | | | * Add link-click metrics * Fix conditional
* ALF TabBar (#6924)Samuel Newman2024-12-032-32/+29
| | | | | * alf tabbar * reduce indicator height
* Update VideoClip icon - Fix pixel grid alignment (#6923)David Buchanan2024-12-031-1/+1
| | | | | * Update VideoClip.tsx * minify path
* Fix title/buttons in date picker not being visible on Android in dark mode ↵Ryan McLeod2024-12-031-0/+3
| | | | (#6880)
* Fix scroll gesture alignment (#6898)dan2024-12-031-11/+11
|
* [Nicer Tabs] New native pager (#6868)dan2024-12-036-85/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove tab bar autoscroll This will be replaced by a different mechanism. * Track pager drag gesture in a worklet * Track pager state change in a worklet * Track offset relative to current page * Sync scroll to swipe * Extract TabBarItem * Sync scroll to swipe properly * Implement all interactions * Clarify more hacks * Simplify the implementation I was trying to be too smart and this was causing the current page event to lag behind if you continuously drag. Better to let the library do its job. * Interpolate the indicator * Fix an infinite swipe loop * Add TODO * Animate header color * Respect initial page * Keep layouts in a shared value * Fix profile and types * Fast path for initial styles * Scroll to initial * Factor out a helper * Fix positioning * Scroll into view on tap if needed * Divide free space proportionally * Scroll into view more aggressively * Fix corner case * Ignore spurious event on iOS * Simplify the condition Due to RN onLayout event ordering, we know that by now we'll have container and content sizes already. * Change boolean state to enum * Better syncing heuristic * Rm extra return
* [Nicer Tabs] Fork TabBar, simplify Pager (#6762)dan2024-12-038-199/+216
| | | | | | | | | | | | | | | | | | | | | * Fork TabBar.web.tsx * Trim dead code from both forks * Remove onPageSelecting event It's difficult to tell what exactly it's supposed to represent, and in practice it's not really used aside from logging. Let's rip it out for now to keep other changes simpler. * Remove early onPageSelected call It was added to try to do some work eagerly when we're sure which way the scroll is snapping. This is not necessarily a good idea though. It schedules a potentially expensive re-render right during the deceleration animation, which is not great. Whatever we're optimizing there, we should optimize smarter (e.g. prewarm just the network call). The other thing it used to help with is triggering the pager header autoscroll earlier. But we're going to rewrite that part differently anyway so that's not relevant either. * Prune more dead code from the native version We'll have to revisit this when adding tablet support but for now I'd prefer to remove a codepath that is not being tested or ever run. * Use regular ScrollView on native The Draggable thing was needed for web-only behavior so we can drop it in the native fork.
* Prefetch adjacent Home pages (#6904)dan2024-12-033-5/+10
|
* remove masked view dependency (#6886)Hailey2024-12-021-63/+22
|
* Add new languages to `CFBundleLocalizations` key (#6835)surfdude292024-12-022-3/+3
| | | | | | | | | | | | | | | * Order tweak in lingui.config.js * Add new languages to `CFBundleLocalizations` key * Order tweak in dates.ts * hyphen to en-dash * change two `zh` tags to use script rather than region * `zh_HK` ➡️ `yue-Hant` * `pt` ➡️ `pt-BR`
* "Contain" images with missing dimensions instead of cropping them (#6828)dan2024-11-283-20/+35
| | | | | | | * Show unknown aspect as "contain" for autosize * Fix a flash of wrong position when opening in lightbox * Fix last frame flash on Android
* Fix stuck lightbox (#6816)dan2024-11-282-3/+40
| | | | | | | * Fix lightbox getting stuck by fixing rAF order If you spam opening lightbox too fast, the effect that calls rAF will clean up and set up again midflight. Unfortunately, due to rAF order being unreliable, it may fire in reverse order, causing "open, open, close" instead of "open, close, open", so it would get stuck closed. This fixes the rAF order. * Don't allow opening another lightbox while it's open
* ensure black root view on iOS (#6813)Samuel Newman2024-11-281-2/+7
|
* fix iOS language picker style in dark mode (#6804)Foster2024-11-283-0/+4
| | | Co-authored-by: skipness <ckhf@proton.me>
* Fix web build by removing app icon settings (#6784)dan2024-11-272-1/+5
|
* Fix gap between Write Your Reply and bottom bar on web (#6783)dan2024-11-271-1/+1
| | | | | * Fix gap between Write Your Reply and bottom bar on web * rm log