Skip to content

docs: document options.encryption_hint for JSON editor fields - #409

Merged
natocTo merged 1 commit into
mainfrom
natocTo-UT-4836-encryption-hint-option
Aug 5, 2026
Merged

docs: document options.encryption_hint for JSON editor fields#409
natocTo merged 1 commit into
mainfrom
natocTo-UT-4836-encryption-hint-option

Conversation

@natocTo

@natocTo natocTo commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Documents a new component configuration schema option shipped in keboola/ui#7627 (Linear UT-4836).

What the option does

A format: editor field in application/json mode stores the parsed JSON, so a #-prefixed key inside such a field really is encrypted on save — regardless of whether the property declares type: "string" or type: "object". The UI states this in a note below the editor.

For a field whose JSON is not Keboola configuration (a vendor query filter tree, a request payload template) that note advertises an action the component cannot use: the platform encrypts the key and the component receives ciphertext. Component authors can now hide the note with "options": { "encryption_hint": false }.

Default is unchanged — the note keeps rendering wherever it does today, and the option does not change encryption behaviour in any way.

Changes

  • extend/component/ui-options/configuration-schema.md — one row in the Supported Options table, next to options.editor.
  • extend/component/ui-options/ui-examples/configuration-schema-examples.md — a short note plus a minimal snippet in the existing Codemirror (json/sql/python..) Editor section.

🤖 Generated with Claude Code

A JSON-mode `format: editor` field stores the parsed JSON, so `#`-prefixed keys
inside it are encrypted on save and the UI says so below the editor. For a field
that does not hold Keboola configuration the note advertises something the
component cannot use, so the UI now lets an author hide it with
`options.encryption_hint: false`. Encryption behaviour itself is unchanged.

Implements the docs half of keboola/ui#7627.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

UT-4836

@natocTo
natocTo merged commit d43665a into main Aug 5, 2026
1 check passed
@natocTo
natocTo deleted the natocTo-UT-4836-encryption-hint-option branch August 5, 2026 13:31
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.

2 participants