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

kobotoolbox / kpi / 23268748491 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Mar 2026 09:53PM UTC
Files 894
Run time 27s
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

18 Mar 2026 09:48PM UTC coverage: 54.625% (-13.7%) from 68.368%
23268748491.2

push

github

web-flow
refactor(assetQuickActions): migrate out of allAssets DEV-1319 (#6814)

### 💭 Notes

Changes here:
- Fixed a tiny bug when unarchiving project from Landing page - on main
page wasn't getting fresh asset (after unarchiving it appeared as
nothing happened)
- Removed few `mixins.dmix` functions as mixins are bad and we want to
get rid of them, and they were just proxies of functions from
`assetQuickActions`
- `cloneAsTemplate` removed in favor of using `cloneAssetAsTemplate`
directly
  - `deployAsset` removed in favor of using `deployAsset` directly
  - `archiveAsset` same story
  - `unarchiveAsset` same story
  - `deleteAsset` same story
- In `assetQuickActions` few functions that were operating on
`assetOrUid` are now strictly requiring asset object to be passed (and
thus removing `allAssets` usage from the file). The functions are:
  - `deleteAsset`
  - `archiveAsset`
  - `unarchiveAsset`
  - `cloneAsset`
- `AssetActionButtons` is using `deployAsset` directly from
`assetQuickActions` instead of relying on (now removed) `mixins.dmix`
function
- This is a component that is being used by `AssetsTable` (the table of
assets rendered at My Library, Public Collections and single collection
routes) and by `AssetRoute` (the single library item route)
- Given above, the deploy button functionality is completely unused (no
`survey` type asset is ever being used with `AssetActionButtons`, but
removing that is out of scope of this PR (my decision)
- `FormLanding` (Project → Form tab component) is now using:
- `unarchiveAsset` from `assetQuickActions` and passing it's own state
(asset object is merged into state through `mixins.dmix`)
- `deployAsset` from `assetQuickActions` and passing it's own state
(asset object is merged into state through `mixins.dmix`)
  - `cloneAssetAsTemplate` from `assetQuickActions`
- `ProjectSettings` (Project → Settings → General tab component) is now
using:
- `deleteAsset` from `assetQuickActions` and passing asset object
instead of ui... (continued)

3838 of 11629 branches covered (33.0%)

19399 of 35513 relevant lines covered (54.63%)

0.55 hits per line

Source Files on job 23268748491.2
  • Tree
  • List 894
  • Changed 301
  • Source Changed 0
  • Coverage Changed 301
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23268748491
  • 7f96a95f on github
  • Prev Job for on main (#23249808410.10)
  • Next Job for on main (#23280553113.2)
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