about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* simplify date picker theme (#6926)Samuel Newman2024-12-031-1/+1
|
* 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)
* Add new languages to `CFBundleLocalizations` key (#6835)surfdude292024-12-021-1/+1
| | | | | | | | | | | | | | | * 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`
* fix iOS language picker style in dark mode (#6804)Foster2024-11-281-0/+1
| | | Co-authored-by: skipness <ckhf@proton.me>
* Fix ast (#6774)Frudrax Cheng2024-11-271-2/+1
|
* Add "ast" locale support (#6411)Softastur2024-11-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 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-252-7/+2
| | | This reverts commit ac5b2cf31f2bb45f1bf8a180705249d3cce8017d.
* Ensure react-native-keyboard-controller enabled state doesn't get ↵Samuel Newman2024-11-251-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* fix: keyboard handler memoization (#6719)Kirill Zyusko2024-11-251-5/+8
| | | | | * 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>
* Merge branch 'main' into mainPaul Frazee2024-11-2363-664/+542
|\
| * Added Galician language localization (#6463)xurxogp2024-11-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update languages.ts added galician language * Update i18n.web.ts added import of galician translations file * Update i18n.ts added galician language * Update helpers.ts added galician to sanitizeLanguage function * galician messages First commit * Second commit * Third commit * fourth commit * fifth commit * Update lingui.config.js change to make available Galician language * galician translation by Carlos Vieito and Alexandre Espinosa --------- Co-authored-by: Alexandre Espinosa Menor <aemenor@gmail.com>
| * Vietnamese Localization (Continued from #2524) (#6564)Quang Phan2024-11-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Vietnamese localization * Complete Vietnamese Translations * Add date localization for Vietnamese * Fix typos and wording in Vietnamese translation * Update Vietnamese translation * Add @vinhphm to Vietnamese translator list --------- Co-authored-by: CromNguyen <nguyenthietmanh98@gmail.com>
| * Fix jumpy web animation for modal backdrop (#6673)dan2024-11-232-18/+29
| |
| * derive bottom padding from header height for profiles list (#6152)Khuddite2024-11-231-1/+1
| |
| * fix: nothing selected bug (#6260)Luke Lucas2024-11-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | * fix: nothing selected bug * fix: consolidate related logic for audience settings * simplify --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
| * Pass referrer on native (with an opt out) (#6648)dan2024-11-222-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pass referer on native * Add ChainLink3 * Add an opt out for sending utm * Remove noreferrer on links We do have <meta name="referrer" content="origin-when-cross-origin"> in HTML, should be sufficient. * Narrow down the condition slightly --------- Co-authored-by: Eric Bailey <git@esb.lol>
| * Simplify play icon shadow (#6641)dan2024-11-221-26/+10
| | | | | | | | | | * Simplify play icon shadow * Make it consistent across themes
| * Reduce <Text> nesting (#6615)dan2024-11-213-20/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move isOnlyEmoji out of RichText To fix Fast Refresh. * Make renderChildrenWithEmoji work with any children * Always go through UITextView for consistency It already contains the `selectable` and `iOS` checks inside. * Move `emoji` check into `renderChildrenWithEmoji` * Remove unnecessary intermediate UITextView nodes * Make childHasEmoji check recursive It didn't handle nested arrays etc correctly before. * Remove the "children must be string" limitation Should not be necessary now that we correctly handle nested arrays etc. * Fix unnecessary regex reallocation This doesn't have a global flag so it's okay to reuse. * Remove unnecessary <Text> wrapper in RichText
| * Fix Fast Refresh in <Text> files (#6609)dan2024-11-211-134/+11
| | | | | | | | | | | | | | | | | | | | | | * Separate non-components from components * Mark old Text as deprecated * Move emoji utilities to non-React file * Fix type * Fix import
| * Don't underline links on native hover (#6588)dan2024-11-212-23/+13
| |
| * fix change handle dialog on android (#6563)Samuel Newman2024-11-201-5/+3
| |
| * Implement Polish translation (#6283)axiand2024-11-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial polish translation sweep * rewrite feeds page flavor text * bring up to date with dev branch, revisit some strings * redoing some more... * bring up to date * rm dead strings, try out a different phrasing for threaded mode str prev translation was nonsensical - we're already calling threads "wątki". let's try "recursive tree" instead to describe what threaded mode does * tweaks here and there * more tweaks. sign translation file TL note: trying a new space-saving translation for send via direct message, old one made the context menu stretch * space-saving translations for profile tabs * up to date * tl latest changes * some small fixes * few more tweaks around profile editing strings * i dislike gendered languages * yet more tweaks * Update dates.ts * Review suggestions (1) * tiny fixes * Review suggestions (2) * Review suggestions (3) * Review suggestions (4) * "Anuluj wyciszenie" * A few new strings * Remove dead strings again * Review suggestions (5) * te -> to --------- Co-authored-by: Frudrax Cheng <i@cynosura.one>
| * Fix post interaction selectable text being cut off (#6527)Evan2024-11-191-2/+2
| |
| * Remove aria-pressed attr from button. Closes #6325 (#6402)Paul Coroneos2024-11-191-1/+0
| |
| * Leverage jsx transform to remove unnecessary react imports and update eslint ↵Paul Coroneos2024-11-1930-31/+7
| | | | | | | | | | | | | | | | | | config (#6516) * update eslint config with jsx runtime * leverage jsx transform to remove unnecessary react imports and update eslint config * run yarn lint --fix to remove eslint disables related to react/prop-types that is now disabled
| * Fix TagMenu initial render perf (#6483)dan2024-11-182-151/+165
| | | | | | | | | | | | | | * Split tag menu dialog content * Log the actual error please * Fix it on native
| * Optimize ContentHider (#6501)dan2024-11-181-9/+31
| |
| * Use compiler-safe Reanimated get/set APIs (#6391)dan2024-11-176-46/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Convert lightbox to get/set * Work around software-mansion/react-native-reanimated#6613 * Use get/set in more places * Port MainScrollProvider to get/set * Port more to get/set * Port composer to get/set * Remove unnecessary thread hops in composer * Port more things to get/set * Convert more to get/set, remove redundant runOnJS * Convert remaining cases to get/set
| * Remove typography NUX and consistently call upsertProfile (#6424)dan2024-11-162-133/+10
| | | | | | | | | | | | | | | | | | * Make profile upsert unconditional * Remove Typography NUX * Early exit NUXes on unknown creation date * Clarify via comment
| * use IAB for translate (#6421)Samuel Newman2024-11-161-1/+1
| |
| * Tweak email verification dialog (#6397)Hailey2024-11-151-22/+45
| |
| * [Statsig] Remove client downsampling (#6153)Hailey2024-11-152-4/+4
| |
| * NewChatDialog: remove extra padding on web (#6333)Bartosz Kaszubowski2024-11-141-1/+2
| |
| * Make `ToggleButton` full width everywhere (#6302)Eric Bailey2024-11-131-5/+4
| | | | | | | | | | | | | | | | | | * Fix 'Show badge' button label being cut off (#6215) * Make em full width --------- Co-authored-by: Khuddite <62555977+khuddite@users.noreply.github.com>
| * Add backdated post indicator (#6156)Samuel Newman2024-11-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add backdate indicator * pill style * add indexedAt * update indicator - new copy, date in pill * complete alf migration * accidentally committed the missing indexedAt *again*! * copy tweak
| * Add email verification prompts throughout the app (#6174)Hailey2024-11-124-39/+126
| |
| * add subtle web hover to "View full thread" (#6256)Samuel Newman2024-11-122-6/+10
| |
* | Allow use of Dutch translations [ER].Guido Leenders2024-11-121-0/+2
|/
* Update error component of lists to take up the full height instead of its ↵Khuddite2024-11-111-1/+1
| | | | | content height (#6236) Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* deleted account (#6224)Minseo Lee2024-11-111-1/+1
|
* fix error screen (#6235)Samuel Newman2024-11-111-1/+1
|
* [Settings] Improved account switcher (#6131)Samuel Newman2024-11-082-0/+80
| | | | | | | | | | | | | | | * move out avatarstack to own file * improved settings switch * prefix with @ * fix types * up chevron * respect reduced motion setting * respect reduced motion in other place
* Improve chat performance (#6157)Samuel Newman2024-11-081-1/+2
| | | | | * fix worklet funcs on gestures * don't access .value in render
* Update Reanimated (#6126)dan2024-11-051-1/+1
| | | | | | | | | * Update Reanimated * Fix types * Fix Reanimated value access warnings * Fix types
* Fixed issue 5845 (#6085)Rohit Bansal2024-11-051-1/+1
|
* fix(a11y): avoid plain `div`s as button or tabs (#6084)Cynthia2024-11-033-2/+8
| | | | Co-authored-by: Hailey <me@haileyok.com>