OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.
feat(changelog): credit every contributor, per release and all-time
ravixalgorithmb2bb4401fe22
diff --git a/app/(marketing)/changelog/page.tsx b/app/(marketing)/changelog/page.tsxindex a09183a..d79727c 100644--- a/app/(marketing)/changelog/page.tsx+++ b/app/(marketing)/changelog/page.tsx@@ -1,7 +1,8 @@import Link from "next/link";import PageHero from "@/components/marketing/PageHero";-import { REPO_URL } from "@/lib/constants";-import { RELEASES } from "@/lib/changelog";+import SectionHead from "@/components/marketing/SectionHead";+import { GOOD_FIRST_ISSUES_URL, REPO_URL } from "@/lib/constants";+import { MAINTAINER, RELEASES, type Credit } from "@/lib/changelog";import { cn } from "@/lib/utils";export const metadata = {@@ -24,6 +25,30 @@ const ItemText = ({ text }: { text: string }) => (</>);+const plural = (n: number, word: string) => `${n} ${word}${n === 1 ? '' : 's'}`;+const creditLabel = ({ prs = [], issues = [] }: Credit) =>+ [prs.length ? plural(prs.length, 'PR') : '', issues.length ? plural(issues.length, 'issue') : ''].filter(Boolean).join(' · ');+const creditTitle = ({ prs = [], issues = [] }: Credit) =>+ [prs.length ? `Pull requests ${prs.map((n) => `#${n}`).join(' ')}` : '', issues.length ? `Issues ${issues.map((n) => `#${n}`).join(' ')}` : ''].filter(Boolean).join(' · ');++const Avatar = ({ login, size }: { login: string; size: number }) => (+ <img src={`https://github.com/${login}.png?size=${size * 2}`} alt="" width={size} height={size} loading="lazy" className="flex-none rounded-full bg-page" />+);++// Everyone across every release, the maintainer first, then by pull requests and issues+const CONTRIBUTORS = Object.values(+ RELEASES.flatMap((r) => r.credits).reduce<Record<string, Required<Credit>>>((all, { login, prs = [], issues = [] }) => {+ const person = (all[login] ??= { login, prs: [], issues: [] });+ person.prs.push(...prs);+ person.issues.push(...issues);+ return all;+ }, {}),+).sort((a, b) =>+ Number(b.login === MAINTAINER) - Number(a.login === MAINTAINER)+ || b.prs.length - a.prs.length+ || b.issues.length - a.issues.length+ || a.login.localeCompare(b.login));+export default function ChangelogPage() {return (<>@@ -33,7 +58,7 @@ export default function ChangelogPage() {sub="Every release since we started in September 2025, in plain words. Each change links to its pull request on GitHub."><Link href="/dashboard" className="btn btn-primary h-11 px-5 text-[15px]">Open dashboard</Link>- <a href={`${REPO_URL}/pulls?q=is%3Apr+is%3Amerged`} target="_blank" rel="noreferrer" className="btn btn-ghost h-11 px-5 text-[15px]">All merged pull requests</a>+ <a href="#contributors" className="btn btn-ghost h-11 px-5 text-[15px]">Meet the {CONTRIBUTORS.length} contributors</a></PageHero><ol className="mx-auto mt-16 max-w-[1200px] px-5">@@ -74,11 +99,58 @@ export default function ChangelogPage() {</div>))}</div>++ <div className="mt-4 flex flex-wrap items-center gap-2">+ <span className="kicker mr-1">Thanks to</span>+ {release.credits.map((credit) => (+ <a+ key={credit.login}+ href={`https://github.com/${credit.login}`}+ target="_blank"+ rel="noreferrer"+ title={creditTitle(credit)}+ className="flex items-center gap-2 rounded-full bg-card py-1 pl-1 pr-3 shadow-[inset_0_0_0_1px_var(--line)] transition-colors hover:bg-hover"+ >+ <Avatar login={credit.login} size={22} />+ <span className="text-[13px] font-semibold text-foreground">{credit.login}</span>+ <span className="text-[12px] text-faint">{creditLabel(credit)}</span>+ </a>+ ))}+ </div></section></li>);})}</ol>++ <section id="contributors" className="mx-auto mt-24 max-w-[1200px] scroll-mt-24 px-5">+ <SectionHead+ kicker="Contributors"+ title={`Built by ${CONTRIBUTORS.length} people.`}+ sub="Everyone whose pull request or issue shaped a release above. Thank you: this is your work."+ />+ <div className="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">+ {CONTRIBUTORS.map((person) => (+ <a key={person.login} href={`https://github.com/${person.login}`} target="_blank" rel="noreferrer" title={creditTitle(person)} className="hatch group">+ <div className="card flex items-center gap-3 p-4 transition-colors group-hover:bg-hover">+ <Avatar login={person.login} size={40} />+ <div className="min-w-0">+ <p className="flex items-center gap-2 font-semibold">+ <span className="truncate">{person.login}</span>+ {person.login === MAINTAINER && <span className="pill is-brand shrink-0">Maintainer</span>}+ </p>+ <p className="text-[13px] text-faint">{creditLabel(person)}</p>+ </div>+ </div>+ </a>+ ))}+ </div>+ <p className="mt-6 text-[14px] text-faint">+ Want to be here? Pick a{' '}+ <a href={GOOD_FIRST_ISSUES_URL} target="_blank" rel="noreferrer" className="font-semibold text-brand-ink hover:underline">good first issue</a>+ {' '}or report a bug you hit.+ </p>+ </section></>);}diff --git a/lib/changelog.ts b/lib/changelog.tsindex 87b8126..42a5b3b 100644--- a/lib/changelog.ts+++ b/lib/changelog.ts@@ -1,5 +1,9 @@// OpenStock's changelog, newest first. The banner and its modal show RELEASES[0]; /changelog shows the whole timeline.// Write "#123" in an item to link that pull request.+// Who made a release happen: pull requests they wrote and issues they opened that led to a change.+// Taken from GitHub (PR authors and the issues each PR closed); bots aren't listed.+export type Credit = { login: string; prs?: number[]; issues?: number[] };+export type Release = {id: string;date: string;@@ -7,8 +11,11 @@ export type Release = {summary: string;highlights?: string[]; // the short list in the banner's modal (latest release only)sections: { title: string; items: string[] }[];+ credits: Credit[];};+export const MAINTAINER = 'ravixalgorithm';+export const RELEASES: Release[] = [{id: '2026-10-18',@@ -65,6 +72,18 @@ export const RELEASES: Release[] = [],},],+ credits: [+ { login: 'ravixalgorithm', prs: [116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130] },+ { login: 'cosmind-rusu', prs: [94] },+ { login: 'Yi-111-a', prs: [110] },+ { login: 'cosark', prs: [111] },+ { login: 'muskanbandta23', prs: [115] },+ { login: 'nexitpl', issues: [47, 54] },+ { login: 'brainistry10', issues: [113] },+ { login: 'Greatz08', issues: [83] },+ { login: 'saschabrockel', issues: [36] },+ { login: 'a-lacruz', issues: [109] },+ ],},{id: '2026-09-25',@@ -97,9 +116,23 @@ export const RELEASES: Release[] = ['Pages no longer hang when market data is slow, and email addresses with + are accepted. #106','Charts no longer get stuck on exchanges TradingView blocks, or on Hong Kong stocks.','A clearer environment check for self-hosters. #104',+ 'The README now says the news summary is weekly, not daily. #91',+ 'Community fixes brought into the redesign: no “NaN” market cap #82, Taiwan in the country picker #70, indicators that survive fullscreen #68, optional email settings #69, and tests for alert actions #93.',],},],+ credits: [+ { login: 'ravixalgorithm', prs: [106] },+ { login: 'keshav-005', prs: [68, 69, 70] },+ { login: 'Mubashirrrr', prs: [82] },+ { login: 'fuxicodex', prs: [93] },+ { login: 'BambaSatoru', prs: [104] },+ { login: 'kuishou68', prs: [91] },+ { login: 'nexitpl', issues: [49] },+ { login: 'juipeter-pixel', issues: [34] },+ { login: 'soonfatt', issues: [38] },+ { login: 'khajaG321', issues: [28] },+ ],},{id: '2026-08',@@ -116,6 +149,11 @@ export const RELEASES: Release[] = [],},],+ credits: [+ { login: 'akoweicollinxx', prs: [84, 85] },+ { login: 'octo-patch', prs: [87] },+ { login: 'maxsyst', issues: [37] },+ ],},{id: '2026-05',@@ -130,9 +168,18 @@ export const RELEASES: Release[] = ['Sign-up shows the password rules and ticks them off as you type. #79','Charts show the right time zone. #72','Search shows the correct exchange and company details. #73',+ 'No more Turbopack warning about the project root when running locally. #74',],},],+ credits: [+ { login: 'keshav-005', prs: [71, 72, 73, 74] },+ { login: 'Chukwuebuka-2003', prs: [79] },+ { login: 'danieldanielecki', issues: [66] },+ { login: 'nexitpl', issues: [35] },+ { login: 'aaronwork1205', issues: [55] },+ { login: 'k2alzhang', issues: [39] },+ ],},{id: '2026-03',@@ -150,6 +197,13 @@ export const RELEASES: Release[] = [],},],+ credits: [+ { login: 'alexander-schneider', prs: [64] },+ { login: 'Bortlesboat', prs: [65] },+ { login: 'octo-patch', prs: [61] },+ { login: 'TPTBusiness', prs: [63] },+ { login: 'maplelaef0320', issues: [24] },+ ],},{id: '2026-02',@@ -162,6 +216,10 @@ export const RELEASES: Release[] = [items: ['Shanghai, Shenzhen and Hong Kong tickers are converted to TradingView’s format, so their charts load. #57'],},],+ credits: [+ { login: 'CrixusWen', prs: [57] },+ { login: 'ravixalgorithm', prs: [51] },+ ],},{id: '2026-01',@@ -180,6 +238,11 @@ export const RELEASES: Release[] = [],},],+ credits: [+ { login: 'ravixalgorithm', prs: [40, 45, 46, 48] },+ { login: 'nexitpl', issues: [33, 44] },+ { login: 'cn-zeus-jp', issues: [27] },+ ],},{id: '2025-12',@@ -196,6 +259,9 @@ export const RELEASES: Release[] = [],},],+ credits: [+ { login: 'ravixalgorithm', prs: [32] },+ ],},{id: '2025-10',@@ -208,9 +274,16 @@ export const RELEASES: Release[] = [items: ['Started on 28 Sep 2025 and first deployed on 4 Oct 2025: accounts, stock search and a TradingView-powered dashboard. #1 #9','Docker and Docker Compose support. #17',+ 'Fixed a build error reported in the first weeks. #25',],},],+ credits: [+ { login: 'ravixalgorithm', prs: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] },+ { login: 'chinnsenn', prs: [17] },+ { login: 'nb-src', prs: [25] },+ { login: 'Terry0930', issues: [23] },+ ],},];