Skip to content

finished register dialog#4

Merged
RalkeyOfficial merged 2 commits into
developmentfrom
feature/REGISTERS-7/register-modal
Sep 25, 2024
Merged

finished register dialog#4
RalkeyOfficial merged 2 commits into
developmentfrom
feature/REGISTERS-7/register-modal

Conversation

@RalkeyOfficial
Copy link
Copy Markdown
Contributor

No description provided.

@RalkeyOfficial RalkeyOfficial merged commit e550990 into development Sep 25, 2024
@RalkeyOfficial RalkeyOfficial deleted the feature/REGISTERS-7/register-modal branch September 25, 2024 13:23
rubenvdlinde pushed a commit that referenced this pull request Jul 30, 2025
WilcoLouwerse added a commit that referenced this pull request May 7, 2026
Address PR #1436 review feedback:

- Replace `$data['share'] === 'true'` strict comparison with
  `$this->parseBool(value: $data['share'] ?? false)` in both
  `normalizeSingleFile` and `normalizeMultipleFiles`. This matches
  what `create()` already does and accepts `1`, `yes`, `on`, and a
  real boolean `true` instead of silently returning false for any
  non-`'true'` literal.
- Strengthen `testExtractUploadedFilesSingleFile` to assert the
  normalized shape (`share` is bool, `tags` is array) so a future
  refactor of `normalizeSingleFile` cannot silently re-introduce
  the original `TypeError: FileService::addFile(): Argument #4
  ($share) must be of type bool, null given`.
- Add `testExtractUploadedFilesShareParsing` data provider covering
  the truthy/falsy cases parseBool now accepts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
rubenvdlinde added a commit that referenced this pull request May 11, 2026
Runtime CRUD on /api/schemas and /api/registers with cache invalidation
and declarative-engine reload, so callers (especially OpenBuilt's schema
editor in chain spec #4) can author schemas at runtime instead of
shipping them as static JSON in lib/Settings/{app}_register.json.

Plus two follow-ups from the bootstrap-openbuilt smoke test (2026-05-11,
commit 3138e4c):
- importFromApp auto-creates a Register from x-openregister.app +
  info.title + info.description for application-type configurations
- ObjectService::searchObjectsBySlug helper resolves register/schema
  slugs to numeric IDs before delegating to searchObjects; existing
  searchObjects docblock updated to make the numeric-ID-only contract
  explicit

5 artifacts:
- proposal.md (kind=mixed, chained to openbuilt-schema-editor)
- specs/runtime-schema-api/spec.md (new capability)
- specs/data-import-export/spec.md (delta for importFromApp behaviour)
- design.md (5 decisions, migration plan)
- tasks.md (8 task groups, 28 tasks)

openspec validate --strict: passes.
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.

3 participants