5 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 8d66b80ccb |
fix(rithub): UI round 2 -- file-list overflow, Explore featured section, mcp-docs home link
Some checks failed
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
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. |
|||
| ec98430794 |
feat(rit,gitea): zero-manual-step GitHub->Rithub import (login, CLI, agent) + orphan-comment migrate bug fix
Some checks failed
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
- apps/rit: `rit login` (PKCE OAuth2 against a new first-party "Rit CLI" Gitea app, loopback callback, no token paste) and `rit import github` (lists own repos+forks via `gh auth token`, smallest-first, skip- existing, mirror=true). Wired as a transparent credential fallback into remote.rs so push/fetch/pull/clone/issue/pr all work after one login. `rit push` also syncs a `github` remote if present via system git. - apps/gitea/scripts: oauth-auto-import.sh (path 1, cron-driven, triggered by Gitea's own GitHub OAuth login source, flock+load-gated) and rithub-agent.sh (path 3, plain-words trigger) share lib/bulk-migrate.sh as their core. - Found+fixed two real API bugs via live testing against rithub.dev (MigrateRepoOptions.service is a string not an int; a bash bool- interpolation bug), and one real production bug (orphan GitHub comments on a deleted issue/PR 500 Gitea's comment-import phase even though the repo+code already landed -- now detected and reported as a partial success with a note instead of a false failure). - Full real end-to-end verification with a throwaway mail.tm Rithub user, fully cleaned up after. 121/121 existing rit tests still pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
|||
| 5f5155b476 |
feat(rithub): one-time "import your first repo" onboarding mail for real 0-repo users
Some checks failed
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 (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
ci / node suites (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
Implements the honest, one-time nudge: finds real Rithub users (excludes caelum0x and every QA/mail.tm test account by email domain + username pattern) with 0 repos, and emails each one exactly once via the existing arhan@scribase.com SMTP mailbox (same lib/smtp.mjs nodemailer wrapper the outbound engine uses) — idempotent via a persisted sent-log on box1, real List-Unsubscribe mailto header, no campaign/suppression-list reuse (this is a transactional nudge to an existing registered user, not cold outreach). Dry-run and --live both verified against the real railyard-box user list: correctly finds exactly 1 real candidate (harish, 0 repos) and correctly excludes caelum0x + both QA accounts (rithubqatester1118, rj11186). --live correctly held rather than sending: arhan@scribase.com's daily cap was already exhausted (25/22) from unrelated outreach work earlier today. Ready to run once the cap resets. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
|||
| 765a46c6c2 |
feat(rithub): visible Sign up/Sign in header CTAs + GitHub/Google/Apple OAuth wiring
Owner complaint: "rithub still has no google github apple auth and create
account options" -- the header only showed an icon-only Register control
(no visible text), so a first-time visitor had no obvious way to create
an account.
- head_navbar.tmpl / theme-rithub.css: the signed-out Register/Sign In
controls now show real "Sign up"/"Sign in" text next to their icons
(filled accent pill for Sign up, plain icon+text for Sign in), as an
explicit exception to the icon-only nav chrome rule. Dropped the
mismatched localized aria-label in favor of matching English text/title
(the visible text is now the accessible name).
- Login ("Register now.") and sign-up ("Sign in now!") cross-links were
already present and styled bold -- verified live, left as-is.
- docker-compose.yml: [oauth2_client] ENABLE_AUTO_REGISTRATION=true,
ACCOUNT_LINKING=auto, so a first OAuth login creates/links the account
directly, no second form.
- New apps/gitea/scripts/add-rithub-oauth-sources.sh: runs on
railyard-box (no SSH hop), reads /etc/products/rithub-oauth.env
(root-only, owner-filled) and calls `gitea admin auth add-oauth` for
GitHub/Google/Apple (Apple's ES256 client-secret JWT minted from the
.p8 key via python3+PyJWT, already present on the box). Safe to re-run;
skips sources that already exist or have no credentials. Verified live
as a no-op with an empty env file.
- rithub-oauth.env.example documents the exact env keys; a real (empty)
copy was created at /etc/products/rithub-oauth.env on railyard-box for
the owner to fill in.
- Kept the existing Mac-side add-oauth-sources.sh working (cross-
referenced, not replaced).
Deployed to railyard-box (apps/gitea only, backed up custom/+app.ini/
compose first). Verified live: header shows Sign up/Sign in text
(desktop + mobile), real signup via a mail.tm disposable address +
captcha succeeded end to end (account created, welcomed, deleted after).
No provider enabled yet -- OAuth app creation in each provider console
is an owner-only step, documented in plans/railyard.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
|||
| 0e2645fc90 |
feat(rithub): monochrome Apple glass theme (no blue), readable dark mode, ink logo, new screenshots, OAuth source script
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |