feat: add MultiSelect and Url custom field types with corresponding editors#234
Merged
pikann merged 2 commits intoJun 30, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The backend's
FieldTypeenum supports 7 custom field types (text,number,date,select,multi_select,boolean,url), but the web app only had editors for 5.multi_selectandurlfields could only be created by calling the API directly — there was no UI path to create them — and once created, their values were silently mangled (amulti_selectarray like["backend", "bug"]got passed throughString()and rendered as"backend,bug").This PR adds full UI support for both types, end to end: creation, display, and editing.
Changes
MultiSelectEditor(chip-based multi-pick over fixed options) andUrlEditor(renders as a clickable external link when read-only, falls back to plain text if the value isn't a realhttp(s)://URL)helpers.ts'sAPI_TO_UI_FIELD_TYPE/UI_TO_API_FIELD_TYPEare now a lossless 1:1 mapping instead of collapsingmulti_select → Selectandurl → TextMultiSelect/Urlfields, including an options editor forMultiSelect(reusing the existingSelectoptions UI)multiSelect/urllabels and amultiSelectEditor.addOptionstring to all 7 localesTesting
tsc -bandbiome checkpass clean acrossapps/webmulti_selectfield, set values via the new editor, confirmed display/edit round-trips correctly