about summary refs log tree commit diff
path: root/bskyembed/src/screens
Commit message (Collapse)AuthorAgeFilesLines
* Add verification checkmarks to `embed.bsky.app` (#8644)Samuel Newman2025-08-262-4/+11
| | | | | | | | | | | | | * update vite+typescript * update atproto api to latest, split out utils * add checkmark to post * add checkie to embed * revert change to example post * fix ext link color
* enhance(embed): add ability to pin color mode (#7186)Samuel Newman2025-03-052-21/+76
| | | | | | | | | | | | | | | | | | | | | | | | | * enhance(embed): add ability to pin color mode * fix: Move color mode dropdown to the root section * auto -> system * style tweaks * default to light theme * try and fix eslint * fix dropdown styles on other browsers * rm unnecessary eslintrc change * more explicit color mode select * make light explicit --------- Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
* feat(embed): Add support for dark mode (#6912)かっこかり2024-12-112-16/+24
| | | | | | | | | | | | | | | | | | | | | * feat(embed): Support dark mode (wip) * finishing up the implementation * fix tailwind color selector * tweak design * refactor: unify types * fix * fix english grammar * refactor: unify types * tweak design * remove the customization part
* [Embed] Starter pack embed embed (#4935)Samuel Newman2024-08-141-2/+2
| | | | | | | | | | | | | | | | | * update @atproto/api * add starter pack embed * update depreciated BskyAgent to AtpAgent * unrelated, but avoid direct import of type * nits * rm commented out code --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Embeds] stop adding tracking params to non-bsky.app links (#4167)Samuel Newman2024-05-232-4/+4
| | | | | * don't add tracking params on non-bsky.app links * validate facets
* rebased embedr (#3511)bnewbold2024-04-131-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * skeleton of embedr service, based on bskyweb * embedr container setup * builds on this branch * actual routes * fix embedr go:embed * tweak embedr dockerfile * progress on embedr * fix path params * tweaks to build process * try to get embedr dockerfile to install embed deps * build this branch * updates to match sam's output HTML * try to unbreak embedr dockerfile * small embedr tweak * docker hack * get embed.js copied over to embedr * don't x-frame-options for embed.bsky.app * bskyembed: remove a console.log * use html/template for golang snippet generation * simplify embedr API fetches * missing file * Rm console.log fully --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add ref_src (#3532)Samuel Newman2024-04-131-1/+1
|
* [Embed] Don't reuse DOM when changing embed (#3530)dan2024-04-131-9/+40
| | | | | | | | | | | * Don't reuse DOM when changing embed * add skeleton loading state 💀 * autoselect text --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* [Embeds] Tweak homepage styles (#3526)Samuel Newman2024-04-131-11/+11
| | | | | * tweak error styles * reduce error horizontal padding
* [Embeds] Show error for users with PWI flag on landing (#3524)dan2024-04-131-14/+11
|
* [Embeds] "Embed post" post dropdown option (#3513)Samuel Newman2024-04-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [Embeds] Embed subdomain landing page (#3501)Samuel Newman2024-04-132-0/+354
* 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>