Consolidate shared UI assets
Move common logo and controller glyphs into `ui/views/CommonwealthOnline/shared/` and update the pause menu, main menu, and browser glyph loader to use the shared paths. Also add a sync script and update deploy/staging scripts to copy controller icons once into the shared folder.
This commit is contained in:
@@ -7,6 +7,68 @@ failed experiments, successful tests, and next steps.
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-05 - Shared UI Assets Folder
|
||||
|
||||
### Summary
|
||||
Moved cross-view assets (logo, controller glyph icons) into `ui/views/CommonwealthOnline/shared/`. All PrismaUI views now reference this single folder instead of requiring per-view icon copies.
|
||||
|
||||
### Files Changed
|
||||
- `ui/views/CommonwealthOnline/shared/` (logo.svg, logo.png, icons/)
|
||||
- `ui/views/CommonwealthOnline/pause-menu/index.html`
|
||||
- `ui/views/CommonwealthOnline/main-menu/index.html`
|
||||
- `ui/views/CommonwealthOnline/browser/components/controller-glyphs.js`
|
||||
- `ui/views/CommonwealthOnline/pause-menu/styles.css`
|
||||
- `deploy-ui.bat`
|
||||
- `stage-mod.bat`
|
||||
- `ui/sync-shared-assets.bat`
|
||||
- `changelog.md`
|
||||
- `docs/dev-log.md`
|
||||
|
||||
### Details
|
||||
- Deploy scripts copy `ui/Icons` once into `shared/icons/` instead of browser, pause-menu, and main-menu separately
|
||||
- `ui/sync-shared-assets.bat` populates shared icons for local HTML preview without deploying to the game
|
||||
|
||||
### Testing
|
||||
- Run `ui/sync-shared-assets.bat` (or `deploy-ui.bat`)
|
||||
- Open `main-menu/index.html` and `pause-menu/index.html` in a browser; confirm controller glyphs tint amber/green
|
||||
- Open server browser; confirm footer glyphs still load
|
||||
|
||||
### Known Issues
|
||||
- `shared/icons/` is populated by sync/deploy scripts; it is not checked into git as a second copy of `ui/Icons`
|
||||
|
||||
### Next Steps
|
||||
- None for asset layout
|
||||
|
||||
## 2026-07-05 - Main Menu UI Concept Prototype
|
||||
|
||||
### Summary
|
||||
Added a static HTML/CSS/JS main menu prototype matching the pause menu visual language, without map mode or server panel. Menu includes MULTIPLAYER, CREATIONS, SETTINGS, HELP, and QUIT. Embeds the shared `CO_Settings` module for the settings sub-view.
|
||||
|
||||
### Files Changed
|
||||
- `ui/views/CommonwealthOnline/main-menu/index.html`
|
||||
- `ui/views/CommonwealthOnline/main-menu/styles.css`
|
||||
- `ui/views/CommonwealthOnline/main-menu/script.js`
|
||||
- `deploy-ui.bat`
|
||||
- `stage-mod.bat`
|
||||
- `changelog.md`
|
||||
- `docs/dev-log.md`
|
||||
|
||||
### Details
|
||||
- Scenic CSS gradient background replaces the pause menu map layer
|
||||
|
||||
### Testing
|
||||
- Open `ui/views/CommonwealthOnline/main-menu/index.html` in a browser at 1920×1080
|
||||
- Arrow keys / click to navigate menu; confirm rows are MULTIPLAYER, CREATIONS, SETTINGS, HELP, QUIT
|
||||
- Select SETTINGS; confirm embedded settings panel opens and B/Escape returns to menu
|
||||
- Resize window; confirm `--co-ui-scale` keeps layout proportional
|
||||
|
||||
### Known Issues
|
||||
- Background is a CSS placeholder, not a captured Fallout 4 title-screen image
|
||||
- Not wired to F4SE/PrismaUI yet (concept prototype only)
|
||||
|
||||
### Next Steps
|
||||
- Hook main menu into PrismaUI and replace vanilla title-screen list when ready
|
||||
|
||||
## 2026-07-04 - Pause Menu Map: Cursor-Centered Zoom
|
||||
|
||||
### Summary
|
||||
|
||||
Reference in New Issue
Block a user