| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* Measure image on press
* Pass dimensions to the lightbox component
|
|
|
|
|
| |
* Mark import sort/order/style rules as error
* npm run lint -- --fix
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* Include hydrated responses for other records
* Rename meta -> view
This is actually all it is now.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Ensure all configured appLabelers are applied for logged out users
* Formatting
|
| |
|
| |
|
|
|
|
|
|
|
| |
* use page sheet presentation
* move to its own file rather than sitting in prefs
* whoops, missed one
|
|
|
|
|
|
|
|
|
| |
* move composer shortcut hook
* put intent handler in same place
* dont allow shortcuts if no session
* revert change
|
|
|
|
|
|
|
| |
* Invert filtering logic
* Rename
* Rm comment
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Hailey <me@haileyok.com>
|
|
|
|
|
|
|
| |
* Filter mute words from search
* Filter mute words from notifications
* Do no filter search if using from filter
|
|
|
|
|
| |
Co-authored-by: Mary <git@mary.my.id>
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
* Move composer reducers together
* videoUploadState -> videoState
* Inline videoDispatch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move video state into composer state
* Represent video as embed
This is slightly broken. In particular, we can't remove video yet because there's no action that results in video embed being removed.
* Properly represent video as embed
This aligns the video state lifetime with the embed lifetime. Video can now be properly added and removed.
* Disable Add Video when we have images
* Ignore empty image pick
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unused video field
* Stop exposing video dispatch
* Move cancellation out of the reducer
* Make useUploadStatusQuery controlled by jobId
* Rename SetStatus to SetProcessing
This action only has one callsite and it's always passing "processing".
* Move jobId into video reducer state
* Make cancellation scoped
* Inline useCompressVideoMutation
* Move processVideo down the file
* Extract getErrorMessage
* useServiceAuthToken -> getServiceAuthToken
* useVideoAgent -> createVideoAgent
* useVideoUploadLimits -> getVideoUploadLimits
* useUploadVideoMutation -> uploadVideo
* Use async/await in processVideo
* Inline onVideoCompressed into processVideo
* Use async/await for uploadVideo
* Factor out error messages
* Guard dispatch with signal
This lets us remove the scattered signal checks around dispatch.
* Move job polling out of RQ
* Handle poll failures
* Remove unnecessary guards
* Slightly more accurate condition
* Move initVideoUri handling out of the hook
* Remove dead argument
It wasn't being used before either.
* Remove unused detailed status
This isn't being used because we're only respecting that state variable when isProcessing=true, but isProcessing is always false during video upload.
If we want to re-add this later, it should really just be derived from the reducer state.
* Harden the video reducer
* Tie all spawned work to a signal
* Preserve asset/media for nicer error state
* Rename actions to match states
* Inline useUploadVideo
This abstraction is getting in the way of some future work.
* Move MIME check to the only place that handles it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add to dropdown menu
* use normal profile mutation hook
* add pin as reason
* request pins
* shadow update
* rm logs
* get prev pinned from getProfile
* fix toasts
* invalidate after appview ready
* don't mutate params
* rm log
* use checkCommited rather than manual whenAppViewReady
* move to mutation
* even more optimistic optimistic update
* allow pins in `posts_and_author_threads`
* update @atproto/api
* add reasonPin type
* fix strange type error in unrelated query
* another missing type
|
| |
|
|
|
|
| |
(#5509)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Add gate to increase post-feed page size
* Exclude Discover
* Remove exception
* Clarify intent
* Let gate cache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* grow banner when overscrolling
* add blurview
* make backdrop blur as it scrolls
* add activity indicator
* use rotated spinner instead of arrow
* persist position of back button
* make back button prettier
* make blur less jarring
* Unify effects
* Tweak impl
* determine if should animate based on scroll amount
* sign comment
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
| |
* new image editor
* Rm react-avatar-editor
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* revamp alt dialog
* readd the limit check
don't trim with enforceLen, it ruins copy-pasting long text and it's overall annoying behavior
* Update src/view/com/composer/photos/ImageAltTextDialog.tsx
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
---------
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
* mobx removal take 2
* Actually rm mobx
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Set up additional mod authorities
* Filter out non-configurable mod authorities
* WIP
* Working
* Cleanup, add mod
* Cleanup
* Add more debug logs
* Tweak logs
* Filter out imperative labels from typeaheads
* Filter hideable content from notifications
* Add api
* Fall back in dev
* Remove space
* Use prod endpoint
* Add tiny notice
* Add notice to labeler card, show all labelers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add some comments
* Decouple language settings
* Normalize on read/write
* Refactor
* Support device locale on app startup
* Cleanup, port to web
* Clean up comments
* Comment
* Try not to mutate
* Protect util handling, update test
* Dedupe array values
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add fontScale, gate it, fix some computes
* Add inter, integrate
* Clean up
* Apply to old Text component
* Use numeric weight
* Cleanup
* Clean up appearance settings
* Global tracking
* Fix regular italic variant
* Refactor settings and fontScale values
* Remove flags
* Get rid of lower weight font usage
* Remove gate from settings
* Refactor appearance settings for reuse
* Add neue type nux
* Update defaults
* Load fonts, add fallback families
* Load fonts via plugin in production
* Fixes
* Fix for web
* Nits
---------
Co-authored-by: Hailey <me@haileyok.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pre-fill alt text with 10-million card post (#5377)
* Clean up type
* Tweak alt copy
* Add pt translation, fix typo
---------
Co-authored-by: Calvin <clavin@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Don't open composer via hotkey if other dialog is already open
* Check for lightbox also
* Check for drawer
|
|
|
|
|
|
|
|
|
|
|
|
| |
* feat: Add hook on web app to open composer with 'N' keyboard shortcut
* Extract, don't fire open composer if already open
* Ignore interactive elements
---------
Co-authored-by: João Gabriel <joaog@nocorp.io>
Co-authored-by: Hailey <me@haileyok.com>
|
|
|
|
|
| |
* Apply Following settings to Lists
* Remove dead code
|
|\ |
|