Hide workspace and agent content when the native sidebar rail is collapsed. Add persistent whole-composer collapse controls and a temporary Zen mode that removes side panels, chat header, and composer while keeping an in-chat exit control available. Cover state transitions, Escape handling, React rerender idempotence, and cleanup with a dependency-free DOM regression test.
23 lines
802 B
Bash
Executable file
23 lines
802 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
repository_directory=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
|
|
cd "$repository_directory"
|
|
|
|
bash -n install.sh uninstall.sh bin/dsh-app bin/free-port-3080.sh test/*.sh
|
|
node --check scripts/apply-compatibility-patches.mjs
|
|
node test/profile-manifest.test.mjs
|
|
node test/ui-controls.test.mjs
|
|
python3 test/editor-artifacts.test.py
|
|
python3 test/editor-runtime.test.py
|
|
python3 test/cloudflared-artifact.test.py
|
|
bash test/compatibility-patches.test.sh
|
|
bash test/no-secrets.test.sh
|
|
bash test/install-layout.test.sh
|
|
systemd-analyze verify systemd/dsh-web.service
|
|
temporary=$(mktemp --suffix=.desktop)
|
|
trap 'rm -f "$temporary"' EXIT
|
|
sed "s|@HOME@|$HOME|g" desktop/dsh-app.desktop.in > "$temporary"
|
|
desktop-file-validate "$temporary"
|
|
|
|
printf 'all tests passed\n'
|