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

kobotoolbox / kpi / 14316727648
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 07 Apr 2025 07:09PM UTC
Jobs 1
Files 639
Run time 68min
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

07 Apr 2025 06:30PM UTC coverage: 80.906%. Remained the same
14316727648

push

github

web-flow
feat(nlp): processing view button conditional rendering TASK-1715 (#5631)

### đŸ“Ŗ Summary

Hide "Open" button in Data Table for `audio` question responses that now
have deleted attachment and no NLP features in use.

### 💭 Notes

Changes here:
- `AudioCell` now requires whole `SubmissionResponse` rather than just
uuid
- `AudioCell` now hides "Open" button for submission with no NLP
features being used (this is both for submissions that never used NLP,
and submission that used NLP but no logner has transcript, translations
and qual questions responses)
  - `removeEmptyObjects` function for recursively removing empty objects
- `removeEmptyFromSupplementalDetails` function for cleaning up
`supplementalDetails` from any leftover values that means "empty" (e.g.
submission with removed translation, submission with qualitative
analysis question response removed, etc.)
- Tiny positioning fix for Data Table rendering `AudioCell` with just
"Deleted" (no "Open" button)
- Added tests for two new utility functions
- I plan to migrate tests files to typescript in next PR, as I didn't
want to do too much in single PR. I expect there will be some changes
forced by TS

### 👀 Preview steps

Testing:
1. â„šī¸ Have NLP features set up (see
https://www.notion.so/kobotoolbox/Setting-up-NLP-and-Languages-bb607e3fed114993bb14338fe56c6ed4?pvs=4)
2. â„šī¸ Have account and a project with `audio` question
- Tip: for me it was helpful to also have `text` question in there, so I
could keep a note which submission is which test case 🧑‍đŸĢ
4. â„šī¸ Make 8+ submissions, each with `audio` question having a response
5. Go to Project → Data → Table and use "Open" button for the `audio`
question response (to open NLP view)
   - 1st submission: create transcript
- 2nd submission: create transcript, create translation, and delete
transcript
- 3rd submission: create qualitative analysis question and respond to it
   - 4th submission: don't create anything
   - 5th submission: create transcript, and del... (continued)

6141 of 9741 branches covered (63.04%)

23301 of 28800 relevant lines covered (80.91%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14316727648.1 07 Apr 2025 07:09PM UTC 639
80.91
Source Files on build 14316727648
  • Tree
  • List 639
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ce76caa5 on github
  • Prev Build on main (#14272195882)
  • Next Build on main (#14330634891)
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