Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

Implement register-schemas — 5 schemas with seed data for Planix data model#3

Merged
WilcoLouwerse merged 2 commits into
developmentfrom
feature/2/register-schemas
Apr 3, 2026
Merged

Implement register-schemas — 5 schemas with seed data for Planix data model#3
WilcoLouwerse merged 2 commits into
developmentfrom
feature/2/register-schemas

Conversation

@WilcoLouwerse

@WilcoLouwerse WilcoLouwerse commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace placeholder example schema with 5 production schemas: task, project, column, timeEntry, label
  • Add 28 seed data objects (5 labels, 3 projects, 12 columns, 5 tasks, 3 time entries) for demo environment
  • Fix repair step registration: declare <repair-steps> in info.xml instead of invalid registerRepairStep() call
  • Fix SettingsService::loadConfiguration() to read and parse planix_register.json and pass all required args to importFromApp()
  • Add complete register definition (slug, schemas, tablePrefix, folder) required by ImportHandler
  • Bump app version to 0.2.0, add CHANGELOG.md and feature documentation

Checks

  • ✅ All local checks passed (composer check:strict — PHPCS, Psalm, PHPStan)

Test plan

  • All 5 schemas import and link to planix register
  • All 28 seed objects created in magic tables
  • Re-import is idempotent (no duplicates)
  • Schema validation rejects missing required fields (HTTP 400)
  • Schema validation rejects invalid enum values (HTTP 400)
  • CI passes

Closes #2

Replace example schema with 5 production schemas (task, project, column,
timeEntry, label), add seed data (5 labels, 3 projects, 12 columns,
5 tasks, 3 time entries), register deep links for all schemas, and
bump register version to 0.2.0.
…x data model

Replace placeholder example schema with 5 production schemas (task, project,
column, timeEntry, label) and 28 seed data objects. Fix repair step registration
(info.xml), loadConfiguration() argument passing, and register definition fields
required by ImportHandler. All quality checks pass (PHPCS, Psalm, PHPStan).
@github-actions

github-actions Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Quality Report

Repository ConductionNL/planix
Commit cc21fc8
Branch 3/merge
Event pull_request
Generated 2026-04-03 11:23 UTC
Workflow Run https://github.com/ConductionNL/planix/actions/runs/23944453671

Summary

Group Result
PHP Quality PASS
Vue Quality PASS
Security PASS
License PASS
PHPUnit PASS
Newman SKIP
Playwright SKIP

PHP Quality

Tool Result
lint PASS
phpcs PASS
phpmd PASS
psalm PASS
phpstan PASS
phpmetrics PASS

Vue Quality

Tool Result
eslint PASS
stylelint PASS

Security

Ecosystem Result
composer PASS
npm PASS

License Compliance

Ecosystem Result
composer PASS
npm PASS

composer dependencies (100 total)

Metric Count
Approved (allowlist) 100
Approved (override) 0
Denied 0

npm dependencies (215 total)

Metric Count
Approved (allowlist) 215
Approved (override) 0
Denied 0

PHPUnit Tests

PHP Nextcloud Result
Overall PASS

Code coverage: 0% (0 / 3 statements)

Integration Tests (Newman)

Newman integration tests were not enabled for this run.

E2E Tests (Playwright)

Playwright E2E tests were not enabled for this run.


Generated automatically by the Quality workflow.

Download the full PDF report from the workflow artifacts.

@WilcoLouwerse WilcoLouwerse merged commit 825931b into development Apr 3, 2026
50 checks passed
@rubenvdlinde rubenvdlinde deleted the feature/2/register-schemas branch April 6, 2026 13:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant