Skip to content

Create shared DataOps design system and component tokens #46

Description

@alexeygrigorev

Create shared DataOps design system and component tokens

Status: pending
Tags: docs, design, portal, frontend, P0
Depends on: None
Blocks: #43, #44, first shared portal-shell component implementation issue

Scope

Create the internal DataOps design-system specification that keeps the unified
portal, docs workspace, work-engine flows, and future assistant surfaces in one
visual and interaction language.

This issue produces documentation only. It should not implement components or
change runtime UI behavior. The spec should be based on:

  • .goal-v1.md: workflow-first daily operations workspace for the DataTalksClub
    operations manager.
  • frontend/DESIGN.md: Notion-like, one-page-at-a-time workspace model.
  • docs/local-development.md: current frontend/work-engine runtime split and
    verification commands.
  • Current portal UI under frontend/: library, editor, create flow, operations
    home, sidebar/drawer, task/bundle/notification panels, document search, inline
    edit/save state, and dark mode tokens.
  • Current work-engine UI under work-engine/src/pages/index.html and
    work-engine/src/public/app.js: sign-in, top navigation, dashboard, task
    tables, bundle cards, filters, recurring work, notifications, template editor,
    forms, empty states, badges, and proof/follow-up controls.

The output should define a practical V1 component and token system that can be
implemented incrementally with the current plain HTML/CSS/JavaScript stack. It
must preserve the work already done to make the surfaces feel close, while
identifying where the work-engine still uses legacy DataTasks visual patterns
that should be normalized into the shared DataOps system.

The spec should cover:

  • Design principles for the operations manager experience: calm, focused,
    workflow-first, document context available but not dominant, and low-chrome
    daily execution.
  • Tokens for color, typography, spacing, radii, borders, focus states, shadows,
    status colors, density, z-index/layers, and responsive breakpoints.
  • Component inventory and usage rules for: workspace shell, sidebar/drawer,
    top bars, page headers, command/search, filters, segmented controls, tabs,
    buttons, icon buttons, links, forms, field groups, date inputs, tables, lists,
    task rows, workflow/bundle cards, status badges, reminder/follow-up chips,
    empty states, banners/toasts, modals/dialogs, panels/drawers, document cards,
    process-doc context blocks, proof/evidence controls, file/artifact rows, and
    assistant job/output panels.
  • Mapping from existing portal/work-engine UI classes or surfaces to the shared
    component inventory.
  • Responsive behavior for desktop, tablet, and Pixel 7-sized mobile layouts,
    including graceful degradation when the UI cannot show navigation, details,
    and editing at the same time.
  • Accessibility rules for focus visibility, keyboard access, reduced motion,
    labels, contrast, status text, and non-color-only state.
  • Implementation sequencing: what can be standardized first with CSS tokens and
    existing DOM, what needs HTML cleanup, what should wait for a future frontend
    framework decision, and what should not be changed in V1.
  • A migration plan that keeps V1 usable while components are replaced
    incrementally.
  • At least one concrete follow-up implementation issue to apply the first shared
    components to the V1 portal shell.

Designer audit is required before Software Engineer implementation. The Designer
should inspect current docs portal and work-engine screens, using screenshots
where possible, and comment with component inventory findings, visual drift, and
priority recommendations. The Software Engineer should use that audit as input
when writing the spec.

Acceptance Criteria

  • A durable internal design-system spec exists under docs/ or _docs/
    with stable title, purpose, and links from the relevant docs index if
    appropriate.
  • The spec explicitly references the V1 goal and frames the system around
    the operations manager's daily workflow, not a generic documentation site
    or admin dashboard.
  • The spec defines V1 tokens for color, typography, spacing, radii, borders,
    focus states, shadows, status colors, density, layers, and responsive
    breakpoints.
  • The spec defines component primitives and usage rules for the portal
    shell, navigation, search/filtering, document surfaces, task/workflow
    execution, proof/evidence capture, reminders/follow-ups, modals/panels,
    empty states, and assistant job/output surfaces.
  • Existing frontend/ docs portal surfaces are audited and mapped to the
    component inventory, including library, editor, create flow, operations
    home, sidebar/drawer, document rows/cards, task/bundle panels, and
    notification panel.
  • Existing work-engine/ UI surfaces are audited and mapped to the
    component inventory, including sign-in, top navigation, dashboard, task
    table, bundle cards, filters/forms, recurring work, notifications, and
    template editor.
  • The spec names concrete visual drift between the current docs portal and
    legacy DataTasks/work-engine UI and gives a prioritized migration order.
  • Responsive rules cover desktop, tablet, and Pixel 7-sized mobile behavior
    for the main workspace shell, document editing, task lists, workflow
    detail, assistant panels, and modals/drawers.
  • Accessibility rules cover keyboard navigation, focus states, contrast,
    labels, status messaging, and state that is not communicated only by
    color.
  • The spec identifies which pieces can be implemented with current
    HTML/CSS/JavaScript, which require DOM cleanup, and which should wait for
    a future frontend framework decision.
  • The spec includes a phased migration plan that keeps V1 usable throughout
    the transition.
  • At least one concrete follow-up GitHub issue is linked for applying the
    first shared components to the V1 portal shell.
  • The spec explicitly says Podcast Assistant and future assistant UI must
    reuse the same DataOps components instead of introducing a second visual
    language.
  • Designer audit findings are linked from the issue before Software
    Engineer implementation starts.

Test Scenarios

Scenario: Designer audits existing UI before implementation

Given: current frontend/ and work-engine/ UI surfaces are available locally
When: the Designer reviews the docs portal and work-engine screens
Then: the issue has a screenshot-backed or source-backed audit comment that
identifies current component patterns, visual drift, responsive risks, and
priority recommendations for the design-system spec.

Scenario: Engineer writes the design-system spec

Given: the Designer audit exists on this issue
When: the Software Engineer creates the design-system spec
Then: the document defines tokens, components, usage rules, surface mappings,
responsive behavior, accessibility rules, and migration sequence for the current
DataOps frontend/work-engine stack.

Scenario: Spec supports a first implementation issue

Given: the design-system spec exists
When: the next implementation issue applies shared shell/components to the V1
portal
Then: that issue can point to concrete token names, component names, responsive
rules, and migration boundaries instead of inventing a separate visual system.

Scenario: Assistant UI stays unified

Given: #44 or later assistant UI work is groomed
When: the PM or Designer references the design-system spec
Then: assistant job panels, outputs, artifacts, and review actions use the same
component vocabulary as tasks, workflows, documents, and reminders.

Out of Scope

  • Implementing CSS, JavaScript, or runtime component changes.
  • Rebuilding the portal shell, work-engine navigation, or Podcast Assistant UI.
  • Choosing or migrating to a new frontend framework.
  • Replacing the current plain HTML/CSS/JavaScript stack.
  • Creating a public brand/design guideline for DataTalksClub marketing.
  • User-facing prose polish or stylint-style review; this is internal product
    and design-system documentation.
  • Redesigning the V1 information architecture beyond component and layout rules
    needed to keep Create portal UI information architecture #43/Implement Podcast Assistant portal UI in workflow context #44 aligned.

Dependencies

  • No code dependency blocks grooming or starting this issue. The current
    imported frontend/ and work-engine/ surfaces are sufficient source
    material.
  • Designer audit is required before Software Engineer implementation because
    this issue is a design-system specification and must preserve the existing
    visual work rather than relying only on source-code inspection.
  • Create portal UI information architecture #43 and Implement Podcast Assistant portal UI in workflow context #44 should consume this design-system output when they are groomed or
    implemented; they should not define independent component languages.
  • If the follow-up portal-shell implementation issue does not already exist,
    the Software Engineer or PM should file/link it as part of satisfying the
    acceptance criteria.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Must havedesignDesign and UXdocsDocumentation or process docs workfrontendFrontend UIportalShared portal shell and UX

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions