Skip to content

Commit b10beb8

Browse files
committed
Reorder Admin Operations and replace direct promotion with Project Packaging actions - PR_26168_236-admin-operations-order-and-safety
1 parent 95f37c3 commit b10beb8

23 files changed

Lines changed: 2780 additions & 1757 deletions

admin/infrastructure.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ <h2>Admin</h2>
3333
<summary>Admin Tools</summary>
3434
<nav class="accordion-body content-stack" aria-label="Admin tool pages" data-admin-tool-menu>
3535
<a class="btn btn--compact primary" aria-current="page" href="/admin/infrastructure.html">Infrastructure</a>
36+
<a class="btn btn--compact" href="/admin/operations.html">Operations</a>
3637
<a class="btn btn--compact" href="/admin/platform-settings.html">Platform Settings</a>
3738
<a class="btn btn--compact" href="/admin/system-health.html">System Health</a>
3839
<a class="btn btn--compact" href="/admin/tool-votes.html">Tool Votes</a>
@@ -114,10 +115,10 @@ <h2>Inspector</h2>
114115
<details class="vertical-accordion" open>
115116
<summary>Status Surfaces</summary>
116117
<div class="accordion-body content-stack">
117-
<a class="btn btn--compact" href="/owner/operations.html">Database Status</a>
118-
<a class="btn btn--compact" href="/owner/operations.html">Storage Status</a>
119-
<a class="btn btn--compact" href="/owner/operations.html">Owner Operations</a>
120-
<a class="btn btn--compact" href="/owner/operations.html">Promotion Foundation</a>
118+
<a class="btn btn--compact" href="/admin/system-health.html">Database Status</a>
119+
<a class="btn btn--compact" href="/admin/system-health.html">Storage Status</a>
120+
<a class="btn btn--compact" href="/admin/operations.html">Admin Operations</a>
121+
<a class="btn btn--compact" href="/admin/system-health.html">Promotion Foundation</a>
121122
</div>
122123
</details>
123124
<details class="vertical-accordion" open>

admin/operations.html

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<base href="/">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<title>Admin Operations - Game Foundry Studio LLC</title>
9+
<meta name="description" content="Admin database, backup, and project package operations with safety diagnostics.">
10+
<link rel="icon" href="/favicon.svg">
11+
<link rel="stylesheet" href="assets/theme-v2/css/theme.css">
12+
</head>
13+
14+
<body class="meaning-molten-orange">
15+
<div data-partial="header-nav"></div>
16+
<main data-admin-only="true" data-admin-operations data-admin-wireframe="operations">
17+
<section class="page-title">
18+
<div class="container">
19+
<div class="kicker">Admin</div>
20+
<h1>Operations</h1>
21+
<p class="lede">Stage project packaging, backup, and database operations through guarded Local API actions.</p>
22+
</div>
23+
</section>
24+
<section class="section">
25+
<div class="container container--tool-wide">
26+
<div class="tool-workspace tool-workspace--wide">
27+
<aside class="tool-column tool-group-platform">
28+
<div class="tool-column-header">
29+
<h2>Admin Operations</h2>
30+
</div>
31+
<div class="accordion-stack">
32+
<details class="vertical-accordion" open>
33+
<summary>Project Packaging</summary>
34+
<div class="accordion-body content-stack">
35+
<p>Package actions are routed through the Local API. Full .gfsp execution returns visible not implemented diagnostics until package tooling is completed.</p>
36+
<p>Import Project Package requires explicit confirmation behavior before any overwrite can proceed.</p>
37+
<div class="content-stack" data-admin-operation-group="project-packaging">
38+
<p class="status">Loading Project Packaging actions.</p>
39+
</div>
40+
</div>
41+
</details>
42+
<details class="vertical-accordion" open>
43+
<summary>Backup &amp; Recovery</summary>
44+
<div class="accordion-body content-stack">
45+
<p>Backup and restore actions are staged for reviewed server-side execution.</p>
46+
<p>Restore From Backup is risky and requires explicit confirmation messaging before any restore behavior is implemented.</p>
47+
<div class="content-stack" data-admin-operation-group="backup-recovery">
48+
<p class="status">Loading Backup &amp; Recovery actions.</p>
49+
</div>
50+
</div>
51+
</details>
52+
<details class="vertical-accordion" open>
53+
<summary>Database Operations</summary>
54+
<div class="accordion-body content-stack">
55+
<p>Connection checks are non-destructive. Run Migration and Reseed DEV return guarded diagnostics instead of executing browser-initiated database changes.</p>
56+
<p>Reseed DEV is shown only when the current configured project storage lane resolves to DEV.</p>
57+
<div class="content-stack" data-admin-operation-group="database-operations">
58+
<p class="status">Loading Database Operations actions.</p>
59+
</div>
60+
</div>
61+
</details>
62+
</div>
63+
</aside>
64+
<div data-tool-display-mode data-asset-root="assets/theme-v2/images" data-tool-slug="admin-operations" data-tool-icon-src="assets/theme-v2/images/image-missing.svg" data-tool-character-src="assets/theme-v2/images/image-missing.svg"></div>
65+
<section class="tool-center-panel content-stack" aria-labelledby="admin-operations-title">
66+
<div>
67+
<div class="kicker">Work Surface</div>
68+
<h2 id="admin-operations-title">Operations Console</h2>
69+
</div>
70+
<p>Admin Operations is action-focused. Health, readiness, database status, storage status, and configuration tables live in Admin System Health.</p>
71+
<p>Risky actions are staged with warning and confirmation diagnostics; this page does not expose secrets or edit configuration files.</p>
72+
<div class="table-wrapper">
73+
<table class="data-table" aria-label="Admin operation safety diagnostics">
74+
<caption>Operation Safety Diagnostics</caption>
75+
<thead>
76+
<tr>
77+
<th scope="col">Section</th>
78+
<th scope="col">Action</th>
79+
<th scope="col">Status</th>
80+
<th scope="col">Confirmation</th>
81+
<th scope="col">Diagnostic</th>
82+
</tr>
83+
</thead>
84+
<tbody data-admin-operation-safety-rows>
85+
<tr><td>Startup</td><td>Actions</td><td>Loading</td><td>Loading</td><td>Loading Admin Operations safety diagnostics.</td></tr>
86+
</tbody>
87+
</table>
88+
</div>
89+
<div class="table-wrapper">
90+
<table class="data-table" aria-label="Admin operation results">
91+
<caption>Operation Results</caption>
92+
<thead>
93+
<tr>
94+
<th scope="col">Action</th>
95+
<th scope="col">Status</th>
96+
<th scope="col">Executed</th>
97+
<th scope="col">Message</th>
98+
</tr>
99+
</thead>
100+
<tbody data-admin-operation-result-rows>
101+
<tr><td>startup</td><td>SKIP</td><td>no</td><td>No Admin Operations action has been run.</td></tr>
102+
</tbody>
103+
</table>
104+
</div>
105+
</section>
106+
<aside class="tool-column tool-group-platform">
107+
<div class="tool-column-header">
108+
<h2>Inspector</h2>
109+
</div>
110+
<div class="accordion-stack">
111+
<details class="vertical-accordion" open>
112+
<summary>Status</summary>
113+
<div class="accordion-body content-stack">
114+
<p class="status" role="status" data-admin-operations-status>Loading Admin Operations.</p>
115+
<p data-admin-operations-environment>Current environment lane: loading.</p>
116+
</div>
117+
</details>
118+
<details class="vertical-accordion" open>
119+
<summary>Guardrails</summary>
120+
<div class="accordion-body content-stack">
121+
<p>Secrets and configuration files are not editable from this browser surface.</p>
122+
<p>Destructive or risky operations require reviewed server-side execution outside the browser.</p>
123+
<p>Direct promotion buttons are not available; package promotion flows use Export Project Package, Validate Project Package, and Import Project Package planning.</p>
124+
</div>
125+
</details>
126+
</div>
127+
</aside>
128+
</div>
129+
</div>
130+
</section>
131+
</main>
132+
<div data-partial="footer"></div>
133+
<script src="assets/theme-v2/js/gamefoundry-partials.js" defer></script>
134+
<script src="assets/theme-v2/js/tool-display-mode.js" defer></script>
135+
<script type="module" src="assets/theme-v2/js/admin-operations.js"></script>
136+
</body>
137+
138+
</html>

admin/platform-settings.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ <h2>Admin</h2>
3333
<summary>Admin Tools</summary>
3434
<nav class="accordion-body content-stack" aria-label="Admin tool pages" data-admin-tool-menu>
3535
<a class="btn btn--compact" href="/admin/infrastructure.html">Infrastructure</a>
36+
<a class="btn btn--compact" href="/admin/operations.html">Operations</a>
3637
<a class="btn btn--compact primary" aria-current="page" href="/admin/platform-settings.html">Platform Settings</a>
3738
<a class="btn btn--compact" href="/admin/system-health.html">System Health</a>
3839
<a class="btn btn--compact" href="/admin/tool-votes.html">Tool Votes</a>

admin/system-health.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ <h2>Admin</h2>
3333
<summary>Admin Tools</summary>
3434
<nav class="accordion-body content-stack" aria-label="Admin tool pages" data-admin-tool-menu>
3535
<a class="btn btn--compact" href="/admin/infrastructure.html">Infrastructure</a>
36+
<a class="btn btn--compact" href="/admin/operations.html">Operations</a>
3637
<a class="btn btn--compact" href="/admin/platform-settings.html">Platform Settings</a>
3738
<a class="btn btn--compact primary" aria-current="page" href="/admin/system-health.html">System Health</a>
3839
<a class="btn btn--compact" href="/admin/tool-votes.html">Tool Votes</a>
@@ -231,15 +232,15 @@ <h2>Inspector</h2>
231232
<summary>Related Pages</summary>
232233
<div class="accordion-body content-stack">
233234
<a class="btn btn--compact" href="/admin/infrastructure.html">Infrastructure Reference</a>
234-
<a class="btn btn--compact" href="/owner/operations.html">Owner Operations Actions</a>
235+
<a class="btn btn--compact" href="/admin/operations.html">Admin Operations Actions</a>
235236
</div>
236237
</details>
237238
<details class="vertical-accordion" open>
238239
<summary>Guardrails</summary>
239240
<div class="accordion-body content-stack">
240241
<p>System Health is read-only and does not expose secrets.</p>
241242
<p>Infrastructure remains the architecture reference page.</p>
242-
<p>Owner Operations remains the action page.</p>
243+
<p>Admin Operations remains the action page.</p>
243244
</div>
244245
</details>
245246
</div>

admin/tool-votes.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ <h2>Admin</h2>
3333
<summary>Admin Tools</summary>
3434
<nav class="accordion-body content-stack" aria-label="Admin tool pages" data-admin-tool-menu>
3535
<a class="btn btn--compact" href="/admin/infrastructure.html">Infrastructure</a>
36+
<a class="btn btn--compact" href="/admin/operations.html">Operations</a>
3637
<a class="btn btn--compact" href="/admin/platform-settings.html">Platform Settings</a>
3738
<a class="btn btn--compact" href="/admin/system-health.html">System Health</a>
3839
<a class="btn btn--compact primary" aria-current="page" href="/admin/tool-votes.html">Tool Votes</a>

admin/users.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ <h2>Admin</h2>
3333
<summary>Admin Tools</summary>
3434
<nav class="accordion-body content-stack" aria-label="Admin tool pages" data-admin-tool-menu>
3535
<a class="btn btn--compact" href="/admin/infrastructure.html">Infrastructure</a>
36+
<a class="btn btn--compact" href="/admin/operations.html">Operations</a>
3637
<a class="btn btn--compact" href="/admin/platform-settings.html">Platform Settings</a>
3738
<a class="btn btn--compact" href="/admin/system-health.html">System Health</a>
3839
<a class="btn btn--compact" href="/admin/tool-votes.html">Tool Votes</a>

0 commit comments

Comments
 (0)