Repository navigation
Expand file tree
/
Copy pathdebug-overrides-dialog.html
More file actions
33 lines (33 loc) · 2.26 KB
/
Copy pathdebug-overrides-dialog.html
File metadata and controls
33 lines (33 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div class="phoenix-debug-overrides modal">
<div class="modal-header">
<h1 class="dialog-title">Debug Overrides</h1>
</div>
<div class="modal-body">
<div style="margin-bottom: 6px;">
<label style="display: flex; align-items: center; gap: 8px;">
<input type="checkbox" class="ai-panel-local-override" {{#aiPanelLocalOverride}}checked{{/aiPanelLocalOverride}}>
<span>AI panel onboarding site — local server</span>
<i class="fa-solid fa-circle-info"
style="opacity: 0.5; cursor: help; font-size: 12px;"
title="Load the intro video config (onbaording_v5/ai_panel_config.json) and the Surprise Me demo recordings (onbaording_v5.5/ai-recordings.json) from http://localhost:5555/ instead of the production https://ai-panel-onboarding.phcode.dev/. Run `node server.js` in the ai-panel-onboarding repo first. Reload Phoenix after toggling."></i>
</label>
</div>
<div style="margin-bottom: 6px;">
<label style="display: flex; align-items: center; gap: 8px;">
<span>Accounts server</span>
<select class="accounts-server-override" style="margin: 0;">
<option value="">Production (account.phcode.dev)</option>
<option value="staging" {{#accountsStaging}}selected{{/accountsStaging}}>Staging (account-stage.phcode.dev)</option>
<option value="dev" {{#accountsDev}}selected{{/accountsDev}}>Local dev (localhost:5000)</option>
</select>
<i class="fa-solid fa-circle-info"
style="opacity: 0.5; cursor: help; font-size: 12px;"
title="Which accounts server the app talks to. Local dev expects loginService `npm run serve` on localhost:5000. Notes: desktop auto-auth only works against production (manual OTP on staging/dev); staging login in the browser may need its secure session cookie copied manually."></i>
</label>
</div>
</div>
<div class="modal-footer">
<button class="dialog-button btn" data-button-id="cancel">Cancel</button>
<button class="dialog-button btn primary debug-overrides-save-btn" data-button-id="ok">Save</button>
</div>
</div>