Repository navigation
feat(ui): complete PP-M6 monitoring UI platform - #48
Merged
Merged
Conversation
Introduce UI API 1.1 with minor-gated Badge support, typed string/boolean/number projection slots, bounded Progress rendering, and deterministic loading/error/empty/content composition. Update the AI balance reference plugin to consume the generic UI contract and compile the generated state branches through the real Slint interpreter. Refs: PP-M6, FR-PLUGIN-01, F11, F12 Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --locked; cargo test --workspace --all-targets --locked; cargo clippy --workspace --all-targets --locked -- -D warnings; cargo check -p floatile-sdk --target wasm32-wasip2 --locked; cargo deny --locked check advisories bans sources Unverified: visual behavior on real X11, Wayland, Windows, and macOS desktops
Advance PP-M6 with UI API 1.2 minor-gated collection contracts. Project bounded Vec<String> state into Slint models, render Grid columns as explicit rows, expose SDK builders, and exercise the path in AI Balance. Refs: PP-M6, FR-PLUGIN-01, F11, F12 Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets; cargo test --workspace --all-targets; cargo clippy --workspace --all-targets -- -D warnings; cargo check -p floatile-sdk --target wasm32-wasip2; cargo deny check advisories bans sources Unverified: visual behavior on real X11, Wayland, Windows, and macOS desktops.
Advance PP-M6 with UI API 1.3 monitoring charts. Add a minor-gated Sparkline contract with bounded number models, required accessibility labels, host-owned semantic tones, SDK support, runtime projection, and AI Balance reference usage. Refs: PP-M6, FR-PLUGIN-01, F11, F12 Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --locked; cargo test --workspace --all-targets --locked; cargo clippy --workspace --all-targets --locked -- -D warnings; cargo check -p floatile-sdk --target wasm32-wasip2 --locked; cargo deny --locked check advisories bans sources Unverified: visual and accessibility behavior on real X11, Wayland, Windows, and macOS desktops.
Advance PP-M6 with UI API 1.4 responsive layouts. Add a minor-gated Responsive container with a bounded logical-pixel breakpoint, host-width-driven compact and wide branches, SDK support, renderer compilation evidence, and AI Balance reference usage. Refs: PP-M6, FR-PLUGIN-01, F11 Tests: cargo fmt --all -- --check; CARGO_BUILD_JOBS=1 cargo check --workspace --all-targets --locked; CARGO_BUILD_JOBS=1 cargo test --workspace --all-targets --locked; CARGO_BUILD_JOBS=1 cargo clippy --workspace --all-targets --locked -- -D warnings; cargo check -p floatile-sdk --target wasm32-wasip2 --locked; cargo deny --locked check advisories bans sources Unverified: responsive visual behavior on real X11, Wayland, Windows, and macOS desktops.
Advance PP-M6 with UI API 1.5 fixed host palette support. Define guest-safe named color tokens in the UI schema, reject unknown or conflicting color inputs, resolve tokens inside the renderer, expose an SDK helper, and apply the accent token in AI Balance. Refs: PP-M6, FR-PLUGIN-01, F11, F12 Tests: cargo fmt --all -- --check; CARGO_BUILD_JOBS=1 cargo check --workspace --all-targets --locked; CARGO_BUILD_JOBS=1 cargo test --workspace --all-targets --locked; CARGO_BUILD_JOBS=1 cargo clippy --workspace --all-targets --locked -- -D warnings; cargo check -p floatile-sdk --target wasm32-wasip2 --locked; cargo deny --locked check advisories bans sources Unverified: dynamic system-theme switching and visual contrast on real X11, Wayland, Windows, and macOS desktops.
Introduce UI API 1.6 accessibility labels for toggles, progress indicators, and gauges while preserving legacy document rendering. Map validated control roles, values, and checked state into generated Slint and update the Rust SDK, AI Balance reference, shell evidence, and contract documentation. Refs: PP-M6, FR-PLUGIN-01, F11 Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --locked; cargo clippy --workspace --all-targets --locked -- -D warnings; cargo test --workspace --all-targets --locked; cargo check -p floatile-sdk --target wasm32-wasip2 --locked; cargo deny --locked check advisories bans sources Unverified: real screen-reader accessibility trees and interaction on X11, Wayland, Windows, and macOS
Inspect the real AI Balance package output and assert that its validated FTUI consumes the PP-M6 state, collection, metric, chart, theme, responsive, and accessibility contracts without shipping third-party Slint or HTML. Refs: PP-M6, FR-PLUGIN-01, F11 Tests: cargo fmt --all -- --check; cargo test -p floatile-cli --test ai_balance --locked; cargo clippy -p floatile-cli --test ai_balance --locked -- -D warnings Unverified: real screen-reader behavior and visual rendering on X11, Wayland, Windows, and macOS
Record the completed UI API 1.1 through 1.6 slices and the package-level AI Balance acceptance evidence. Keep real screen-reader behavior, cross-platform visuals, and complete accessibility explicitly assigned to later PP-M10 environment validation. Refs: PP-M6, FR-PLUGIN-01, F11 Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --locked; cargo clippy --workspace --all-targets --locked -- -D warnings; cargo test --workspace --all-targets --locked; cargo check -p floatile-sdk --target wasm32-wasip2 --locked; cargo deny --locked check advisories bans sources Unverified: real screen-reader behavior and visual interaction on X11, Wayland, Windows, and macOS; cargo deny license gate remains governed by the unresolved licensing ADR
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.
变更目的
完成 PP-M6 UI 平台,使参考插件仅使用 Floatile UI IR 即可表达监控型界面,无需携带第三方 Slint 或 HTML。
关联:PP-M6、FR-PLUGIN-01、F11。
变更内容
widget.ftui,验证 PP-M6 组件、预算和标签契约。验证
环境:Linux x86_64、Rust 1.97.1、
wasm32-wasip2。cargo fmt --all -- --checkcargo check --workspace --all-targets --lockedcargo clippy --workspace --all-targets --locked -- -D warningscargo test --workspace --all-targets --lockedcargo check -p floatile-sdk --target wasm32-wasip2 --lockedcargo deny --locked check advisories bans sources以上检查全部通过。
cargo deny仅报告仓库现有的 duplicate warnings。未验证