* add embed option to post dropdown menu
* put embed post button behind a gate
* increase line height in dialog
* add gate to gate name union
* hide embed button if PWI optout
* Ungate embed button
* Escape HTML, align implementations
* Make dialog conditionally rendered
* Memoize EmbedDialog
* Render dialog lazily
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add build output to web build
* simplify post-build step by copying everything at once
* make script that converts placeholder -> iframe
* dynamically resize iframe based on inner content
Requires the iframe content to `postMessage` its height back up to the parent
* add lang to embed
* svg explicit height -> viewBox
* add build output to web build
* simplify post-build step by copying everything at once
* attempt to fix go embed issue
* rm changes to bskyweb
* remove another bskyweb change
* embed landing page
* Drop xl breakpoint, too far down
* Remove pointer enter behavior
* Avoid button width jump
* Escape HTML
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add bskyembed vite app
* create build script (temp until embedr is ready)
* add build output to web build
* simplify post-build step by copying everything at once
* add simple post viewer
* add butterfly logo
* add vite plugin legacy
* proper error screen
* add image embed
* add url embed
* record embed + embedwithmedia
* add list+feed embeds
* add labeller embed (just to be safe)
* fix curatelist and modlist being the wrong way around
* Add PWI opt-out
* add favicon
* improve wording of PWI
* remove padding I used for screenshots
* add disabled state to embed
* improve PWI styles by adding an icon
* remove unused prop
* rm open proxy
* [Embeds] Add CTA and add general polish - input needed! (#3454)
* add CTA, colourful icons, and bigger logo
* make hover effect smaller + add to cta
* more responsive + preserve whitespace
* add trailing newsline to deploy script
* add repost indicator
* Make butterfly link to content
* More consistent error text wording
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Right now both light mode and dark mode get light navigation bar, and
looks jarring in the dark modes.
This commit applies a more appropriate color before the UI thread
runs (in app config), as well as applying the current theme background
after the UI shell is mounted.
This should fix#3332.
Co-authored-by: Hailey <me@haileyok.com>
* feat: initial user card hover
* feat: flesh it out some more
* fix: initialize middlewares once
* chore: remove floating-ui react-native
* chore: clean up
* Update moderation apis, fix lint
* Refactor profile hover card to alf
* Clean up
* Debounce, fix positioning when loading
* Fix going away
* Close on all link presses
* Tweak styles
* Disable on mobile web
* cleanup some of the changes pt. 1
* cleanup some of the changes pt. 2
* cleanup some of the changes pt. 3
* cleanup some of the changes pt. 4
* Re-revert files
* Fix handle presentation
* Don't follow yourself, silly
* Collapsed notifications group
* ProfileCard
* Tree view replies
* Suggested follows
* Fix hover-back-on-card edge case
* Moar
---------
Co-authored-by: Mary <git@mary.my.id>
Co-authored-by: Hailey <me@haileyok.com>
* Change occurrences of "likt" to "liked"
* Improve existing German translations
* Translate new strings for German translation
* Apply suggestions from code review
Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>
---------
Co-authored-by: Felix Siebeneicker <felix.siebeneicker@outlook.de>
* Enable home and feeds on the PWI
* Add global SigninDialog to drive useRequireAuth()
* Tweak desktop styles
* Make the logo in leftnav PWI a clickable home link
* Add label
* Improve dialog on web
* Fix query key
* Go to home after signout from settings screen
* Filter out feeds from the discover listing for logged out users which are known to break without auth
* Update profile header follow/subscribe to give signin prompt
* Show profile feeds tabs on pwi
* Add language selector to account creation footer and pwi left nav desktop
---------
Co-authored-by: dan <dan.abramov@gmail.com>
* fix qt jumps
Revert "don't show loading placeholder if we don't need it"
This reverts commit 406f801f217b2733fdd82732c0af74186fc47464.
don't show loading placeholder if we don't need it
add `likeCount` etal. to `embedViewRecordToPostView`
* lint
* Revert the shimmer change
---------
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* fix dampen logic
prevent ghost presses
handle refreshes, animations, and clamps
handle most cases for cancelling the scroll animation
handle animations
save point
simplify
remove unnecessary context
readme
apply offset on pan
find the RCTScrollView
send props, add native gesture recognizer
get the react tag
wrap the profile in context
create module
* fix swiping to go back
* remove debug
* use `findNodeHandle`
* create an expo module view
* port most of it to expo modules
* finish most of expomodules impl
* experiments
* remove refresh ability for now
* remove rn module
* changes
* cleanup a few issues
allow swipe back gesture
clean up types
always run animation if the final offset is < 0
separate logic
update patch readme
get the `RCTRefreshControl` working nicely
* gate new header
* organize
* improve android haptics, offer toggle for haptics
* update haptics.ts
* default to false
* simplify to `playHaptic`
* just leave them as `feedInfo`
* use a hook for `playHaptic`
* missed one of them
* add extra tab to search and translate tab names
* add feature gate
* flatten pager children
* Revert "flatten pager children"
This reverts commit 0050d42558c2c9b7bc4f2ad2df4ae2908fa26f65.
* have pager children as array
* move gate to custom hook
* bundle titles and pages together
* remove comment
* Fix a crash
* Use Views as children
---------
Co-authored-by: dan <dan.abramov@gmail.com>
* Italian Localization
New strings translated for v.1.75
* Update messages.po
Changed two expressions following the revision of @marcomaroni
* Update messages.po
Additional changes to text applied following the suggestion of external translators.
* Update messages.po
Deleted extra stop and corrected a gramatical error
* Update messages.po
Added a correction on string 414 which had a grammatical error.
* Update messages.po
String with Labeler updated.
* Update messages.po
Additional changes made to wordings in traduced strings
* Small logic cleanups
* Small logic cleanups (#3451)
* remove a few things
* oops
* stop swallowing the error
* queue callbacks
* oops
* log error if caught
* no need to be nullable
* move isClosing=true up
* reset `isClosing` and `closeCallbacks` on close completion and open
* run queued callbacks on `open` if there are any pending
* rm unnecessary ref and check
* ensure order of calls is always correct
* call `snapToIndex()` on open
* add tester to storybook
---------
Co-authored-by: Hailey <me@haileyok.com>