Skip to content

feat(planninq): build projects-templates-shared-workflow - #1246

Open
rubenvdlinde wants to merge 1 commit into
developmentfrom
quality/build-projects-templates-shared-workflow-b2
Open

rubenvdlinde wants to merge 1 commit into
developmentfrom
quality/build-projects-templates-shared-workflow-b2

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Round 2 of openspec/changes/projects-templates-shared-workflow.

Tasks done

  • 2.4: t-shirt size estimates. task.estimateSize (string, max 32, nullable; task schema 0.14.0, register 0.41.0). On a project whose workflow sets the t-shirt scale, the card shows the size and TaskDetail offers exactly the workflow's sizes (WorkflowEstimateField, src/utils/workflows.js). Ticked.
  • E2E specs the tasks name, written from the change's scenarios (base URL from env, regular users with an empty storage state, admin only for API seeding and the admin workflows section):
    • tests/e2e/project-templates.spec.ts: marking a template, starting from a template, copying without people.
    • tests/e2e/shared-workflow.spec.ts: one change reaches every project, labels stay app-wide, story points on a Fibonacci scale, moving a project onto a workflow.
  • 3.2 ticked: every scenario now has a named test or an @e2e exclude.

Tasks left and why

  • 1.1 KPI filter: OpenRegister's aggregation SQL turns ne / notIn into <> / NOT IN, which drop projects whose isTemplate is NULL (every project made before the property). It needs a backfill or a null-safe operator first; that is a decision, recorded in tasks.md.
  • The e2e specs have not run against a live instance yet.

Tests added

  • PlanninqRegisterSchemaTest::testATaskStoresATShirtSize
  • 6 vitest cases in tests/vitest/workflowEstimate.spec.js (scale, card label, choices, patch, picked option, save)
  • registerImport.golden.json re-recorded (register version only)

Suite before/after

  • PHPUnit: 1253 → 1254 tests, 0 failures
  • Vitest: all 157 files pass, 0 failures
  • eslint clean on touched files; phpcs adds no errors on the touched test file

Generated by Claude Code

Round 2: t-shirt size estimates on a workflow (task.estimateSize, task
schema 0.14.0, register 0.41.0), and the e2e specs the tasks name:
tests/e2e/project-templates.spec.ts and tests/e2e/shared-workflow.spec.ts.

Assisted-by: ClaudeCode:claude-opus-5-5

This branch has not been deployed

No deployments
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