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

RoundingWell / care-ops-frontend / 478f32b5-a05d-4bf1-aab0-cc40366fae9d

17 Sep 2025 08:01AM UTC coverage: 95.256% (-4.7%) from 100.0%
478f32b5-a05d-4bf1-aab0-cc40366fae9d

push

circleci

web-flow
Merge pull request #1514 from RoundingWell/formio-loader

Attach preloader html after formio DOM content is loaded

1709 of 1849 branches covered (92.43%)

Branch coverage included in aggregate %.

6002 of 6246 relevant lines covered (96.09%)

191.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/src/js/apps/programs/program/action/action_app.js
1
import Radio from 'backbone.radio';
2

3
import intl from 'js/i18n';
4

5
import { ACTION_OUTREACH, PROGRAM_BEHAVIORS } from 'js/static';
6

7
import App from 'js/base/app';
8

9
import ActionSidebarApp from 'js/apps/programs/sidebar/action-sidebar_app';
10

11
export default App.extend({
12
  childApps: {
13
    actionSidebar: ActionSidebarApp,
14
  },
15
  beforeStart({ actionId, programId, flowId }) {
16
    if (!actionId) {
10✔
17
      return Radio.request('entities', 'programActions:model', {
4✔
18
        _program: { id: programId, type: 'programs' },
19
        _program_flow: flowId ? { id: flowId, type: 'program-flows' } : null,
4✔
20
        _owner: null,
21
        days_until_due: null,
22
        behavior: PROGRAM_BEHAVIORS.STANDARD,
23
        published_at: null,
24
        archived_at: null,
25
        outreach: ACTION_OUTREACH.DISABLED,
26
      });
27
    }
28

29
    return Radio.request('entities', 'fetch:programActions:model', actionId);
6✔
30
  },
31
  onFail() {
32
    Radio.request('alert', 'show:error', intl.programs.program.action.actionApp.notFound);
×
33
    this.stop();
×
34
  },
35
  onStart(options, action) {
36
    const actionSidebar = this.getChildApp('actionSidebar');
10✔
37
    Radio.request('sidebar', 'start', actionSidebar, { action });
10✔
38

39
    this.listenTo(actionSidebar, 'stop', this.stop);
10✔
40
  },
41
});
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