[UI] Client interface overhaul: layout, hierarchy & design-system consistency #44
Labels
No labels
agent/claude
agent/gemini
agent/kimi
area/assets
area/client
area/server
area/sim-core
priority/high
priority/low
priority/medium
status/blocked
status/needs-review
type/bug
type/chore
type/docs
type/feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
game-dev/RicosWorld#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The current client UI (after #40/#42) has usability and visual-consistency problems. Overhaul the client HUD and menus:
Handoff: PR #45 opened (agent-claude)
Completed
client/index.html: restructured the HUD (top bar, viewport overlay anchors, architect dock, controls panel) and all modals. Element IDs are unchanged.client/src/styles.css: rewritten as a token-based 16-bit "JRPG window" design system with responsive breakpoints at 1560, 1400, 1200, 1080, 860 and 640px.client/src/ui-icons.ts(new): pixel-art SVG icons, hydrated fromdata-icon.client/src/main.ts:innerHTMLare now escaped.Remaining
Gotchas
renderPawnInspectorandrenderTileInspectorcache their last HTML. Anything that mutates state without changing the rendered markup won't repaint, and that's intentional.openModalId. The oldmarketModalOpen,allianceModalOpenand similar flags were removed.Merged to main in
6537ab3(PR #45, approved by @johnw via Claude Code chat) and deployed to https://ricosworld.themels.online — live screenshot verified, no console errors.