about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* [Subs] Custom app icons (#6758)Samuel Newman2024-11-277-2/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * custom icons * rm default * clouds.jpg * use cross-platform fork * minor fixes for android * update dynamic icon lib * gate app icon settings behind discover debug dids * rename clouds * Bop it * Update default ios icon as well * Remove old icon * Update logo placement * update to latest expo-dynamic-app-icon * fix android icon sizes --------- Co-authored-by: Eric Bailey <git@esb.lol>
* css color transitions on left nav (#6768)Samuel Newman2024-11-271-0/+1
|
* Fix ast (#6774)Frudrax Cheng2024-11-272-3/+2
|
* Fix import sortPaul Frazee2024-11-261-1/+1
|
* Release 1.95 take2 (#6771)Paul Frazee2024-11-2629-6167/+7603
| | | | | * Run intl extract * Update join count
* Add "ast" locale support (#6411)Softastur2024-11-266-0/+8612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add "ast" locale support * Add "ast" locale support * Add "ast" locale support * Add "ast" locale support * Add "ast" locale support * Add "ast" locale support * Add "ast" translations This commit adds preliminary translation support for "ast" locale. Around 20% is translated. * Update "ast" locale translations * Update "ast" translations Fixes minor spelling mistakes and translates many strings more * Update messages.po With this commit we reach the 55% of strings translated after the last code sync --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add Aragonese language ('an') support and l10n (#6638)Juan Pablo Martínez2024-11-266-0/+8131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update languages.ts * Update i18n.web.ts * Update i18n.ts * Update helpers.ts * Create messages.po * Update lingui.config.js * Update dates.ts * Add files via upload * Update src/components/hooks/dates.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/components/hooks/dates.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update i18n.ts * Update messages.po * Update src/locale/i18n.ts Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Update catalan messages.po (#6682)Ivan Beà2024-11-261-43/+43
| | | | | | | | | | | | | | | | * Update catalan messages.po Back to 100% translated. Applied pending corrections by @darcio and @jordimas https://static.softcatala.org/quality/bluesky_social_app.html Please take a look at it @ivanbea @jordimas @darccio @surfdude29 @rortan134 @magarcia * Update catalan messages.po Change all "arxiu" to "fitxer" as suggested by @jordimas * Update catalan messages.po Suggestions by @aryiu
* Update Italian translations (#6717)Michele Locati2024-11-261-72/+72
|
* Informal tone and other improvements to Dutch (#6724)Guido Leenders2024-11-261-3555/+2891
| | | | | | | * Informal tone [ER]. * More improvements [ER]. * Improvements by Flitskikker [ER].
* Improve German translation (#6750)Nando2024-11-261-57/+57
|
* Update Chinese & Cantonese localization (#6754)Frudrax Cheng2024-11-263-696/+660
| | | | | | | | | | | | | | | | | | | | | | | | | * Update translates from crowdin * zh-CN: Re-translate 'Welcome, friend!' * zh-CN: Improved translations * Fix translate 'Threaded' * zh-CN: Improve spelling and grammar * Translated 'Allow quote posts' * zh-CN: Better translation of 'from' * zh-CN: Improved quantifiers * zh-CN: Improved translations * Update translates from crowdin * Update translates from crowdin * Improved translation
* Lightbox status bar behaviour (#6637)Samuel Newman2024-11-263-33/+58
| | | | | | | * lightbox status bar * add hideTransitionAnimation="slide" * move navigation bar logic to util
* Fix stutter when swiping feeds on Android (#6765)dan2024-11-262-13/+1
|
* Fix Android keyboard bug when opening a sheet (#6739)Samuel Newman2024-11-261-10/+14
| | | | | * reimplement KeyboardStickyView * fix missing arg
* Fix `<List>` types (#6756)Samuel Newman2024-11-2610-152/+168
| | | | | | | * fix List and ScrollView types * add comment * rm omitting ref
* focus search input on soft reset in mobile (#5732)rshigg2024-11-251-0/+1
|
* Edit string to avoid churning translations (#6737)dan2024-11-251-1/+1
|
* Revert "Pass referrer on native (with an opt out) (#6648)" (#6732)dan2024-11-258-124/+16
| | | This reverts commit ac5b2cf31f2bb45f1bf8a180705249d3cce8017d.
* Ensure react-native-keyboard-controller enabled state doesn't get ↵Samuel Newman2024-11-256-84/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | overwritten (#6727) * revert to prev state instead of false * add dep array * use ref counting approach * patch keyboard controller to allow changing the enabled prop * remove state from patch * change patched prop name * remove Math.max check, log if < 0 * use noop provider * rm patch, use `useRef` * Style nits * Rm on web --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Dismiss keyboard on drag in starter pack screens (#6537)Adam Rowe2024-11-252-0/+2
|
* fix: keyboard handler memoization (#6719)Kirill Zyusko2024-11-252-27/+33
| | | | | * fix: keyboard handler memoization * fix: return missing dependency
* Make quote post enabled switch label text static (#6720)Evan2024-11-251-5/+1
| | | | | | | | | | | * Make quote post enabled switch label text static * Update PostInteractionSettingsDialog.tsx * meh this is better --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Don't re-sort already fetched post thread items (#6698)dan2024-11-242-9/+52
| | | | | | | | | | | | | | | * Don't reorder already seen posts in PostThread * Add sorting by generation * Rip out stable order cache It doesn't make sense because sort() doesn't call the callback for all A/B pairs, and the server returning a different ordering will cause cache misses which means there'll be no stability anyway. * Make hotness deterministic per fetched at * Cache random scores while in thread * Reorder for clarity
* Fix glitches in gl/messages.po (#6702)surfdude292024-11-242-14/+6
| | | | | | | | | * fix glitches in gl/messages.po * Fix italian --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Fix format number polyfill for gl locale (#6680)dan2024-11-241-0/+3
|
* Run intl:extract (#6678)Paul Frazee2024-11-2326-18980/+20147
|
* Update src/locale/i18n.tsPaul Frazee2024-11-231-0/+1
|
* Merge branch 'main' into mainPaul Frazee2024-11-23316-36408/+69286
|\
| * Improve spanish translation of repost (#6395)Gonzalo Riestra2024-11-231-10/+10
| | | | | | Use "republicar" instead of "volver a publicar"