Repository navigation
docs: document the design-tool bridge and its findings - #121
Merged
Merged
Conversation
Rewrite the plugin, node, how-to, tutorial and troubleshooting docs around what the code does: one protocol, the Bridge ID, the MHB collection/token set and type mapping, editor-only (neither tool runs plugins in prototype mode), the working default broker, and the raw topic table for other MQTT clients. Remove the contract no code implemented (`figma/<name>` topics, `microflow/v1/…`, full VariableIDs in topics, the `/set` link workaround, Host/Port fields), and the claim that a Penpot prototype can drive an LED. Update README, ARCHITECTURE, SECURITY (plain-text plugin credentials, allowedDomains, rejectUnauthorized, public broker), QA and TECH, and record the outcome and findings in docs/plans/design-tool-bridge.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
The docs described a contract no code implemented:
figma/<name>topics on the generic MQTT node, including in both Penpot pages and two templates;microflow/v1/…topics with fullVariableIDs;/setweb route and amicroflow-studio://scheme for prototypes;What changes
mosquitto_sub microflow/<id>/#), the glossary, the MQTT node page, and the home page string.packages/design-bridge, the protocol seam), SECURITY (plain-text plugin credentials,allowedDomains: ["*"],rejectUnauthorized: false, the Bridge ID as the only separation on a public broker), QA and TECH.docs/plans/design-tool-bridge.md: the plan, its decisions, and §6 Outcome and findings: what was built, where the build differs from the plan, the Penpot and Figma API findings, verification, and what is still open.Verification
bun run types:checkand a fullbun run buildof apps/fumadocs pass./docs/…link and anchor resolves.🤖 Generated with Claude Code