feat: Show me more + back-to-top at the bottom of results (v0.5.1)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XStQKxPfEjrTvWo83KFCxG
This commit is contained in:
2026-08-17 00:02:34 -05:00
parent 810b357044
commit cce9ee3c7c
4 changed files with 22 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "names-poweredbyotm", "name": "names-poweredbyotm",
"version": "0.5.0", "version": "0.5.1",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev --port 3000", "dev": "next dev --port 3000",

View File

@@ -318,6 +318,13 @@ h2 {
width: auto; width: auto;
} }
.results-more {
display: flex;
align-items: center;
gap: 12px;
margin-top: 18px;
}
.ai-badge { .ai-badge {
display: inline-block; display: inline-block;
padding: 1px 6px; padding: 1px 6px;

View File

@@ -376,6 +376,14 @@ export default function Finder() {
/> />
))} ))}
</div> </div>
<div className="results-more">
<button className="primary" onClick={onGenerate} disabled={busy || tlds.length === 0}>
{busy ? "Thinking…" : "Show me more"}
</button>
<button type="button" className="mini" onClick={() => window.scrollTo({ top: 0, behavior: "smooth" })}>
Back to top
</button>
</div>
</> </>
)} )}
</> </>

View File

@@ -2,7 +2,7 @@
// /changelog. Bump VERSION and prepend an entry when shipping a user-facing // /changelog. Bump VERSION and prepend an entry when shipping a user-facing
// change. Same convention as rpo. // change. Same convention as rpo.
export const VERSION = "0.5.0"; export const VERSION = "0.5.1";
export interface ChangelogEntry { export interface ChangelogEntry {
version: string; version: string;
@@ -11,6 +11,11 @@ export interface ChangelogEntry {
} }
export const CHANGELOG: ChangelogEntry[] = [ export const CHANGELOG: ChangelogEntry[] = [
{
version: "0.5.1",
date: "2026-08-17",
changes: ["A second 'Show me more' button at the bottom of the results, with a back-to-top link, so a full page of names doesn't need a scroll up to continue."],
},
{ {
version: "0.5.0", version: "0.5.0",
date: "2026-08-16", date: "2026-08-16",