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

kobotoolbox / kpi / 27815650762
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 19 Jun 2026 08:54AM UTC
Jobs 10
Files 887
Run time 2min
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: 81.607% (+0.02%) from 81.588%
27815650762

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.

9064 of 12305 branches covered (73.66%)

29789 of 36503 relevant lines covered (81.61%)

5.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27815650762.1 19 Jun 2026 08:54AM UTC 883
44.91
2 27815650762.2 19 Jun 2026 08:55AM UTC 883
50.16
3 27815650762.3 19 Jun 2026 08:55AM UTC 883
53.52
4 27815650762.4 19 Jun 2026 08:55AM UTC 885
46.3
5 27815650762.5 19 Jun 2026 08:55AM UTC 885
51.52
6 27815650762.6 19 Jun 2026 08:55AM UTC 885
66.6
7 27815650762.7 19 Jun 2026 08:56AM UTC 885
54.8
8 27815650762.8 19 Jun 2026 08:57AM UTC 883
59.54
9 27815650762.9 19 Jun 2026 08:58AM UTC 885
60.72
10 27815650762.10 19 Jun 2026 08:58AM UTC 887
68.94
Source Files on build 27815650762
  • Tree
  • List 887
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 73f961bd on github
  • Prev Build on main (#27785128445)
  • Next Build on main (#27817635233)
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