The CSV summary row read as a floating card: rounded, a repeated "Avg"
label in every cell, distinct counts under text columns and an average
of the seed column.
- The footer follows the column grid: square edges, a 2px top rule and
the header's solid fill. It stays at the bottom of the scroll area,
which no longer has vertical padding, so no rows show past it; a
short table ends on it.
- One "Average" select in the first column (or the row-number column)
sets the aggregate for every numeric column. Cells show only the
value, right-aligned, semibold. A column can override it from its
menu, marked by a small label in its cell.
- Text, date and identifier columns are empty in the footer; their
distinct counts stay in the column menu.
- Identifiers (seed, id, run, fold, index, year by name, or small
consecutive whole numbers that repeat) are left out of the summary,
group averages and default charts. "Treat as number" in the column
menu brings one back (#table:num=seed).
- Markdown and notebook tables get the same footer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CSV/TSV viewer (explorer, gists, the author's preview) becomes an
analysis view that runs on the anonymized text already in the page:
click-to-sort headers (numbers, dates, natural text; stable, empty cells
last), a search box and per-column range or value filters, a summary row
(Average by default; Sum, Median, Min, Max, Count, Std dev) over the
filtered rows, group by with an aggregate, column stats with a histogram,
copy as CSV or Markdown and download of the current view, and a Chart
view (bar, line, scatter) drawn in inline SVG. The view lives in the URL
fragment (#table:group=model, #table-2:... for a gist file) so a link
can carry it; links without it open as before.
Markdown and notebook tables (pandas DataFrames) get sortable headers,
an optional summary row and "Open as table" for the full view.
Redaction slots keep rendering; sorting uses the XXXX-n text.
The 1 MB limit holds: rows render 200 at a time as one escaped HTML
string while aggregates, filters and charts use every row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review threads: one container in the code column with comments divided by
rules; replies keep the first comment's indent (no nested cards). The
Conversation tab uses the same thread.
A fully redacted author renders as its slot alone, centred with the avatar
and date. Slots outside rendered Markdown use the explorer's .redact-slot
at the running-text alignment (.04em). PR and gist tabs drop the 2px
transparent border so the shared #949 line spans the label and count and
sits on the bar's rule.
Gists: each file renders with the explorer's viewers (Markdown, code,
notebook, CSV/TSV table, image, SVG, PDF, video, audio, binary and
too-large states), with a Preview/Source toggle where they differ and
Raw, copy and download. Binary gist files are now stored as base64 and
passed through unchanged; images follow the "Display images" option.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Markdown: the "On this page" outline covers h1-h3, draws redaction slots
like the body, treats a lone opening h1 as the title, highlights the
section past the reading line, and shows its menu from 768 to 1199px too.
Gists: one card per file and an outline of the files (name, language,
lines) with Markdown headings nested under each file; sticky right rail
on wide screens, an "In this gist" menu on narrow ones.
Pull requests: header with state, anonymized author, branches and
commit count; Conversation, Commits and Files changed tabs; a file list
with +/- counts, per-file collapse, inline review threads, and redaction
slots in the title, body and diff. The server now stores the author,
branch names, commits (no SHAs) and review comments, grouped into
threads; older pull requests render without them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without owner access, a jsDelivr 404 was sent to the GitHub API probe,
which cannot run for the CDN token and failed with token_expired. The
path comes from the stored tree of a pinned commit, so a CDN 404 means
the repository is no longer public.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without owner access, a reviewer visit to an auto-update repository tried
a GitHub API refresh and failed with token_expired; it now skips the
refresh and serves the stored tree. jsDelivr returns Git LFS pointers,
which match their blob SHA, so they are now refused like on the raw path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"keeps all settings and the live preview visible in the split workspace"
clicked the first .reviewer-preview .rp-open. Since #950 the caption also
has a "Files" button with that class, which toggles the preview's file
tree, so preview-expanded never turned on. The UI behaves as intended; the
test now targets .rp-open.is-toggle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Instead of failing, repositories whose owners have no usable credential read
files from jsDelivr at the pinned commit, and archives from codeload. Neither
needs a token or spends GitHub API quota, and neither serves private content.
The shared cache still verifies every file against its Git blob SHA. Calls that
need the GitHub API (tree listing, refresh, metadata) still return
token_expired, and a jsDelivr read does not clear the owner's access alert.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When a repository, gist or pull request owner had no usable GitHub
credential, content was fetched with the operator's GITHUB_TOKEN. That token
shares one rate limit with its account, so these fallbacks exhausted it and
made unrelated requests wait and time out. Owners now get token_expired (401),
which already asks them to renew their connection, and the server no longer
reads GITHUB_TOKEN.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Billing API calls and Stripe return pages were logged as route "other", so
the purchase funnel could only be read from Stripe. Give them fixed labels in
the app, Nginx and the collector allowlist, and record the ?billing= outcome
(success, cancelled, portal) on edge requests. Only fixed values are kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The subscriptions list shows one row per sale, grouped with the same
stages as the summary: a paper pack is one "Paper pack" row with its
parts on a second line. Filters, state tabs, sort and pagination count
sales. A new "Started" filter matches the summary periods.
- N days now draw N buckets ending today (12 months: 52 weeks), and the
tiles count from the same start.
- One family vocabulary: Subscriptions, Repository add-ons, Conferences in
the legend, the By-plan grouping and the list.
- Cancelling folds into "Renews / ends", revocation into "Status"; rows
have one height. Names and repository ids use proportional figures,
since Inter's tabular figures widen hyphens.
- New Amount column (cached Stripe list price, per period for
subscriptions, once per pack). Chart tooltips show count and revenue
per family and the total per currency.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A repository URL that could not be read produced a pile of messages:
"Does not exist or is not accessible", a "Repository not listed?" label,
two access notes, a private-content warning, an empty branch/commit grid
with "The commit SHA is not valid", a toast, and an enabled-looking
"Create anonymous link" whose reason pointed to the preview.
- Under the URL, one error block per case (malformed URL, missing or no
access, organization restriction or SSO, already anonymized), naming
the source and giving its fix: Manage GitHub access and Try again.
The preview shows the same wording and actions; no toast.
- Drop "Repository not listed?". The landing picker gets a quiet
"Don't see your repository? Manage GitHub access" link instead.
- New anonymizations hide branch/commit, auto-update and the other
sections until the source loads. Edit mode keeps them editable.
- The publication warning shows only once a private source has loaded;
the repository metadata now includes GitHub's `private` flag.
- The primary button is disabled until the source loads, with a short
local reason, and the draft line waits for a loaded source.
- dev-mock: failing, slow, PR, gist and edit-mode fixtures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>