feat(registry): Players page: search, read one account, restore, delete saves or the account #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/registry-players-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the Players page to the admin site (rewards-admin P2), over the routes from #16.
#<account>.TestAdminPlayersPagerejectsinnerHTMLin players.js.Nothing removed: this is a new page.
api()andflash()now exist in four ui files; players.js follows the per-page copy that app.js, live.js and fleet.js use, and folding them together is a separate change.assumed: no Stats and awards tab, because its data is P5 and its edits P7.
assumed: the online chip stays empty until the game sends
accountin its roster (P4).assumed: the page does not poll, because an admin reads one account at a time and every action reloads it.
assumed: the online link uses
?game=all, becauseplayerPresencereturnsg.gamewhile the Live filter matches the session's game, so a specific game could hide the server.Checks:
go test ./...in registry/: 126 passed, 0 failed. gofmt and vet clean.Not checked: the page against a live deployment. The next
registry-vtag also ships #14 to #19.https://claude.ai/code/session_01BALUC1xuevnLBSwC4b4T3Q