• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 26743326613 / 1
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 01 Jun 2026 08:21AM UTC
Files 877
Run time 37s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2026 08:16AM UTC coverage: 45.279% (-6.7%) from 52.019%
26743326613.1

push

github

web-flow
refactor(libraryAssetForm): change component to functional and use proper metadata DEV-2126 (#7072)

### 📣 Summary

Library asset create and edit forms now fully honor instance-configured
project metadata fields, and the select controls used in that form were
modernized and stabilized (new shared Select and MultiSelect wrappers,
Mantine input migration, shared theme base styles, and UI parity fixes).

### 📖 Description

Until now, the create/edit form for library templates and collections
rendered a fixed set of metadata fields (description, sector, country)
regardless of what the instance had configured. If an admin disabled one
of those, it still showed up; if they enabled `operational_purpose`,
`collects_pii`, or any custom extra metadata field, it was nowhere to be
found. The form now behaves the same way Project Settings already does
and renders exactly the fields the environment exposes.

### 💭 Notes

Changes here:

Core DEV-2126 behavior and TypeScript migration:
- LibraryAssetForm.tsx
- Replaced legacy class and mixin flow with a functional TypeScript
component.
- Metadata visibility is driven by environment config via
getProjectMetadataFieldsAsSimpleDict.
- Supports operational_purpose, collects_pii, and extra metadata fields.
- Uses shared ExtraProjectMetadataFields and keeps submit payload
metadata-complete to avoid silent clobbering.
  - Reflux listeners are centralized with explicit cleanup.
  - Migrated text inputs from TextBox to Mantine TextInput and Textarea.
  - Migrated select usage to shared Select and MultiSelect wrappers.
- jsapp/js/components/modalForms/extraProjectMetadataFields.js to
ExtraProjectMetadataFields.tsx
  - Ported to TypeScript with typed props and same functional behavior.
- jsapp/js/components/modalForms/libraryAssetForm.js removed.
- LibraryAssetForm.module.scss renamed from lowercase filename.
- projectSettings.js and bigModal.js
  - Import path updates for migrated and renamed files.

Select and MultiSelect fol... (continued)

3619 of 11879 branches covered (30.47%)

16132 of 35628 relevant lines covered (45.28%)

0.45 hits per line

Source Files on job 26743326613.1
  • Tree
  • List 877
  • Changed 109
  • Source Changed 0
  • Coverage Changed 109
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26743326613
  • 3e29a73c on github
  • Prev Job for on main (#26641046948.8)
  • Next Job for on main (#26744392563.8)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc