about summary refs log tree commit diff
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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>
* allow emoji in link facets (#6039)Samuel Newman2024-10-311-1/+2
|
* [Settings] Thread prefs revamp (#5772)Samuel Newman2024-10-313-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * thread preferences screen * minor tweaks * more spacing * replace gate with IS_INTERNAL * [Settings] Following feed prefs revamp (#5773) * gated new settings screen * Following feed prefs * Update src/screens/Settings/FollowingFeedPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/screens/Settings/FollowingFeedPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * replace pref following feed gate * Update src/screens/Settings/FollowingFeedPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * use "Experimental" as the header --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] External media prefs revamp (#5774) * gated new settings screen * external media prefs revamp * replace gate ext media embeds * Update src/screens/Settings/ExternalMediaPreferences.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add imports for translation * alternate list style on native --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] Languages revamp (partial) (#5775) * language settings (lazy restyle) * replace gate * fix text determining flex space * [Settings] App passwords revamp (#5777) * rework app passwords screen * Apply surfdude's copy changes Thanks @surfdude29! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * format * replace gate * use admonition for input error and animate --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] Change handle dialog (#5781) * new change handle dialog * animations native only * overflow hidden on togglebutton animation * add a low-contrast border * extract out copybutton * finish change handle dialog * invalidate query on success * web fixes * error message for rate limit exceeded * typo * em dash! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * another em dash Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * set maxwidth of suffixtext * Copy tweak Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * [Settings] Notifs settings revamp (#5884) * rename, move, and restyle notif settings * bold "experimental:" --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* add Thai Language translation support (#5879)Nawapon Boonjua2024-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | | * add Thai Language support * Update lingui.config.js * Update dates.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts * Update messages.po --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* fix warning on labeler profile: emoji detected but emoji not enabled (#6011)Ben Harris2024-10-301-3/+5
|
* Sort imports (#6009)dan2024-10-2919-49/+50
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* width full on text container (#6007)Samuel Newman2024-10-291-1/+1
|
* Add subtle web hover to interactive rows (#5989)dan2024-10-292-0/+51
| | | | | | | * Add subtle web hover to interactive rows * Adjust numbers * Ignore touch devices
* Settings revamp (#5745)Samuel Newman2024-10-2919-17/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * start building storybook * add title * add some styles * try out new icons * more settings list component parts * make text do the spacing * clean up storybook * gated new settings screen * switch account * add current profile * use Layout.Screen * Layout.Header and Layout.Content * translate helpdesk text thanks @surfdude29! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add account settings * undo changes to export car dialog * privacy and security screen * Translate protect account stuff Thanks @surfdude29! Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * content and media settings * about settings * 2fa copy Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * a11y and appearance * use new components for appearance settings * redesign accessibility settings * Update ContentAndMediaSettings.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * add divider * remove a11y and appearance middleman screen * fix web settingslist styles * new SettingsList.Group component * explain how portal magic works * hide pwioptout in old location * Update Settings.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * replace gate with `IS_INTERNAL` * add IS_INTERNAL to app-info.web * fix profile area growing * add close button to switch account --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Fix double padding in `Dialog.InnerFlatList` on web (#5986)Samuel Newman2024-10-293-12/+19
| | | | | * remove extra padding on web * pass prop
* Add Hungarian localisation (#5902)smileyhead2024-10-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add 'hu' to lingui.config.js * Add 'hu' to dates.ts * Add 'hu' to helpers.ts * Add 'hu' to i18n.ts * Add 'hu' to i18n.web.ts * Add 'hu' to languages.ts * Create messages.po * Update messages.po * Update messages.po * Update messages.po * Minor fixes Reworded some things in the hashtag context menu. * Some tweaks Shortened Media tab title Added spaces to the short timestamps (mp, p, ó, n, hó) * Hopefully fix the removing of plural strings * Update Hungarian localisation * Fixed some things * Fixed typo * Further small fixes * Update src/locale/locales/hu/messages.po Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/locale/locales/hu/messages.po Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/locale/locales/hu/messages.po Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/locale/locales/hu/messages.po Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/locale/locales/hu/messages.po Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> * Update src/locale/locales/hu/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Update src/locale/locales/hu/messages.po Co-authored-by: Frudrax Cheng <i@cynosura.one> * Apply fixes after proofreading session --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Frudrax Cheng <i@cynosura.one>
* Add `en-GB` localisation (#5952)surfdude292024-10-281-0/+2
| | | | | | | | | | | | | | | | | | | * Create blank en-GB/messages.po * localise certain strings for en-GB * Update lingui.config.js * Update dates.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts * Update i18n.ts
* Limit number of lines in starter pack card (#5973)Hailey2024-10-281-2/+8
|
* flex_1 text container (#5891)Samuel Newman2024-10-281-1/+1
|
* Display non-post embeds in composer preview (#5647)dan2024-10-241-1/+0
| | | | | | | | | | | | | * Display non-post embeds in composer preview * Remove starter pack special case from ExternalLinkEmbed This should not be needed because starter pack composer preview now goes through the record preview codepath, just like in the feed/post view. * Hide record ext links if quote is present * Align remove buttons Remove the implicit top padding in record embeds and make it conditional, which is similar to how we treat external link embeds. This makes the X button appear in the same place for record embeds as with links.
* Fix NavSignupCard on web (#5813)Eric Bailey2024-10-212-4/+5
|
* Fix dragging up in flat list dialogs on Android (#5817)Hailey2024-10-171-11/+32
|
* Remove BaseLink component (#5682)Eric Bailey2024-10-173-53/+7
| | | | | | | | | * Remove BaseLink component * Fix StarterPackCard Link component * Rm flex_1 causing overflow * Make newskie usage full width
* Logged out improvments (#5771)Samuel Newman2024-10-171-6/+16
| | | | | | | | | | | | | | | | | * fetch all accounts in one go * delete unused component * add safeareaview to logged out layout * add safe area insets to LoggedOut view * add safe area insets to the error boundary * sanitize displaynames/handles * use button for X * increase spacing
* Add graphic media self label (#5758)Hailey2024-10-161-3/+65
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Composer - Self label dialog ALF rewrite (#4354)Samuel Newman2024-10-162-2/+2
|
* Edit profile dialog ALF refresh (#5633)Samuel Newman2024-10-155-22/+117
|
* Remove top padding from shell, move down into individual screens (#5548)Samuel Newman2024-10-141-0/+41
|
* Use admonitions in settings screens (#5741)Samuel Newman2024-10-141-5/+8
|