You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/playground/website/design-explorations/playground-ui-directions.md
+119-7Lines changed: 119 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ button.
61
61
The latest pass tightens the information architecture further so categories do
62
62
not overlap:
63
63
64
-
-**Site switcher** owns saved and autosaved Playgrounds only.
64
+
-**Current Playground** owns identity, save status, and nearby saved/autosaved Playgrounds.
65
65
-**Workbench** owns the discoverable map of actions and groups them by intent.
66
66
-**Runtime** is promoted both as a chip and a Workbench priority action.
67
67
-**Share** owns save/share/export handoffs.
@@ -73,9 +73,8 @@ entry point a distinct job.
73
73
74
74
## What is always visible
75
75
76
-
- Playground identity and active site name.
76
+
-Current Playground cluster: name, save status, Save, and entry to other Playgrounds.
77
77
- Address/command field.
78
-
- Site switcher via the active site name.
79
78
- Runtime.
80
79
- Workbench.
81
80
- Share.
@@ -113,8 +112,9 @@ site visible behind them.
113
112
settings, Files, Your Playgrounds, and Import; lower-density groups expose
114
113
Start or restore, Inspect and edit, and Keep or move without crowding the
115
114
top chrome.
116
-
-**Playgrounds** opens from the site name or Workbench and shows saved and
117
-
autosaved sites without repeating Create actions.
115
+
-**Current Playground** opens from the top-left cluster or Workbench and shows
116
+
the active Playground, save status, plain-language persistence explanation,
117
+
nearby Playgrounds, and a link to the full saved-sites list.
118
118
-**Files** embeds the real file browser/editor for the active site and opens
119
119
in a focused mode by default so file trees and code are both readable. A
120
120
compact toggle is available in-panel for users who want more viewport
@@ -183,14 +183,126 @@ as another visual skin. The concrete iteration checklist was:
183
183
25. validate the desktop breakpoint in Chrome with the real iframe and real
184
184
production components.
185
185
186
+
## Current Playground consolidation pass
187
+
188
+
This pass consolidates the semi-technical user's orientation problem into one
189
+
place. The top-left cluster now says what is open, whether it is saved, and how
190
+
to save it. Opening it shows a plain-language Current Playground sheet with the
191
+
current site, save state, a short explanation, nearby Playgrounds, and the next
192
+
safe actions. Workbench no longer repeats the current-site status; it points
193
+
back to Current info when the user needs orientation.
194
+
195
+
### 100 remapping and self-feedback iterations
196
+
197
+
1. The user first asks “what am I looking at?” before asking for tools.
198
+
2. The site name by itself is not enough; it needs a container label.
199
+
3. “Current Playground” is clearer than “Playground” because WordPress also has a site name.
200
+
4. Save status belongs next to the site name, not on the opposite side of the chrome.
201
+
5. The Save button must remain visible when the status moves.
202
+
6. A top-level Playgrounds button would solve access but add more chrome clutter.
203
+
7. The site name can be the switcher because users already look there for identity.
204
+
8. The switcher should open details first, not immediately jump to a list.
205
+
9. Details need plain words, not only storage labels like OPFS or local-fs.
206
+
10. The current sheet should answer “Will I lose this?” immediately.
207
+
11. “Temporary until you save it” is clearer than only “Unsaved.”
208
+
12. “Saved locally” is clearer than “local-fs.”
209
+
13. “Saved in this browser” is clearer than “opfs.”
210
+
14. A semi-technical user may know WordPress but not Playground storage.
211
+
15. The explanation should say Playground is the container around the WordPress site.
212
+
16. The other Playgrounds list should not be hidden behind Share.
213
+
17. Showing a short list beats making users recall that a full list exists.
214
+
18. The full saved-sites overlay still matters for rename/delete; keep it one click away.
215
+
19. The current sheet should not become a full site manager replacement.
216
+
20. Put only the most orienting saved-site rows in the sheet.
217
+
21. “Open all Playgrounds” is clearer than “Manage.”
218
+
22. “New blank site” is a safe action from the current context.
219
+
23. Current info should not have a Back to Workbench arrow because it is a top-level identity surface.
220
+
24. Workbench secondary panels still keep Back to Workbench.
221
+
25. Modal workflows should preserve panel context after closing.
222
+
26. Workbench should stop duplicating current site name and status.
223
+
27. Workbench’s first card should explain the tool map, not the current site.
224
+
28. A “Current info” affordance inside Workbench helps lost users recover orientation.
225
+
29. A priority card named “Current Playground” is more useful than another “Your Playgrounds” card.
226
+
30. “Orient” is an appropriate action group for status and switching.
227
+
31. Runtime remains important but is not identity; keep it separate.
228
+
32. Share remains handoff; do not mix it with basic orientation.
229
+
33. The top-left cluster should visually feel like one object, even with Save next to it.
230
+
34. Do not nest the Save button inside the site button; nested buttons are invalid.
231
+
35. Use a grid cluster: site button plus status/save indicator.
232
+
36. Remove the right-side save status in Workbench to avoid split identity.
233
+
37. Keep the current cluster width large enough for real site names.
234
+
38. Do not let the current cluster crush the address bar at desktop widths.
235
+
39. At smaller widths, hide status details before hiding the address bar.
236
+
40. The address bar stays visually dominant for navigation.
237
+
41. Current info panel width should match other non-editor sheets.
238
+
42. The sheet should use the same border, radius, and scrim language as Workbench.
239
+
43. The current summary card needs hierarchy: label, name, status action.
240
+
44. Status action on the card should reuse the real `SaveStatusIndicator`.
241
+
45. The current explanation should be short enough to read at a glance.
242
+
46. “What am I looking at?” is a better heading than “Details.”
243
+
47. The list of other Playgrounds should use site names as primary labels.
244
+
48. Storage/date details are secondary metadata.
245
+
49. Rows should switch sites directly because that is the expected list behavior.
246
+
50. The full overlay remains available when users need rename/delete menus.
247
+
51. Current info should expose Runtime as a next step because version confusion is common.
248
+
52. Current info should expose Save/share because preservation confusion is common.
249
+
53. Avoid putting every Workbench tool inside Current info.
250
+
54. Keep Files out of Current info; it belongs to Workbench.
251
+
55. Keep Database out of Current info; it is an inspect tool.
252
+
56. Keep Blueprint source out of Current info; it is a developer tool.
253
+
57. The current panel should remain understandable even with no other saved sites.
254
+
58. Empty state wording should explain there are no other saved Playgrounds yet.
255
+
59. A saved current site should not show “Save” as the urgent action.
256
+
60. A saving current site should still keep the user in context.
257
+
61. A save error should show as status, not as a mystery elsewhere.
258
+
62. The current control should maintain the Playground logo for brand continuity.
259
+
63. The label “Current Playground” separates Playground from WordPress admin.
260
+
64. The WordPress iframe remains full-page under the sheet.
261
+
65. The current sheet must not become an always-on sidebar.
262
+
66. It should be dismissible by outside click like other sheets.
263
+
67. The Escape behavior should still close transient UI.
264
+
68. Command search should remain a fallback for “Your Playgrounds.”
265
+
69. Workbench should still expose the full surface for feature discovery.
266
+
70. Current info should reduce, not increase, top-level buttons.
267
+
71. Visual clutter is reduced when related facts are adjacent.
268
+
72. Visual clutter increases when identity, save, and switching are far apart.
269
+
73. The status icon and Save button should use the same styling as PR 3655.
270
+
74. The site switcher should not use a generic settings gear.
271
+
75. A chevron communicates there is more behind the site name.
272
+
76. The active state should highlight the whole current cluster button.
273
+
77. Avoid a surprising full-screen switcher from a compact identity click.
274
+
78. A right-side sheet is consistent with the rest of this shell.
275
+
79. The sheet title “Current Playground” should match the chrome label exactly.
276
+
80. Other Playgrounds should be in the current sheet, not buried in Share.
277
+
81. Saved Playgrounds should still be reachable from the command palette.
278
+
82. The Current Playground priority card helps users recover from tool overwhelm.
279
+
83. Avoid using “Site Manager” language; it implies an admin sidebar.
280
+
84. Avoid “Inspect” as a broad bucket for preservation or switching.
281
+
85. Avoid “Storage” as the first word users see.
282
+
86. Use “save,” “return,” and “current” because they describe outcomes.
283
+
87. The panel should be useful to someone who only knows WordPress basics.
284
+
88. The panel should be useful to someone testing PRs or Blueprints.
285
+
89. Direct row switching must close transient UI so the site change is obvious.
286
+
90. The full list must remain available for longer saved-site inventories.
287
+
91. Current info should not replace Workbench; it should anchor it.
288
+
92. The first Workbench card should no longer repeat the exact same current summary.
289
+
93. The top-right area is now lighter because status moved left.
290
+
94. Runtime still remains visible, preserving the last round’s feedback.
291
+
95. Share remains top-level, preserving the earlier “Save and share was hidden” feedback.
292
+
96. Files and Blueprint remain focused, preserving editor usability.
293
+
97. The approach preserves PR 3655’s explicit save intent.
294
+
98. The approach keeps Playground full-page with no permanent sidebar.
295
+
99. The approach gives confused users a safe place to start.
296
+
100. The final check is whether a user can point at one place and say: this is the current Playground, this is whether it is saved, and these are my other Playgrounds.
297
+
186
298
## PR 3655 fit
187
299
188
300
The shell treats autosave as recovery and Save as intent:
189
301
190
302
- the save status is visible in the top chrome;
191
303
- Save is present even when the user is mostly focused on the WordPress site;
192
-
-Your Playgrounds is one click from the site name and visible inside
193
-
Workbench;
304
+
-Current Playground consolidates the site name, save state, Save action, and
305
+
nearby Playgrounds;
194
306
- Share explains why Autosaved, Saved, and Unsaved are different states;
195
307
- storage does not become the app's primary navigation model.
0 commit comments