commits
Replace styled img with LazyLoadImage and enable a blur effect.
Add react-lazy-load-image-component and its types to dependencies.
Use stable composite keys for story items instead of uuid to avoid
unnecessary remounts
Check avatar existence before calling endsWith to avoid
runtime errors. Use v4() for story item keys instead of the
composite id/did/createdAt key.
Add ScrobbleEmbedPage and getScrobble xrpc, and register a new
/embed/:did/scrobble/:rkey route to render scrobbles with profile data.
Update Scrobble type (cover?, date) and change song/artist/album routes
to
use :did/:rkey params. Add various Tailwind utility classes and tweak
the
embed index layout to include a centered input. Add placeholder xrpc
stubs for album/artist/song.
Introduce RecentScrobblesEmbedPage: renders a table of recent
scrobbles with album art, links to rocksky.app, title/artist and
relative timestamps. Add Header's withoutRange prop (used by the
embed). Use dayjs with the relativeTime plugin for fromNow display and
uuid v4 for row keys. Normalize createdAt to ensure a trailing Z.
Render top tracks as a responsive table in the embed page, using v4
Link tracks and artists to rocksky; show album art with fallback UI
Update API call to include startDate/endDate using getLastDays(7)
Introduce Header to TopAlbums and TopTracks embeds. Render a table of
albums with artwork, artist links, and numeric ranks; use uuid v4 for
row keys. Send startDate/endDate from getLastDays(7) to the
getActorAlbums endpoint. Add small CSS utilities: .rounded-[5px] and
.opacity-60.
Add apps/embed: server-side rendered Hono + React embed app
using Bun. Includes Tailwind config and public styles, fonts and
logo, XRPC clients for profile/stats/genres/track, renderer,
routes, ProfileEmbedPage, tsconfig, package.json, lockfiles,
README, CLAUDE notes and .gitignore.
Remove axios from package.json and bun.lock. Simplify the OG API
fetch (remove custom headers) and log non-OK responses
(res.statusText and response body) before returning null.
Remove envalid.testOnly usage and provide concrete default values for
several environment variables (NODE_ENV, HOST, PORT, PUBLIC_URL,
NATS_URL, ANALYTICS, MUSICBRAINZ_URL, MEILISEARCH_URL) and drop the
unused import.
Upgrade and refactor OAuth client
Bump @atproto deps (jwk-jose, oauth-client-node). Extract OAuth
client and auth negotiation into dedicated modules and simplify
client.ts. Make app-proxy forward oauth-client-metadata.json and
jwks.json instead of serving hardcoded values. Add a Deno local
proxy script and task plus editor settings for local development.
Read prompt from the query and prefer it when redirecting from /loading,
redirecting to the API login with the prompt. Make handle and prompt
optional in route validation. Send only prompt in Main's loading URL
when present and rename onCreateAccount login action from
"create_account"
to "create"
Remove the login_hint query param when a prompt is requested and allow
onLogin to proceed with an empty handle if prompt is provided. This
supports prompt-based login flows without carrying a prefilled hint.
Support a "prompt" query param in /login and include it when
redirecting from the web client. Server uses a fallback handle when
prompt is present and forwards the prompt to the OAuth client. Remove
client-side identity resolver and oauth-browser-client usage and tidy
related dependencies in package.json and bun.lock.
Import NotNull from drizzle-orm and remove conditional checks
for profileRecord when setting avatar; set displayName to an empty
string by default.
Catch failures when retrieving app.bsky.actor.profile and return an
empty profileRecord so the actor flow doesn't throw. Use null/undefined
avatar values when no profile record exists. Add @atcute oauth and
identity-resolver dependencies and configure OAuth/identity resolver
(with DOH and DID resolvers) in the Main layout; update bun.lock.
Render ContentLoader placeholders during loading states.
Add isLoading prop to PopularSongs and import react-content-loader.
Add ScrobbleEmbedPage and getScrobble xrpc, and register a new
/embed/:did/scrobble/:rkey route to render scrobbles with profile data.
Update Scrobble type (cover?, date) and change song/artist/album routes
to
use :did/:rkey params. Add various Tailwind utility classes and tweak
the
embed index layout to include a centered input. Add placeholder xrpc
stubs for album/artist/song.
Introduce RecentScrobblesEmbedPage: renders a table of recent
scrobbles with album art, links to rocksky.app, title/artist and
relative timestamps. Add Header's withoutRange prop (used by the
embed). Use dayjs with the relativeTime plugin for fromNow display and
uuid v4 for row keys. Normalize createdAt to ensure a trailing Z.
Bump @atproto deps (jwk-jose, oauth-client-node). Extract OAuth
client and auth negotiation into dedicated modules and simplify
client.ts. Make app-proxy forward oauth-client-metadata.json and
jwks.json instead of serving hardcoded values. Add a Deno local
proxy script and task plus editor settings for local development.
Support a "prompt" query param in /login and include it when
redirecting from the web client. Server uses a fallback handle when
prompt is present and forwards the prompt to the OAuth client. Remove
client-side identity resolver and oauth-browser-client usage and tidy
related dependencies in package.json and bun.lock.
Catch failures when retrieving app.bsky.actor.profile and return an
empty profileRecord so the actor flow doesn't throw. Use null/undefined
avatar values when no profile record exists. Add @atcute oauth and
identity-resolver dependencies and configure OAuth/identity resolver
(with DOH and DID resolvers) in the Main layout; update bun.lock.