Files
headquarter/apps/web/.pi-map.index.md
Developer 2ece7074f6 fix: improve mobile terminal alternate-screen detection and scrolling
- Revert touch-action: none on .xterm-viewport so xterm.js can fall back
  to its own viewport scrolling when the custom handler doesn't take over.
- Detect alternate screen via reference equality
  (term.buffer.active === term.buffer.alternate) instead of the
  string, which could report normal buffer incorrectly.
- Lower vertical-scroll activation threshold from 4px to 2px and only
  prevent default once a vertical gesture is recognized.
- In normal buffer use term.scrollLines() so xterm.js handles the buffer
  scroll consistently; in alternate screen continue sending SGR 1006
  mouse-wheel sequences to tmux/vim.

Quality gates: typecheck, lint clean, npm test -- --run 87 passed.
2026-06-13 20:42:52 +00:00

41 lines
1.0 KiB
Markdown

# apps/web (index)
dir: apps/web
## role
Frontend web application providing a React-based UI with code editing, terminal, and routing capabilities for the "headquarter" project.
## parent
index: apps/.pi-map.index.md
map: apps/.pi-map.md
## children
- apps/web/.pi-lens
index: apps/web/.pi-lens/.pi-map.index.md
map: apps/web/.pi-lens/.pi-map.md
- apps/web/public
index: apps/web/public/.pi-map.index.md
map: apps/web/public/.pi-map.md
- apps/web/src
index: apps/web/src/.pi-map.index.md
map: apps/web/src/.pi-map.md
## files
- .env.example
- .eslintrc.cjs
- Dockerfile
- index.html
- nginx.conf
- package-lock.json
- package.json
- tsconfig.json
- vite.config.ts
## links
index: apps/web/.pi-map.index.md
map: apps/web/.pi-map.md
## workflows
- change web behavior
read: .env.example, .eslintrc.cjs, Dockerfile
- change web config
read: package-lock.json, package.json, tsconfig.json
- explore web subdirectories
index: apps/web/.pi-lens/.pi-map.index.md, apps/web/public/.pi-map.index.md, apps/web/src/.pi-map.index.md
## dirty
-