fix(admin): no decision numbers in admin copy, and "1 player holds one" #59
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/admin-copy"
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?
Two copy defects I found while writing the runicgateway.com Rust docs (runicgateway.com#35). You asked for them fixed.
Decision numbers an operator reads
I found two on the walk: "(D189)" on a group's Servers tab, and "(D198)" in the not imported yet tooltip. Searching every non-comment line found 24 strings in all, each carrying a number like "(D189)" or "(D257, D270)":
Permissions.jsx: the group Servers tab text, and the not imported yet tooltip;eventWorld,eventRewards,eventLeases), and two option sources;npcProfile.js,npcs.model.js).Each number is removed and the sentence around it is unchanged. Kept on purpose: the descriptions in
server/swagger/doc.js(developer-facing, the API spec) and every code comment."Last pushed: 1 player hold one."
On Admin → Rust servers, the line now says "holds" for one and "hold" otherwise. No test covers it: the summary lives in a
.jsxfile, and the client tests only import plain modules.Tests
Two tests pinned the old wording (
commandSteps,npcs); they now assert the text.All pass locally:
check:imports,check:bundle,check:swaggerandcheck:engagement;check:externals.No protocol, schema or API change.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY