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

kobotoolbox / kpi / 27815650762 / 8
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 19 Jun 2026 08:57AM UTC
Files 883
Run time 39s
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

19 Jun 2026 08:49AM UTC coverage: 59.545% (+4.7%) from 54.802%
27815650762.8

push

github

web-flow
fix(library): use full metadata flow when creating project from template DEV-2278 (#7161)

### đŸ“Ŗ Summary

Fixed bug where creating a project from a template in My Library skipped
the metadata prompt, leaving required fields blank.

### 💭 Notes

Changes here:
- **projectSettings.js** — Added support for `initialTemplateUid` prop
to pre-select a template. When provided, the modal automatically clones
the template and shows the `PROJECT_DETAILS` step where metadata is
collected.
- **assetQuickActions.tsx** — Changed `cloneAssetAsSurvey()` from using
a simple name prompt to opening the full `NEW_FORM` modal flow.
- **assetActionButtons.tsx** — Updated the call site to match the new
signature.
- **bigModal.js** — Passes `initialTemplateUid` through to
`ProjectSettings` when opening NEW_FORM modal.

Both creation paths (My Library "Create project" button and My Projects
"NEW" → "Use a template") now use the same multi-step modal that
collects metadata.

### 👀 Preview steps

1. â„šī¸ Have an account with at least one template in your library
2. â„šī¸ Make sure your server has some required metadata fields configured
3. Go to "My Library"
4. Hover over a template and click the clipboard icon ("Create project")
5. 🔴 [on main] You only get a name prompt, then the project is created
with blank metadata
6. đŸŸĸ [on PR] The NEW_FORM modal opens and automatically begins cloning
the template
7. đŸŸĸ You see the "Project details" step with fields for Project Name,
Sector, Country, Description, and any custom metadata
8. Fill in the metadata fields and click "Create"
9. đŸŸĸ The project is created with all metadata properly filled in

**Bonus verification:** Try the same flow from Projects → NEW → "Use a
template" to confirm both paths still work identically.

5840 of 12223 branches covered (47.78%)

21682 of 36413 relevant lines covered (59.54%)

0.6 hits per line

Source Files on job 27815650762.8
  • Tree
  • List 883
  • Changed 219
  • Source Changed 0
  • Coverage Changed 219
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27815650762
  • 73f961bd on github
  • Prev Job for on main (#27785128445.3)
  • Next Job for on main (#27817635233.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc