| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* Update Reanimated
* Fix types
* Fix Reanimated value access warnings
* Fix types
|
|
|
|
|
|
|
|
|
| |
* improve accessibility for bottom bar tabs
* improve a11y for left nav
* group main content into <main>
* use flex_1 rather than absoluteFill
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor lightbox footer to render prop
* Unify lightbox types
* Unindent
* Refactor LightboxFooter props
* Move LightboxFooter into the implementation file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Co-authored-by: Hailey <me@haileyok.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* feat add focus_visible atom
* feat use focus_visible atom in Button.tsx style
* Tweak
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* Fix close button overlap
* Make footer actually sticky on web
* Special toast for thread
* Only stick to bottom for last post
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* add dids
* keep is_internal
|
| |
|
|
|
|
|
| |
* [Statsig] Send thread length
* Split events
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* tweak 2fa presentation
* tweak dialog text style
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 f435d1e7ed083fac9d57cc1548b31c692d633c49, reversing
changes made to dae2aee6765c7983dfdd93599e388afc55e53843.
* Reapply "Merge remote-tracking branch 'upstream/main' into Improve-notification-localization"
This reverts commit c93ac1904852e0e96b9df14b168a7063ca36465d.
* Update ThreadgateBtn.tsx
* Rm import edits for now
* Cleanups
---------
Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
|
|
|
|
|
| |
* Measure image on press
* Pass dimensions to the lightbox component
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
|
|
|
|
| |
* Mark import sort/order/style rules as error
* npm run lint -- --fix
|
| |
|
|
|
|
|
|
|
| |
* Add subtle web hover to interactive rows
* Adjust numbers
* Ignore touch devices
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
* Plumb thumbUri down to the lightbox
* Remove onLoad tracking from lightbox
* Hook up placeholder URI to the image
* Fix NaN causing crash on double tap while offline
* Protect against NaNs in the future
|
|
|
|
|
| |
* Refactor lightbox model to plain object
* Rename name to type
|
| |
|
|
|
|
|
| |
* Check all posts in a thread
* Use thread for more checks
|
|
|
|
|
|
|
| |
* Simplify onPressCancel dismiss condition
* Remove alias variables
* Move grapheme length calculation to reducer
|
|
|
|
|
|
|
| |
* Refactor composer state for threads
* Remove unnecessary default case
TS can see it's exhaustive.
|
|
|
|
|
|
|
| |
* Disable Post button when empty
* Use regular disabled button
* Disable post on video error until cleared
|
| |
|
|
|
|
|
| |
* remove auto level capping
* flush first fragment on loop
|
|
|
|
|
| |
* remove extra padding on web
* pass prop
|
| |
|