From 22d9f9672bf767c5bb576426e0bbff3ebc6b4e14 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Sun, 7 Jun 2026 07:42:19 -0300 Subject: [PATCH] Improve floor grid and add dev tooling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Scale floor perspective with viewport height so grid reaches horizon on full-screen KDE (was broken with fixed 700px perspective value) - Increase grid line thickness 1px → 2px to reduce sub-pixel flickering - Remove DANCEBOT-9000 title text - Add viewport meta tag for correct layout in WebEngineView - Add dev-server.sh (port 3000) with in-browser music ticker shim Co-Authored-By: Claude Sonnet 4.6 --- dev-server.sh | 12 ++++++ plugin/contents/ui/dancer.html | 67 +++++++++++++++++++--------------- 2 files changed, 49 insertions(+), 30 deletions(-) create mode 100755 dev-server.sh diff --git a/dev-server.sh b/dev-server.sh new file mode 100755 index 0000000..fe99114 --- /dev/null +++ b/dev-server.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +PORT=${1:-3000} +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/plugin/contents/ui" && pwd)" + +echo "==> Serving $DIR on http://localhost:$PORT/dancer.html" +echo " Press Ctrl+C to stop." +echo "" + +cd "$DIR" +exec python3 -m http.server "$PORT" diff --git a/plugin/contents/ui/dancer.html b/plugin/contents/ui/dancer.html index 7eb03dd..c521641 100644 --- a/plugin/contents/ui/dancer.html +++ b/plugin/contents/ui/dancer.html @@ -2,6 +2,7 @@ +