about summary refs log tree commit diff
path: root/bskyembed
Commit message (Collapse)AuthorAgeFilesLines
* Fix embeder (#6616)dan2024-11-211-2/+2
|
* fix: reused getRkey function in embed component (#6591)Aditya Mathur2024-11-211-3/+2
|
* Dedup zod versions in bskyembed/yarn.lock (#6610)jviide2024-11-211-6/+1
|
* Let Expo/Webpack handle CSS assets (#3942)Mary2024-09-231-1/+1
| | | | | | | | | | | | | * chore: handle built css assets * chore: let prettier handle css code * refactor: let webpack build css assets * chore: prettier on bskyembed * chore: touch empty.txt on css directory * chore: do the same to the workflow
* Add explicit non-handling of detached quotes in embed (#5156)Eric Bailey2024-09-201-0/+6
|
* make container relative (#5280)Samuel Newman2024-09-111-1/+1
|
* add video to embed (#5145)Samuel Newman2024-09-044-11/+48
|
* [Embeds] Format big numbers (#5087)Samuel Newman2024-09-026-11/+21
|
* [Embed] Starter pack embed embed (#4935)Samuel Newman2024-08-147-42/+133
| | | | | | | | | | | | | | | | | * 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-236-19/+37
| | | | | * 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>
* [Embeds] Add ref_url (#3533)Samuel Newman2024-04-132-1/+17
| | | | | | | | | | | | | | | * get outer location and pass in to the iframe * enable post.html in dev * only add ref_url if starts with http * Revert "enable post.html in dev" This reverts commit 6f224c6e2c4a016f7ea17ff998c4b4e56b9a4f9b. --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* add ref_src (#3532)Samuel Newman2024-04-132-2/+7
|
* [Embed] Don't reuse DOM when changing embed (#3530)dan2024-04-132-12/+43
| | | | | | | | | | | * Don't reuse DOM when changing embed * add skeleton loading state 💀 * autoselect text --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* More obvious click area (#3528)dan2024-04-131-8/+11
|
* add hideRecord prop (#3527)Samuel Newman2024-04-131-14/+20
|
* [Embeds] Tweak homepage styles (#3526)Samuel Newman2024-04-131-11/+11
| | | | | * tweak error styles * reduce error horizontal padding
* Moderate content in embeds (#3525)Hailey2024-04-133-17/+91
| | | | | | | | | | | | | | | | | | | | | | | * move info to its own file * Revert "move info to its own file" This reverts commit 1d45a2f4034f50cbe9cb25070f954042cdf9127a. * better way * all cases * pass labelInfo to ImageEmbed * blur avatars * add back as string * one more as string * external embed * add back as string again
* [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-1316-55/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [Embeds] Embed for single post (#3450)Samuel Newman2024-04-1320-1319/+2372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [Embeds] Create vite project and add to build pipeline (#3448)Samuel Newman2024-04-1210-0/+3892
* add bskyembed vite app * create build script (temp until embedr is ready)