Samuel Newman
f9994b2b42
bigger numbers
2024-11-05 19:04:47 +00:00
Samuel Newman
0fcae6d8df
missing ts-ignore
2024-11-05 18:45:14 +00:00
Samuel Newman
408a1fd50d
add ts-ignore for ci
2024-11-05 18:15:37 +00:00
Samuel Newman
a3f268a022
add another number to storybook
2024-11-05 17:58:26 +00:00
Samuel Newman
38e95a76ce
hack in truncation rounding mode support
2024-11-05 17:50:29 +00:00
Samuel Newman
707e12bd9a
add test to storybook
2024-11-05 17:47:45 +00:00
Samuel Newman
f932c9e5a9
update formatjs to see if that fixes it
2024-11-05 17:47:32 +00:00
Samuel Newman
b806d150de
remove ts-expect-error
2024-11-05 16:43:32 +00:00
Rohit Bansal
9772116343
Fixed issue 5845 ( #6085 )
2024-11-05 16:27:30 +00:00
Samuel Newman
b0b00c9c7a
use megabytes rather than mebibytes for video limit ( #6117 )
2024-11-05 16:00:30 +00:00
Bartosz Kaszubowski
a78179aab3
StarterPack: fix "Follow All" processing layout ( #6111 )
2024-11-05 15:14:15 +00:00
Lars Kappert
f8fb6cb9b3
Fix start value in youtube embed by removing "s" from url param ( #6113 )
2024-11-05 12:43:20 +00:00
Samuel Newman
ab4e36115b
return to using whitespace ( #6109 )
2024-11-04 21:47:35 +00:00
Samuel Newman
86840f2785
translate sort replies ( #6110 )
2024-11-04 21:47:21 +00:00
dan
26c48373e2
Refactor lightbox prop drilling ( #6073 )
...
* Refactor lightbox footer to render prop
* Unify lightbox types
* Unindent
* Refactor LightboxFooter props
* Move LightboxFooter into the implementation file
2024-11-04 21:31:21 +00:00
dan
174988bc5a
Unify dimensions cache between lightbox and feed ( #6047 )
...
* 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
2024-11-04 21:28:27 +00:00
Cynthia
ac9d910e1e
fix(a11y): avoid plain divs as button or tabs ( #6084 )
...
Co-authored-by: Hailey <me@haileyok.com >
2024-11-03 09:18:27 -08:00
Yaël Guilloux
c580f20b53
Improve focus-visible outlines in navigation ( #6061 )
...
* feat add focus_visible atom
* feat use focus_visible atom in Button.tsx style
* Tweak
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com >
2024-11-01 23:18:19 +00:00
dan
7111e38cd4
Revert "React compiler beta and reenable rule ( #5898 )" ( #6071 )
...
This reverts commit 1fc684aaef .
2024-11-01 22:17:05 +00:00
dan
3eb531b000
Composer UI fixes ( #6065 )
...
* Fix close button overlap
* Make footer actually sticky on web
* Special toast for thread
* Only stick to bottom for last post
2024-11-01 22:02:39 +00:00
dan
46004fb2d0
Fix duplicates in thread composer ( #6068 )
2024-11-01 21:55:37 +00:00
Samuel Newman
d33ce1dea1
change language for autoplay setting ( #6069 )
2024-11-01 21:10:25 +00:00
dan
ff01ffe35f
Fix some images getting squished on Android due to EXIF tags ( #6058 )
2024-11-01 19:25:31 +00:00
Ben Harris
5c5fc3230b
fix text clipping around external embed's domain ( #6012 )
2024-11-01 12:15:44 -07:00
dan
2398b84d17
Change post Follow button color on toggle ( #6059 )
2024-11-01 19:09:28 +00:00
Hailey
fb4210b36c
Add dids for discover debug ( #6063 )
...
* add dids
* keep is_internal
2024-11-01 19:09:13 +00:00
dan
8d5b551ed6
Hook debugTopics to override X-Bsky-Topics ( #6060 )
2024-11-01 18:28:54 +00:00
dan
125ac5049a
[Statsig] Track threads ( #6057 )
...
* [Statsig] Send thread length
* Split events
2024-11-01 16:21:18 +00:00
dan
1c2186bc03
Fix character count with intent ( #6056 )
2024-11-01 16:21:10 +00:00
dan
21b82fa19c
Fixes for thread composer on Android ( #6045 )
...
* Extract function to read contentHeight later
* Remove autoscroll to bottom
We're going to implement this in the UI layer instead.
* Remove worklet from non-worklets to avoid confusion
* Rename and invert hasScrolled* variables
Their naming was too ambiguous (they used to represent "has scrolled _away_ from X"). I inverted them and clarified the naming. No functional changes.
* This should not be necessary
It's already called not just from UI thread. And it only sets shared values, which can be done from either thread.
* Make hasScrolledTo* derived values
It wasn't always correct to derive them manually because reading from .value is stale on JS thread. We could fix that by using the local variables but it makes more conceptualy sense to treat these as derived anyway.
* Reimplement autoscroll-to-bottom in UI layer
Doing it here ensures we also do it when you add an image at the end of the thread. Otherwise it's very confusing where it went.
* Use fancy ScrollView
This seems to fix ScrollView getting stuck after inserting images at the thread end on Android.
* More aggressive scroll-to-bottom
* "Fix" cursor getting stuck on Android
* Revert "Use fancy ScrollView"
This reverts commit 04e34a54e3b75f8a77de5062bff5fe6e76420bbb.
2024-11-01 03:47:53 +00:00
dan
7a08d61d88
Thread composer UI ( #6050 )
...
* 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
2024-11-01 03:45:55 +00:00
dan
01c9ac0e13
Implement posting threads ( #6049 )
...
* 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 >
2024-11-01 03:42:38 +00:00
dan
4c31403330
Check video state for the entire thread ( #5957 )
...
* Switch to using post ID for post actions
* Pass post-bound dispatch to ComposerPost
* Check video state for entire thread
* Always bind post actions to an ID
* Rename variable for consistency
* Fix clashing keys
2024-11-01 03:37:30 +00:00
charlotte ✨
68bb451051
Link to app.bsky.actor.profile record in link rel=alternate ( #6046 )
...
This disambiguates ATProto identities from Bluesky profiles
2024-11-01 01:56:25 +00:00
Tom Sherman
193954d401
Add AT URIs as alternate links ( #6033 )
2024-11-01 00:31:29 +00:00
Samuel Newman
1b69ecb57a
Tweak 2FA enabled state ( #6043 )
...
* tweak 2fa presentation
* tweak dialog text style
2024-11-01 00:30:42 +00:00
Samuel Newman
3b68dfeb3b
allow emoji in link facets ( #6039 )
2024-10-31 21:51:58 +00:00
devin ivy
d5f8d8224f
bskyweb: fix post text expansion ( #6016 )
...
Co-authored-by: Hailey <me@haileyok.com >
2024-10-31 14:24:56 -07:00
Samuel Newman
aa6aad652e
[Settings] Thread prefs revamp ( #5772 )
...
* 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 >
2024-10-31 20:45:34 +00:00
dan
d85dcc3dd0
Explicitly mark lightbox worklets ( #6038 )
2024-10-31 17:34:33 +00:00
Eric Bailey
41452de165
Improve notification localization ( #5550 )
...
* Improve notification localization (#3911 )
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update PostMeta.tsx
* Update RightNav.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* a11y
* Update FeedItem.tsx
* Update PostThreadItem.tsx
* Update PostThreadItem.tsx
* revert
* Update FeedItem.tsx
* Update FeedItem.tsx
* Update FeedItem.tsx
* Revert "Merge remote-tracking branch 'upstream/main' into Improve-notification-localization"
This reverts commit f435d1e7ed , reversing
changes made to dae2aee676 .
* Reapply "Merge remote-tracking branch 'upstream/main' into Improve-notification-localization"
This reverts commit c93ac19048 .
* Update ThreadgateBtn.tsx
* Rm import edits for now
* Cleanups
---------
Co-authored-by: Minseo Lee <itoupluk427@gmail.com >
2024-10-31 12:11:54 -05:00
dan
1e32327de0
Measure tapped image coordinates before opening lightbox ( #6001 )
...
* Measure image on press
* Pass dimensions to the lightbox component
2024-10-31 16:24:15 +00:00
Eric Bailey
6f4703e814
Fix width handling for deactivated screen ( #5810 )
2024-10-31 10:42:35 -05:00
Nawapon Boonjua
9a82d20bd9
add Thai Language translation support ( #5879 )
...
* 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 >
2024-10-30 12:13:08 -07:00
Ben Harris
e9f6a8e58d
fix warning on labeler profile: emoji detected but emoji not enabled ( #6011 )
2024-10-30 12:14:34 +00:00
brian
21ba1fad55
Added blur to search's onPressMenu ( #6017 )
2024-10-30 12:13:52 +00:00
Samuel Newman
1fc684aaef
React compiler beta and reenable rule ( #5898 )
...
* use react compiler beta and reenable rule
* use react-compiler-runtime
* error -> warn
* move runtime out of dev deps
2024-10-30 02:47:39 +00:00
dan
a22685c345
Sort imports ( #6009 )
...
* Mark import sort/order/style rules as error
* npm run lint -- --fix
2024-10-29 23:02:48 +00:00
dan
0ae64a1e0a
Clarify build instructions ( #6008 )
...
To address http://localhost:19006/profile/danabra.mov/post/3l7opdotmoc2u .
2024-10-29 23:02:12 +00:00
Eric Bailey
aa07ed6174
Upgrade all tiptap deps to latest ( #5232 )
2024-10-29 22:31:01 +00:00