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

RoundingWell / care-ops-frontend / 692f9f2e-3aac-4156-9197-4812d5314b95

20 Aug 2025 07:09AM UTC coverage: 92.095% (-7.9%) from 100.0%
692f9f2e-3aac-4156-9197-4812d5314b95

Pull #1488

circleci

paulfalgout
Test patient overline on worklist
Pull Request #1488: Add subgrid to lists

1639 of 1844 branches covered (88.88%)

Branch coverage included in aggregate %.

5771 of 6202 relevant lines covered (93.05%)

195.02 hits per line

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

58.33
/src/js/apps/programs/sidebar/program-sidebar_app.js
1
import Radio from 'backbone.radio';
2

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

5
import { SidebarView, TimestampsView, headingText } from 'js/views/programs/sidebar/program/programs-sidebar_views';
6

7
export default App.extend({
8
  onBeforeStart({ program }) {
9
    this.program = program;
2✔
10

11
    this.showHeading();
2✔
12

13
    const contentView = new SidebarView({
2✔
14
      program: this.program,
15
    });
16

17
    this.listenTo(contentView, {
2✔
18
      'save': this.onSave,
19
      'close': this.stop,
20
    });
21

22
    this.showChildView('content', contentView);
2✔
23
    this.showTimestamps();
2✔
24
  },
25
  onSave({ model }) {
26
    const isNew = this.program.isNew();
2✔
27
    this.program.save(model.pick('name', 'details'))
2✔
28
      .then(() => {
29
        if (isNew) Radio.request('sidebar', 'stop');
2!
30
      }, ({ responseData }) => {
31
        const errors = this.program.parseErrors(responseData);
×
32
        this.getChildView('content').showErrors(errors);
×
33
      });
34
  },
35
  onClose() {
36
    this.stop();
×
37
  },
38
  onStop() {
39
    if (this.program && this.program.isNew()) this.program.destroy();
×
40
  },
41
  showHeading() {
42
    this.showChildView('heading', headingText);
2✔
43
  },
44
  showTimestamps() {
45
    if (this.program.isNew()) return;
2!
46
    this.showChildView('footer', new TimestampsView({ model: this.program }));
2✔
47
  },
48
});
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