Implement Tailwind dashboard matching reference design - #56
Merged
Conversation
- Add reading-row CSS pattern for clean label-value layout - Add card-head and card-body structure matching reference - Replace kv-grid with reading-row in Overview sections: - Current Readings: prevent label-value collision - Bridge Status: cleaner vertical list layout - Poll Timing: consistent row treatment - Alpaca Devices: simple device list - Update Safety Monitor cards with card-head structure - Update Observing Conditions table with card-head wrapper - Improve card hierarchy with better padding/borders - Fix template execution to use buffered approach - All tests pass (81.9% coverage) This implementation materially improves the rendered UI to match the reference design in docs/design/sqmeter-bridge-v1-reference.html. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@ibm/plex; license is included atthird_party/fonts/ibm-plex/OFL.txt./setupinto the dashboard shell with Configuration active while preserving POST/setupsaves.Validation
npm cinpm run build:assetsgo test ./internal/webgo test ./...go vet ./...go build ./cmd/sqmeter-ascom-alpacago test ./internal/web -coverprofile=/tmp/web-cover.outgo tool cover -func=/tmp/web-cover.outrg -n "fonts.googleapis|fonts.gstatic|cdn.tailwindcss|<style>|SQMeter Bridge v1|Tweaks" internal/web docs README.mdCoverage result:
internal/web93.5% statements.Manual preview
11112with a temporary config./,/setup,/static/app.css, and/healthreturned expected 200 responses.#configuration,#safety-monitor,#observing-conditions, and#diagnosticsare handled client-side by the bundled hash navigation script.Known limitations / deferred