Skip to content

[OpenSpec] forms-signature-audio-and-location #983

Open

Description

@github-actions

⚠️ OpenSpec-managed issue — this content is automatically synced
from the openspec/ directory. Manual edits will be overwritten on next sync.

Artifacts

Specs

Tasks

  • T01: Add signature, audio and location to FIELD_TYPES in src/components/page-editor/fields/FormFieldBuilder.vue with their option controls (REQ-BQSA-001). Verify: vitest tests/components/page-editor/FormFieldBuilder.deviceFields.spec.js.
  • T02: Add file to SUPPORTED_TYPES in src/components/schema-editor/FieldEditor.vue, and the "Add the property" action from the form field builder through the schema designer's save path (REQ-BQSA-002). Verify: vitest case in tests/components/schema-editor/FieldEditor.spec.js.
  • T03: Validate the new field types in src/services/manifestValidation/formLogic.js: target properties, audio length against the inline cap, signature modes, and no audio or location on public forms (REQ-BQSA-002, REQ-BQSA-004). Verify: cases in tests/services/formLogicValidation.spec.js.
  • T04: Add "Show my position" and "Center on my position" to src/components/page-editor/MapPageEditor.vue (REQ-BQSA-003). Verify: vitest case in tests/components/page-editor/MapPageEditor.spec.js.
  • T05: Derive deviceFeatures[] on manifest save and store it on ApplicationVersion; set a FeaturePolicy in DashboardController::builder(), builderSlash() and builderPath() that adds 'self' for those features only (REQ-BQSA-004). Verify: PHPUnit cases for the derivation and for the response policy with and without features.
  • T06: File the renderer half with nextcloud-vue: the three form field types in cnFormFieldRenderer.js, the manifest schema values, and showUserLocation and centerOnUser on CnMapPage, with this spec as the contract. Verify: the nextcloud-vue change exists and cites REQ-BQSA-001 and REQ-BQSA-003.
  • T07: Playwright tests/e2e/form-device-fields.spec.ts with a granted geolocation and a fake microphone: a signature, a clip and a position land on a record (REQ-BQSA-001, REQ-BQSA-002, REQ-BQSA-004).
  • T08: Strings and docs: English and Dutch for the field types, options, the property offer and the refusals (l10n/en.json, l10n/nl.json), and a section in docs/ on signatures, spoken notes and positions in forms.
  • T09: Run openspec validate forms-signature-audio-and-location --strict.

Design

See design.md for technical design details.


Synced from openspec/changes/forms-signature-audio-and-location by OpenSpec workflow
App: buildiq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions