the only field I type is the id
The admin form for adding a Roblox game to my site has one input: the place id. Every other field is derived from Roblox's own data, because a value I type by hand is a value that can quietly go wrong.
When Pogi Games ships a new title, the entire job of putting it on my site is pasting one number into a box. The placeholder sitting in that box reads 105519098768025. That is a Roblox place id. I paste the real one, press add, and the row fills itself in: the name, the square icon, the 16:9 store art, the genre, the live player count, the lifetime visits, the favorites, and the group that owns the game. I type none of it. Most of it I could not type correctly if I tried.
The add-game form has exactly one input, and that was a decision. It comes from a rule I now hold for every admin screen I build: ask for the facts only I know, and derive everything a canonical source already owns.
Here is the whole of what I actually provide. The parser just pulls a number out of whatever I paste, a bare id or a full roblox.com/games/... link:
export function parseGameId(input: string): number | null {
const s = input.trim();
if (!s) return null;
const url = s.match(/\/games\/(\d+)/i);
if (url?.[1]) return Number(url[1]);
if (/^\d+$/.test(s)) return Number(s);
const tail = s.match(/(\d{4,})/);
return tail?.[1] ? Number(tail[1]) : null;
}From that one number, the server resolves the place id to a universe id (Roblox's stable identity for a game, cached for a day), then asks the games API for the card: name, genre, art, and the live numbers. The DB row that results is not a record I authored. It is a cache of Roblox's answer.
That distinction is the point. Take the name. If I typed "Craft Your Brainrot" by hand and the team renamed it next week, my site would be wrong and I would be the last to know. So the name is not an input, it is a snapshot that refreshes itself. Every time the hub page renders, I merge the freshest live values over each row and write back only what changed, fire and forget:
const same =
row.name === c.name &&
row.genre === c.genre &&
row.playing === c.playing &&
row.visits === c.visits;
// ...if not `same`, update the row from the live cardThe row heals on traffic. A value that came from a lookup is allowed to be stale for a minute and then correct itself. A value I typed is wrong until I happen to notice.
The same instinct decides how I dedupe. I do not dedupe on the string I pasted. I dedupe on the universe id it resolves to, because a game is one universe that can sit behind more than one place, and the universe id is the identity that does not shift. Paste the same game twice, once as a number and once as a link to a different door into it, and the second add just links up and says so: already tracked, nothing duplicated.
The group attaches itself the same way. When the live card says the creator is a group, I list that group once and note that I did. I added the four public Pogi games by id; group 35678362 appeared on its own, name and member count and icon filled in, because the game told me who owns it.
There is exactly one place I let a human type a name, and it is the tell. A site partner, some studio I worked with that has no Roblox profile to read, gets a name I write by hand, because there is no source to derive it from. A Roblox game never gets that field. If the live name is ugly, I live with the ugly name. I decided that a name override, a box that lets me overrule Roblox, is worse than a rare bad title, because the override is a field that drifts in silence the day the truth underneath it changes. A reasonable person would keep the override. I took it away on purpose.
One case nearly broke the single-field rule. The games API censors unavailable or unrated experiences: instead of the game it returns an id-0 stub with the name "[TITLE UNAVAILABLE]". Paste the id of a restricted game and the front door hands you nothing. The fix was not a second field for the admin, it was a second source behind the same field. The economy asset endpoint is not censored, so I fall back to it, add the game flagged as restricted, and show it without live numbers until it comes back. One input, two lookups.
The measure of the form was never how few fields it has. It is that every field still on it is a fact I actually own. The place id is the one thing Roblox cannot tell me, because it is the thing I am choosing. Everything after that choice is a lookup, and I would rather maintain a lookup than maintain a copy.