Skip to content

Commit a3bc401

Browse files
committed
Correct toolbox statuses swatch labels and display mode cleanup - PR_26159_054-toolbox-status-and-display-cleanup
1 parent 98df80e commit a3bc401

12 files changed

Lines changed: 627 additions & 115 deletions

assets/theme-v2/css/status.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,17 @@
3434
font-size: var(--font-size-sm);
3535
line-height: var(--line-height-copy)
3636
}
37+
38+
.swatch-label {
39+
border: var(--border-standard);
40+
border-color: var(--swatch-border);
41+
border-radius: var(--radius-pill);
42+
box-shadow: var(--shadow-sm);
43+
color: var(--white);
44+
display: inline-flex;
45+
align-items: center;
46+
justify-content: center;
47+
min-height: var(--space-24);
48+
padding: var(--space-3) var(--space-10);
49+
text-shadow: 0 1px 2px var(--shadow-color-strong)
50+
}

docs_build/dev/admin-notes/PS_commands.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,22 @@ npm run dev:local-api
66
Remove-Item .\directory-name -Recurse -Force
77

88
- display directory, subdirectories and files
9-
tree /f
9+
tree /f
10+
11+
- resize images:
12+
-- output may not be 64x64 if not a square
13+
magick "image1.png" -resize 64x64 "image2.png"
14+
15+
-- force the output to be exactly 64×64 regardless of aspect ratio:
16+
magick "image1.png" -resize 64x64! "image2.png"
17+
18+
-- batch-convert all PNG files in a folder from 1024×1024 to 64×64:
19+
Get-ChildItem *.png | ForEach-Object {
20+
magick $_.FullName -resize 64x64 $_.Name.Replace(".png","-64.png")
21+
}
22+
23+
-- preserving transparency and producing exact icon-sized badges:
24+
magick "badges\game-design-1024.png" `
25+
-background none `
26+
-resize 64x64 `
27+
"badges\game-design-64.png"
Lines changed: 285 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
# Account → Achievements Page Summary
2+
3+
## Purpose
4+
5+
Create a new Account page:
6+
7+
```text
8+
Account
9+
└─ Achievements
10+
```
11+
12+
The page is an activity, analytics, and gamification dashboard based on the Game Foundry Studio north star:
13+
14+
```text
15+
Build · Play · Share
16+
```
17+
18+
It is **not just badges**.
19+
20+
The page should combine:
21+
22+
* Statistics
23+
* Achievements
24+
* Activity History
25+
* Creator Analytics
26+
27+
---
28+
29+
# Top Navigation
30+
31+
Use the same style as:
32+
33+
```text
34+
toolbox/index.html#build-path-wireframe
35+
```
36+
37+
Example:
38+
39+
```text
40+
+--------------------------------------------------+
41+
| [ Build ] [ Play ] [ Share ] |
42+
+--------------------------------------------------+
43+
```
44+
45+
All buttons are active.
46+
47+
No grayed-out controls.
48+
49+
No disabled buttons.
50+
51+
---
52+
53+
# Build Tab
54+
55+
## Purpose
56+
57+
Show games the user created.
58+
59+
---
60+
61+
## Layout
62+
63+
```text
64+
+--------------------------------------------------+
65+
| Games Created | Total Plays | Avg Rating | Fans |
66+
+--------------------------------------------------+
67+
| 12 | 18,421 | 4.8 | 642 |
68+
+--------------------------------------------------+
69+
```
70+
71+
---
72+
73+
## Achievements
74+
75+
```text
76+
🏆 First Game Created
77+
🏆 Published First Game
78+
🏆 1,000 Total Plays
79+
🏆 10 Games Created
80+
🏆 Community Favorite
81+
```
82+
83+
---
84+
85+
## Game List
86+
87+
```text
88+
+---------------------------------------------------------------+
89+
| Game | Status | Plays | Rating | Updated |
90+
+---------------------------------------------------------------+
91+
| King Iceberg | Shared | 8421 | 4.8 | 2 days ago |
92+
| Asteroids DX | Playable | 1124 | 4.5 | 5 days ago |
93+
| Space Rescue | Draft | 0 | -- | Today |
94+
+---------------------------------------------------------------+
95+
```
96+
97+
---
98+
99+
## Actions
100+
101+
```text
102+
[ Open ]
103+
[ Statistics ]
104+
[ Share ]
105+
```
106+
107+
---
108+
109+
# Play Tab
110+
111+
## Purpose
112+
113+
Show games the user has played.
114+
115+
---
116+
117+
## Layout
118+
119+
```text
120+
+-----------------------------------------------------------+
121+
| Games Played | Favorites | Reviews | Hours Played |
122+
+-----------------------------------------------------------+
123+
| 143 | 27 | 12 | 84 hrs |
124+
+-----------------------------------------------------------+
125+
```
126+
127+
---
128+
129+
## Achievements
130+
131+
```text
132+
🏆 First Game Played
133+
🏆 10 Games Played
134+
🏆 100 Games Played
135+
🏆 Reviewer
136+
🏆 Collector
137+
```
138+
139+
---
140+
141+
## Played Games
142+
143+
```text
144+
+--------------------------------------------------------------------+
145+
| Game | Progress | Rating | Favorite | Shared | Last Play|
146+
+--------------------------------------------------------------------+
147+
| King Iceberg | 100% | 5 Star | ♥ | ✓ | Yesterday|
148+
| Frogger | 85% | 4 Star | ♥ | ✓ | Today |
149+
+--------------------------------------------------------------------+
150+
```
151+
152+
---
153+
154+
## Actions
155+
156+
```text
157+
[ Continue ]
158+
[ Favorite ]
159+
[ Share ]
160+
```
161+
162+
---
163+
164+
# Share Tab
165+
166+
## Purpose
167+
168+
Show sharing activity from both perspectives:
169+
170+
### Creator
171+
172+
People sharing your games.
173+
174+
### Player
175+
176+
Games you shared.
177+
178+
---
179+
180+
# Creator Analytics
181+
182+
## Summary Cards
183+
184+
```text
185+
+----------------------------------------------------------------+
186+
| Shared By Others | Unique Sharers | Share Plays | Favorites |
187+
+----------------------------------------------------------------+
188+
| 1,248 | 312 | 8,421 | 983 |
189+
+----------------------------------------------------------------+
190+
```
191+
192+
---
193+
194+
## Achievements
195+
196+
```text
197+
🏆 First Shared Game
198+
🏆 100 Shares
199+
🏆 1,000 Share Plays
200+
🏆 Viral Game
201+
🏆 Community Favorite
202+
```
203+
204+
---
205+
206+
## Creator Share Table
207+
208+
```text
209+
+------------------------------------------------------------------------+
210+
| Game | Shares | Sharers | Plays From Share | Rating |
211+
+------------------------------------------------------------------------+
212+
| King Iceberg | 412 | 98 | 2144 | 4.8 |
213+
| Asteroids DX | 223 | 57 | 1010 | 4.6 |
214+
+------------------------------------------------------------------------+
215+
```
216+
217+
---
218+
219+
# Games I Shared
220+
221+
```text
222+
+---------------------------------------------------------------+
223+
| Game | Shared Date | Clicks | Plays Generated |
224+
+---------------------------------------------------------------+
225+
| King Iceberg | Jun 1 | 42 | 15 |
226+
| Frogger | Jun 3 | 18 | 7 |
227+
+---------------------------------------------------------------+
228+
```
229+
230+
---
231+
232+
## Actions
233+
234+
```text
235+
[ Share Again ]
236+
[ Copy Link ]
237+
[ View Analytics ]
238+
```
239+
240+
---
241+
242+
# Page Structure
243+
244+
Recommended overall layout:
245+
246+
```text
247+
+--------------------------------------------------------------+
248+
| Account > Achievements |
249+
+--------------------------------------------------------------+
250+
251+
+--------------------------------------------------------------+
252+
| [ Build ] [ Play ] [ Share ] |
253+
+--------------------------------------------------------------+
254+
255+
+--------------------------------------------------------------+
256+
| Summary Cards |
257+
+--------------------------------------------------------------+
258+
259+
+--------------------------------------------------------------+
260+
| Achievement Badges |
261+
+--------------------------------------------------------------+
262+
263+
+--------------------------------------------------------------+
264+
| Activity Table |
265+
+--------------------------------------------------------------+
266+
267+
+--------------------------------------------------------------+
268+
| Actions |
269+
+--------------------------------------------------------------+
270+
```
271+
272+
---
273+
274+
# Design Decisions Agreed
275+
276+
* Achievements is an **Account page**, not a Toolbox tool.
277+
* Build / Play / Share are top-level tabs.
278+
* All controls are active in the wireframe.
279+
* Nothing should appear disabled or grayed out.
280+
* Statistics cards appear before badges.
281+
* Badges appear before detailed tables.
282+
* Share focuses heavily on creator analytics.
283+
* Creators can see when other players share their games.
284+
* Long-term this becomes DB-backed.
285+
* Initial implementation is a clickable wireframe using existing Theme V2 patterns only.

0 commit comments

Comments
 (0)