PMM Agentic Workflow Designer: design system tokens, component states, and UX improvements - #154
Open
thanatornpodgemini-collab wants to merge 3 commits into
Open
Conversation
Rebuilds the Flowy demo into a full-featured PMM workflow designer with a token-based design system, component state completeness, canvas empty state, icon integration, and accessibility improvements. Key changes: - styles.css: CSS custom property token system (color, spacing, typography, radius); consolidated 5 near-identical border grays; added focus-visible rings, hover/active/disabled states on buttons and inputs; canvas-card hover; snap indicator matches app palette instead of Flowy default blue - index.html: SVG icons on all topbar buttons and search input; canvas empty state with onboarding copy and shortcut button; aria-live on analytics panel - main.js: empty state show/hide tied to block count; grab icon in template blocks; build-starter-hint wired to existing starter flow builder - engine/flowy.js + flowy.min.js: coordinate/zoom fixes, rearrangeMe NaN fix, insertAdjacentHTML performance fix, setZoom API, destroy cleanup Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds 28 new draggable templates across 10 categories: Competitive, Stakeholder, Strategy, GTM, Customer, Research, Content, Campaigns, Demand Gen, Events, Enablement, and Partners. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Documents the two session commits, wrangler deploy steps for pmm.hkexx-site.com, GitHub sync state, and next feature ideas. Co-Authored-By: Claude Sonnet 4.6 <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.
Summary
This PR transforms the Flowy demo into a PMM Agentic Workflow Designer — a drag-and-drop workflow mapping tool for Product Marketing Managers — and introduces a systematic design system overhaul:
styles.css): Full:rootcustom property layer covering colors, spacing scale, typography scale, and border-radius. Five near-identical hardcoded border grays consolidated into--color-border. All hardcoded hex values replaced with tokens throughout.focus-visiblerings on every interactive element (buttons, inputs, selects, template blocks); active/pressed state on buttons; disabled state; hover state on unselected canvas cards. Snap indicator color overridden to match app palette instead of Flowy's default blue.assets/). Grab handle icon added to template block headers. Previously, all 26 SVG assets were unused.aria-live="polite"on the analytics panel for screen reader announcements;lang="en"on<html>; all icon images markedaria-hidden="true".engine/flowy.js+flowy.min.js):rearrangeMe()NaN fix (r_array.y→r_array[0].y),insertAdjacentHTMLreplacinginnerHTML +=to prevent DOM thrashing,setZoom()API for CSS transform coordinate math, andflowy.destroy()cleanup method.Test plan
demo/index.htmlin a browser (no server required — fully offline):rootin DevTools — all border colors, accent color, and spacing resolve to CSS variables🤖 Generated with Claude Code