about summary refs log tree commit diff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Release 1.94 (#6430)Paul Frazee2024-11-161-1/+1
| | | | | | | * Fix errors in hindi .po * Run intl extract * Update join count
* Email verification tweaks (date) (#6416)Hailey2024-11-161-2/+3
|
* Tweak email verification dialog (#6397)Hailey2024-11-151-2/+14
|
* Better error message (+ translations!) (#6349)Samuel Newman2024-11-151-4/+10
| | | | | * clean network errors for new common eerors * translate errors
* [Statsig] Remove client downsampling (#6153)Hailey2024-11-152-54/+18
|
* Add email verification prompts throughout the app (#6174)Hailey2024-11-121-0/+19
|
* [Lightbox] Always rely on Expo Image cache (#6189)dan2024-11-091-93/+0
| | | | | | | | | | | | | | | * Inline useImageAspectRatio * Switch AutoSizedImage to read dimensions from Expo Image cache * Include thumbnail dimensions in image data * Use dims from Expo Image cache in lightbox * Fix wiring so all thumbnails get dimensions * Fix type * Oops
* [Settings] Ungate, and remove old settings (#6144)Samuel Newman2024-11-081-14/+0
| | | | | | | | | | | | | | | | | | | * move export car dialog * move disableemail2fadialog * delete old settings screens * fix type error * Update Navigation.tsx * Delete AccountDropdownBtn.tsx * remove old change handle modal * delete add app paswords * forgot to actually delete the change handle modal
* fix prop names (#6130)Hailey2024-11-062-6/+6
|
* Fix thin red circle around Like button on iOS (#6123)khuddite2024-11-062-13/+9
| | | | | | | | | | | * remove animation UI from DOM tree when not animated * improve naming of vars * more var changes --------- Co-authored-by: Hailey <me@haileyok.com>
* use megabytes rather than mebibytes for video limit (#6117)Samuel Newman2024-11-051-1/+1
|
* Fix start value in youtube embed by removing "s" from url param (#6113)Lars Kappert2024-11-051-2/+5
|
* Unify dimensions cache between lightbox and feed (#6047)dan2024-11-041-21/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove useless memo * Use explicit values when useImageAspectRatio doesn't know It's not very good that you can't distingiush when we haven't loaded vs when we're certain. This shifts the burden of dealing with missing values to the caller. * Check cache early * Handle src change * Rewrite image-sizes.fetch to avoid mixing async styles * Make image-sizes LRU Code is copy paste from useImageDimensions.ts * Rm unused fields * Derive aspect on the fly * Factor useImageDimensions out of useImageAspectRatio * Move useImageDimensions into image-sizes * Make lightbox use the same cache * Wire up known dimensions to the lightbox * Handle division by zero in the hook * Use safe aspect for lightbox calculations
* Add dids for discover debug (#6063)Hailey2024-11-011-0/+8
| | | | | * add dids * keep is_internal
* Hook debugTopics to override X-Bsky-Topics (#6060)dan2024-11-011-1/+8
|
* [Statsig] Track threads (#6057)dan2024-11-011-0/+5
| | | | | * [Statsig] Send thread length * Split events
* Thread composer UI (#6050)dan2024-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Basic adding of posts * Switch active post on focus * Conditionally show plus button * Insert posts midthread * Track active/inactive post * Delete posts in a thread * Focus after deletion * Tweak empty post detection * Mix height for active only * Move toolbar with post on web * Fix footer positioning * Post All button * Fix reply to positioning * Improve memoization * Improve memoization for clearVideo * Remove unnecessary argument * Add some manual memoization to fix re-renders * Scroll to bottom on add new * Fix opacity on Android * Add backdrop * Fix videos * Check alt for video too * Clear pending publish on error * Fork alt message by type * Separate placeholder for next posts * Limit hitslop to avoid clashes
* Implement posting threads (#6049)dan2024-11-012-65/+166
| | | | | | | | | | | | | | | * Implement posting a thread Co-authored-by: Dan Abramov <dan.abramov@gmail.com> * Fix native build * Remove dependency on web crypto API * Fix unrelated TS error (wtf) --------- Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
* [Settings] Thread prefs revamp (#5772)Samuel Newman2024-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Sort imports (#6009)dan2024-10-2936-62/+71
| | | | | * Mark import sort/order/style rules as error * npm run lint -- --fix
* Settings revamp (#5745)Samuel Newman2024-10-292-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Refactor composer state for threads (#5945)dan2024-10-291-9/+14
| | | | | | | * Refactor composer state for threads * Remove unnecessary default case TS can see it's exhaustive.
* Release 1.93 (#5990)Paul Frazee2024-10-281-1/+1
| | | | | * Run intl:extract * Update joined_this_week
* Remove waterfalls from posting (#5931)dan2024-10-251-29/+36
| | | | | * Extract resolveRT, resolveReply * Parallelize waterfalls
* Make use of applyWrites when publishing posts (#5809)Mary2024-10-241-53/+66
| | | | | | | | | * make use of applywrites * Explicit $type --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Include hydrated responses for other records (#5646)dan2024-10-241-29/+29
| | | | | | | * Include hydrated responses for other records * Rename meta -> view This is actually all it is now.
* Refactor post meta to return PostView (#5645)dan2024-10-241-12/+3
|
* tweak downsample rate to 1% (#5836)Hailey2024-10-181-2/+2
| | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* Apply labelers and handle language for PWI home (#5816)Eric Bailey2024-10-171-4/+20
|
* Disable feed debug gate due to EME (#5815)Hailey2024-10-172-2/+3
|
* Add graphic media self label (#5758)Hailey2024-10-161-0/+8
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Edit profile dialog ALF refresh (#5633)Samuel Newman2024-10-151-0/+14
|
* Translate strings in `src/lib/api/index.ts` (#5750)surfdude292024-10-141-9/+10
|
* Translate some missing strings via global i18n instance (#5740)Samuel Newman2024-10-142-5/+9
|
* Present in-app browser as sheet (#5718)Samuel Newman2024-10-111-0/+54
| | | | | | | * use page sheet presentation * move to its own file rather than sitting in prefs * whoops, missed one
* Protect against zero-width chars in display name sanitation (see ↵Paul Frazee2024-10-111-1/+1
| | | | https://github.com/bluesky-social/social-app/pull/5703#issuecomment-2407459187) (#5729)
* Move intent handler to a child of `InnerApp` (#5695)Hailey2024-10-111-1/+10
|
* Sanitize multiple spaces in display names to protect against some security ↵Paul Frazee2024-10-101-1/+6
| | | | concerns (#5703)
* dont scale in pressable w/ reduced motion (#5697)Hailey2024-10-101-1/+4
|
* Update joined_this_weekPaul Frazee2024-10-091-1/+1
|
* Move Dialogs to Radix (#5648)Samuel Newman2024-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use Redix FocusTrap (#5638) * Use Redix FocusTrap * force resolutions on radix libs * add focus guards * use @radix-ui/dismissable-layer for escape handling * fix banner menu keypress by using `Pressable` * add menu in dialog example to storybook --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com> * use DismissableLayer/FocusScope for composer * fix storybook dialog * thread Portal through Prompt and avatar/banner * fix dialog style regression * remove tamagui --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Nicer error message for disabled quotes (#5644)dan2024-10-081-1/+1
|
* Move remaining composer state into reducer (#5623)dan2024-10-074-283/+92
| | | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Fetch link previews from RQ (#5608)dan2024-10-072-15/+81
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* Use composer state as source of truth for embeds/links on publish (#5606)dan2024-10-072-55/+261
| | | | | Co-authored-by: Mary <git@mary.my.id> Co-authored-by: Hailey <me@haileyok.com>
* [Video] Add dimension info to share intent (#5639)Hailey2024-10-071-1/+2
|
* Swipeable to delete chat, custom swipeable (#5614)Hailey2024-10-072-0/+415
| | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* Add alt text limit to image dialog (#5611)Eric Bailey2024-10-051-1/+1
| | | | | | | | | | | | | | | | | | | * Add alt text limit to image dialog * GIF alt text too * Fix * tweaks, save alt on dialog dismiss * simplify close behavior * use state in gif alt * state --------- Co-authored-by: Hailey <me@haileyok.com>
* [Sheets] [Pt. 1] Root PR (#5557)Hailey2024-10-042-2/+2
| | | | | | | Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: dan <dan.abramov@gmail.com> Co-authored-by: Hailey <me@haileyok.com>
* Make composer reducer source of truth for images/video when publishing (#5595)dan2024-10-051-17/+15
| | | | | * Move caption and altText state into video reducer * Make composer state source of truth for images and video publish