Skip to content

Distinguish duplicate workflows in the catalogue - #3233

Merged
AbigailDeng merged 1 commit into
feat/2026-08-04_workflow-activity-vnextfrom
fix/2026-08-06_workflow-catalogue-discriminators
Aug 6, 2026
Merged

Distinguish duplicate workflows in the catalogue#3233
AbigailDeng merged 1 commit into
feat/2026-08-04_workflow-activity-vnextfrom
fix/2026-08-06_workflow-catalogue-discriminators

Conversation

@AbigailDeng

Copy link
Copy Markdown
Contributor

Problem and solution

Same-name workflow rows exposed too little authoritative context to choose the right definition. This change makes purpose, Draft/Published revision, save-location ownership, and localized update time part of the row hierarchy. It adds an accessible row menu for Rename and Copy workflow reference, and warns on duplicate names during create/rename without enforcing uniqueness.

Copy reference uses the actual workflowId. It never substitutes a member identity or published service identity. The current catalogue contracts do not expose last-editor identity; the frontend omits that fact rather than inferring it from auth, route, or another identifier.

Impact paths

  • /scopes/:scopeId/workflow-activity-vnext/workflows
  • /scopes/:scopeId/workflow-activity-vnext/workflows/new
  • Workflow Activity vNext EN/ZH locale catalogues and responsive table styling
  • Route-level catalogue and creation integration coverage

Local verification

  • Related/changed tests: pnpm --dir apps/aevatar-console-web exec jest --runInBand --runTestsByPath src/pages/workflow-activity-vnext/index.test.tsx - PASS, 73/73 tests
  • Changed-file static checks: pnpm exec biome check src/locales/workflowActivityVNextMessages.en-US.ts src/locales/workflowActivityVNextMessages.zh-CN.ts src/pages/workflow-activity-vnext/index.test.tsx src/pages/workflow-activity-vnext/styles.ts src/pages/workflow-activity-vnext/workflows/NewWorkflowPage.tsx src/pages/workflow-activity-vnext/workflows/WorkflowsPage.tsx from apps/aevatar-console-web - PASS, 6 files
  • Test stability: bash tools/ci/test_stability_guards.sh - PASS
  • Design baseline: python3 docs/design-baselines/workflow-activity-vnext/verify-baseline.py from apps/aevatar-console-web - PASS, hash verified and 17/17 frames
  • Diff integrity: git diff --check - PASS
  • A reliable repository-native affected typecheck target is unavailable, so local typecheck was skipped.
  • Full frontend suite/build: deferred to GitHub CI by personal local workflow policy.

Design baseline

Design baseline:
apps/aevatar-console-web/docs/design-baselines/workflow-activity-vnext/
Primary design:
aevatar-workflow-activity-vnext.excalidraw
Design SHA-256:
30e74d7b410ae72c4c91432355436679033679c54c10b1702908435b001577de
Contract specification:
apps/aevatar-console-web/docs/superpowers/specs/
2026-08-04-workflow-activity-vnext-design.md
User paths:
apps/aevatar-console-web/docs/superpowers/specs/
2026-08-04-workflow-activity-vnext-user-paths.md
Authentication and localization:
Existing Aevatar login, callback, session, returnTo, and Umi locale logic;
presentation may change, behavior may not.
Production data source:
Real APIs and API-acknowledged user actions only; no mock fallback.
Baseline integrity:
python3 apps/aevatar-console-web/docs/design-baselines/
workflow-activity-vnext/verify-baseline.py

Closes #3218

@AbigailDeng
AbigailDeng merged commit deb529a into feat/2026-08-04_workflow-activity-vnext Aug 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant