caelum0x 8d66b80ccb
Some checks failed
audit / audit (push) Has been cancelled
ci / cargo test (abacus) (push) Has been cancelled
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
ci / node suites (push) Has been cancelled
fix(rithub): UI round 2 -- file-list overflow, Explore featured section, mcp-docs home link
rithub-beat-github-2026-11-18.md UI findings, round 2 (live at rithub.dev):

1. Mobile repo file-list commit-message overflow (finding #1, re-opened).
   The 2026-11-18 mobile fix forced .repo-file-item out of stock Gitea's
   display:contents, which pulled it out of #repo-files-table's own
   3-column CSS grid -- each row was then auto-placed as one opaque grid
   item sized by its own min-content width (measured live: 911.625px on
   a 390px screen), blowing commit-message text off the right edge with
   no ellipsis. Fixed by collapsing #repo-files-table to a single grid
   column at this breakpoint AND adding min-width:0 to the grid/flex
   items so the existing overflow:hidden;text-overflow:ellipsis on
   .repo-file-cell.message can actually do its job. Verified live:
   item width 372px, message cell 348px, body.scrollWidth == innerWidth
   (390), ellipsis renders correctly across every row including nested
   paths.

2. Explore leads with real public repos (finding #3, the "not done" half
   from the prior pass). New templates/explore/repos.tmpl (override) +
   explore/featured.tmpl: a curated "Featured" section above the raw
   bulk list, shown on the default unfiltered first page only. The 8
   pinned repos were chosen via a real Jev (TypeSafe System One) score
   per repo ("how strong a flagship example is this to showcase" --
   stars are 0 across the board this early, so quality-of-description
   was the real signal); apps/gitea/scripts/explore-featured-refresh.sh
   (installed on railyard-box's crontab, daily) refreshes each pinned
   repo's live stars/description/push-time and re-sorts by that --
   static template content, no engine/Go code change, self-gated restart
   (load1<6, no other build) matching oauth-auto-import.sh's pattern.

3. Home page links to /mcp-docs ("Works with your coding agent") -- a
   single tertiary text link under the two hero CTAs, not a third pill
   button.

4. Full 390px/1440px sweep of home, explore, repo, issues, pulls, login,
   signup, mcp-docs: no console errors, no horizontal page overflow,
   no regressions.

Screenshots: gtm/qa-shots/rithub-ui-round2-2026-11-19/. 3 container
restarts this pass (gated on load1<6 + no build each time): 1 shipped
the intended fix set, 2 were corrective after live DOM/CSS-cascade
inspection (CDP `inspect`) proved the first file-list fix attempt hadn't
actually closed the overflow -- documented honestly in the CSS comments
and plans/railyard.md rather than claiming success from the screenshot
alone.
2026-11-19 02:20:41 +03:00

43 lines
7.8 KiB
Cheetah

{{/*
Rithub (Railyard) addition, UI round 2 (2026-11-19): curated "real
public repos" section at the top of Explore, above the raw bulk list
(rithub-beat-github-2026-11-18.md finding #3). Included from the
overridden templates/explore/repos.tmpl only when there is no active
search keyword.
Everything between the RITHUB-FEATURED markers below is plain static
HTML (no Go template logic), generated and rewritten in place by
apps/gitea/scripts/explore-featured-refresh.sh (cron). The pinned repo
list was chosen once via a real Jev (TypeSafe System One) quality
judgment per repo, not a nightly heuristic (stars are 0 across the
board this early, so that signal alone can't rank anything yet) -- the
script's job on each run is to refresh that fixed set's live
stars/description/push-time and re-sort by that. Gitea runs
RUN_MODE=prod, which caches custom templates in memory for the life of
the process, so a refresh only takes effect after the next
`docker compose restart gitea` -- the refresh script gates its own
restart the same way apps/gitea/scripts/oauth-auto-import.sh does
(load1 < 6, no other build running) before restarting.
This is a template/static-content workaround, not a real ranking
change to Explore's own sort (that would need a Go-level change to the
explore query, already flagged as not-done in the 2026-11-18 UI-fix
pass notes in plans/railyard.md).
*/}}
<div class="rithub-explore-featured">
<div class="rithub-explore-featured-label">Featured</div>
<div class="rithub-explore-featured-grid">
<!-- RITHUB-FEATURED:BEGIN -->
<a class="rithub-featured-card" href="/rithub/railyard"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">rithub/railyard</span></div><div class="rithub-featured-card-desc">Rithub itself: code hosting, Rit (a Git-compatible engine in Rust), Ritgram and Toolgate. Apache-2.0.</div></a>
<a class="rithub-featured-card" href="/scribase/schemaproof"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">scribase/schemaproof</span></div><div class="rithub-featured-card-desc">Live-database-aware Postgres migration safety checker for Supabase</div></a>
<a class="rithub-featured-card" href="/caelum0x/menivor"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">caelum0x/menivor</span></div><div class="rithub-featured-card-desc">Menivor — open-source core of menivor.com: turn a screen recording into a captioned UGC/avatar video. FastAPI pipeline + Next.js/Expo/Rust clients. Built on Mon…</div></a>
<a class="rithub-featured-card" href="/scribase/scribase-hermes-plugin"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">scribase/scribase-hermes-plugin</span></div><div class="rithub-featured-card-desc">Hermes Agent plugin for Scribase: provision Postgres projects, lint migrations for real safety issues, run read-only queries, and create/promote/discard real co…</div></a>
<a class="rithub-featured-card" href="/scribase/scribase-mail-studio"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">scribase/scribase-mail-studio</span></div><div class="rithub-featured-card-desc">Self-hosted Resend alternative: Resend-compatible email API, dashboard, domains, webhooks, broadcasts and inbound. Switch with one line. AGPL fork of useSend.</div></a>
<a class="rithub-featured-card" href="/rithub/rit"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">rithub/rit</span></div><div class="rithub-featured-card-desc">rit — a library-first Rust implementation of git&#x27;s object/authoring model. Library, not the production forge engine.</div></a>
<a class="rithub-featured-card" href="/caelum0x/qie-forge"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">caelum0x/qie-forge</span></div><div class="rithub-featured-card-desc">Clean-room AMM + lending vault, SDK, and CLI for the QIE blockchain — built for QIE Mainnet Hackathon 3.0</div></a>
<a class="rithub-featured-card" href="/caelum0x/umpirix"><div class="rithub-featured-card-head"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.5 2.5 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.5 2.5 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.25.25 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg><span class="rithub-featured-card-name">caelum0x/umpirix</span></div><div class="rithub-featured-card-desc">Open-source typed decision service: in-process embedding engine, JS/Python SDKs, self-hostable</div></a>
<!-- RITHUB-FEATURED:END -->
</div>
</div>
<div class="divider"></div>