Phase 2 — View Switching SOP
SkillDev toolsPhase 2 SOP for the AIDE offline IDE, make LEARN / MAP / EXP / RUN view switching clean: overlays on the editor column, no page scroll, no layout breakage. Use whenever changing views, fixing scrolling/resizing, or styling #learn-view / #blueprint-view overlays.
Use Phase 2 — View Switching SOP in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Phase 2 — View Switching SOP and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Phase 2 skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by anonymousnomad/covert-coder in skills/packs/aide-phase2-view-switching/SKILL.md and read by Ahel’s review.
Goal: LEARN, MAP, EXP, RUN buttons swap views cleanly; activity bar and sidebars stay visible; no page-level scrolling.
Research base (verified)
- Theia/VS Code layout model: the app shell is a fixed viewport (100vw × 100vh) with explicit regions; the active panel scrolls, never the root. Editors are tab-switched content, not stacked pages.
- Scroll containment: a scrollable region needs
overflow-y: autoand an explicitmax-height(orflex: 1 1 auto; min-height: 0inside a flex column).overflow: hiddenon root only. - Overlay panels:
position: absoluteinside the editor column is the correct mechanism for a full-column overlay (this is how Modals/quick-open work in VS Code).
Layout contract (CSS, Desktop/frontend/styles.css)
html, body, #app:height:100vh; width:100vw; overflow:hidden; margin:0— root NEVER scrolls.- App shell: flex column; sidebar
position:fixed; left:0; top:0; width:240px; height:100vh; overflow-y:auto; mainmargin-left:240px; height:100vh; display:flex; flex-direction:column. #content:flex:1; overflow-y:auto; min-height:0..blueprint-stageand all model-output panels:flex:1 1 auto; min-height:0; overflow-y:auto— they fill their parent and scroll internally.#learn-view,#blueprint-view:position:absolute; inset:0; overflow-y:autooverlay on the editor column (contained overlays only — the one allowed absolute case).box-sizing:border-boxeverywhere.- No
position:absoluteinside scrollable areas except contained modals; nooverflow:hiddenon intermediate wrappers.
JS contract (Desktop/frontend/app.js)
- View switch: hide editor chrome (tabs, breadcrumbs, editor, terminal, statusbar) when showing #learn-view/#blueprint-view; show them again on EXP; RUN focuses/expands the bottom terminal panel.
- ResizeObserver on the main workspace recalibrates panel heights;
window.addEventListener('resize', layoutReflow). - Every switch logs
VIEW: <name>to console (acceptance requirement).
Acceptance gates
- DevTools: computed
#contentheight = viewport minus topbar;.blueprint-stagehasoverflow-y:autoand shows scrollbars when content overflows. - Click LEARN → editor chrome hidden, #learn-view fills column; MAP → blueprint fills; EXP → editor chrome back; RUN → terminal panel focused/expanded. Activity bar + sidebars visible throughout.
- html/body computed height equals viewport; no root scrollbar ever.
Signals
- GitHub stars
- 43
- Forks
- 14
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
aide-phase2-view-switching- Source
- github.com/anonymousnomad/covert-coder
github.com/anonymousnomad/covert-coder