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

RoundingWell / care-ops-frontend / fe77af74-9630-40cd-848d-3457b9ab4909

09 Jun 2026 08:01PM UTC coverage: 71.416% (-28.6%) from 100.0%
fe77af74-9630-40cd-848d-3457b9ab4909

Pull #1715

circleci

nmajor25
feat(forms): add draft status button with discard dropdown
Pull Request #1715: feat(forms): replace draft prompt with persistent draft status indicator

1303 of 1921 branches covered (67.83%)

Branch coverage included in aggregate %.

33 of 52 new or added lines in 3 files covered. (63.46%)

1672 existing lines in 99 files now uncovered.

4466 of 6157 relevant lines covered (72.54%)

129.47 hits per line

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

41.67
/src/js/apps/programs/programs-all_app.js
1
import Radio from 'backbone.radio';
2

3
import App from 'js/base/app';
4

5
import ProgramSidebarApp from 'js/apps/programs/sidebar/program-sidebar_app';
6

7
import { ListView, LayoutView } from 'js/views/programs/programs-all_views';
8

9
export default App.extend({
10
  childApps: {
11
    programSidebar: ProgramSidebarApp,
12
  },
13
  viewTriggers: {
14
    'click:add': 'click:add',
15
  },
16
  onBeforeStart() {
17
    this.showView(new LayoutView());
3✔
18
    this.getRegion('list').startPreloader();
3✔
19
  },
20
  beforeStart() {
21
    return Radio.request('entities', 'fetch:programs:collection');
3✔
22
  },
23
  onStart(options, collection) {
24
    this.programs = collection;
2✔
25
    this.showChildView('list', new ListView({ collection }));
2✔
26
  },
27
  onClickAdd() {
UNCOV
28
    const programSidebar = this.getChildApp('programSidebar');
×
UNCOV
29
    const program = Radio.request('entities', 'programs:model', {});
×
UNCOV
30
    const sidebar = Radio.request('sidebar', 'start', programSidebar, { program });
×
31

UNCOV
32
    this.listenTo(sidebar, 'stop', () => {
×
UNCOV
33
      if (!program.isNew()) this.programs.add(program);
×
34
    });
35
  },
36
});
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc