Skip to content

Hide live controls from public switch page#35

Merged
Pigbibi merged 1 commit into
mainfrom
codex/hide-public-live-controls
Jun 9, 2026
Merged

Hide live controls from public switch page#35
Pigbibi merged 1 commit into
mainfrom
codex/hide-public-live-controls

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace public fallback account data with non-sensitive platform placeholders
  • hide account, strategy, mode, run controls, and summary unless private config is loaded after login
  • add Worker regression checks for public page and unauthenticated config response

Tests

  • jq empty web/strategy-switch-console/account-options.example.json web/strategy-switch-console/strategy-profiles.example.json
  • node --experimental-default-type=module tests/strategy_switch_worker_validation.mjs
  • sed -n '/<script>/,/</script>/p' web/strategy-switch-console/index.html | sed '1d;' | node --check --input-type=commonjs
  • node --check --input-type=module < web/strategy-switch-console/page_asset.js
  • node --check --input-type=module < web/strategy-switch-console/worker.js
  • python3 scripts/runtime_settings.py validate
  • python3 -m unittest discover -s tests -v
  • git diff --check

@Pigbibi Pigbibi merged commit e11154c into main Jun 9, 2026
2 checks passed
@Pigbibi Pigbibi deleted the codex/hide-public-live-controls branch June 9, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant