[PR #1846] [MERGED] Registry: show who publishes a project, linked to their GitHub profile #3810

Closed
opened 2026-11-03 04:12:29 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1846
Author: @ludovic111
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @ludovic111

Base: main ← Head: feat/registry-owner-links


📝 Commits (1)

  • 0eb4751 Registry: show who publishes a project, linked to their GitHub profile

📊 Changes

5 files changed (+66 additions, -3 deletions)

View changed files

📝 launcher/src/browser/horizon.rs (+22 -2)
📝 launcher/src/browser/horizon/tests.rs (+19 -0)
📝 website/src/mods.js (+14 -1)
📝 website/src/mods.test.mjs (+8 -0)
📝 website/src/style.css (+3 -0)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

What and why

The registry index already stores each project's owners, the GitHub logins checked when the project was submitted. Neither the website nor the launcher showed them: only the free-text authors field appeared. Ludovic wants a mod's author's GitHub name linked from the browser.

  • Website (/mods/<id>): a "Published by" line with each owner's avatar and @login, linked to https://github.com/<login>. Avatars come from avatars.githubusercontent.com, which the CSP already allows.
  • Launcher (Horizon registry project page): one @login link per owner next to Source, Page and Report.
  • Only strings that are valid GitHub logins become links (letters, digits, single dashes, at most 39), so an index entry can't inject a URL.

Tests

  • node --test src/mods.test.mjs: 6 pass, including a new test (valid and invalid logins, no line without owners).
  • cargo test launcher: new owner_links_only_take_github_logins passes. cargo clippy --all-targets -D warnings on the launcher: clean.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/1846 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/25/2026 **Status:** ✅ Merged **Merged:** 10/25/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/registry-owner-links` --- ### 📝 Commits (1) - [`0eb4751`](https://github.com/horizon-rust/horizon/commit/0eb475152e0040c2623bfa76ec10053fa31059ac) Registry: show who publishes a project, linked to their GitHub profile ### 📊 Changes **5 files changed** (+66 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/browser/horizon.rs` (+22 -2) 📝 `launcher/src/browser/horizon/tests.rs` (+19 -0) 📝 `website/src/mods.js` (+14 -1) 📝 `website/src/mods.test.mjs` (+8 -0) 📝 `website/src/style.css` (+3 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. ## What and why The registry index already stores each project's `owners`, the GitHub logins checked when the project was submitted. Neither the website nor the launcher showed them: only the free-text `authors` field appeared. Ludovic wants a mod's author's GitHub name linked from the browser. - **Website** (`/mods/<id>`): a "Published by" line with each owner's avatar and `@login`, linked to `https://github.com/<login>`. Avatars come from `avatars.githubusercontent.com`, which the CSP already allows. - **Launcher** (Horizon registry project page): one `@login` link per owner next to Source, Page and Report. - Only strings that are valid GitHub logins become links (letters, digits, single dashes, at most 39), so an index entry can't inject a URL. ## Tests - `node --test src/mods.test.mjs`: 6 pass, including a new test (valid and invalid logins, no line without owners). - `cargo test` launcher: new `owner_links_only_take_github_logins` passes. `cargo clippy --all-targets -D warnings` on the launcher: clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:12:29 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3810
No description provided.