Kinto / Kinto/kinto-admin

Custom widgets/validation?

Open
#388 1 comment 0 reactions 0 assignees View on GitHub
enhancement stale
Dominant language
TypeScript
Stars
189
Forks
37
Avg merge
17h 18m
Merged PRs (30d)
17

Description

Copied from kinto/kinto#1083.

You can specify a schema for your data, and a uiSchema for how to build the form for it. I'd like to be able to add a custom type for a field (specifically, a JEXL expression) that has custom validation, and potentially a UI widget that helps in writing that custom type.

But that custom type doesn't seem like a thing I should, say, land in Kinto itself. I'd like to be able to write something like a plugin for Kinto that adds support for my new custom type to a Kinto instance. I dunno if that's already possible or how hard it would be to add, though.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting how schema and uiSchema are handled in the admin console and whether Kinto instances already expose a plugin or extension entry point. Determine whether custom field types can provide validation and an optional form widget, then document the supported integration path and verify it with a representative custom type such as a JEXL expression.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.