commits
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.
Remove @tanstack/react-router Link; use <a> with href derived from
row.uri (strip "app.rocksky." host). Uppercase table headers,
adjust opacity to 85%, and format listeners with thousand separators.
Switch top artists/tracks requests to charts XRPC endpoints
(/xrpc/app.rocksky.charts.getTopArtists and getTopTracks).
Display 7-day date range using dayjs. Add listeners column
and format listeners/scrobbles with numeral. Tweak table head/
body styles and vertical alignment.
Remove Effect Cache usage for getTopArtists/getTopTracks and call
retrieve directly. Replace SQL ANY(...) expressions with drizzle-orm
inArray for artist/track filters. Add consola.info statements to log
counts at key steps and remove now-unused imports (Cache, Duration, eq).
Add API and hook for fetching genre scrobbles charts and wire it into
ScrobblesAreaChart. Rename Track fields from snake_case to camelCase to
match app conventions and update mapping in useLibrary. Remove an
unnecessary any cast.
Add a "genre" query parameter to getScrobblesChart and propagate it
through
lexicon definitions, generated TypeScript types, XRPC handler logic, and
the
analytics backend (GetScrobblesPerDayParams).
Add infinite query hooks: useAlbumsByGenreInfiniteQuery,
useArtistsByGenreInfiniteQuery, and useTracksByGenreInfiniteQuery.
Switch pages to use useInfiniteQuery and an IntersectionObserver to
auto-fetch next pages and show a "Loading more..." indicator.
Add /genre/$id route and Genre page with Artists, Albums, and Tracks
tabs. Introduce use*ByGenre hooks and wire up get*ByGenre API calls.
Add Album and Track types. Replace tag spans with router Links so tags
navigate to genre pages and update related components and styles.
Propagate genre parameter through API lexicons, xrpc handlers, and
analytics
types/handlers/queries. Also apply generated formatting and type updates
across
lexicon code (quote/style changes)
Use the URI path with app.rocksky. prefix removed instead of
constructing a /{user}/scrobble/{id} URL via multiple splits.
Replace anchor tags with @tanstack/react-router Link for client-side
navigation. Add import and cast the 'to' prop to string to satisfy TS
typings.
Load recent artists (getLastDays(7)) to extract up to 10 unique tags and
render them as hashtags on the handle. Clear the range when no artists
are returned. Also increase StatefulPopover Body zIndex to 60 for proper
visibility.
Introduce a range state that's passed into useArtistsQuery. Clear the
range when the query returns no artists to avoid passing date arguments.
Remove explicit any in useLibrary artist mapping to use inferred Artist
types. Add mb-[35px] to profile tags container for extra bottom spacing.
Rename Artist.tags to genres and populate tags in responses from the
genres data; import omit to remove the genres property from returned
objects
Add optional tags array to artist lexicon, pkl and TypeScript defs.
Populate tags by querying artists.genres from the DB and merging
them into the analytics response in getActorArtists.
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.