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

CMU-313 / nodebb-fall-2025-level-up / 18045739287
78%

Build:
DEFAULT BRANCH: main
Ran 26 Sep 2025 06:15PM UTC
Jobs 1
Files 393
Run time 1min
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

26 Sep 2025 06:10PM UTC coverage: 78.537% (+0.008%) from 78.529%
18045739287

push

github

web-flow
Feature: Add front-end support for private posts (#6)

* fix: simplify redirectToPost const in src/controllers/posts.js:16

* Fix: Refactored src/user/follow.js

* refactor(profile): simplify isGroupTitleValid by extracting helpers

Extracted parseGroupTitles for JSON/array handling and validateGroupTitles
for validation logic. This reduces complexity in isGroupTitleValid and
improves readability, testability, and adaptability.

* fix(api): Removal of extra arguments causing smells in src/controllers/user.js

* fix(user): handle unchanged/empty groupTitle and reject only invalid title

* feat(composer): add UI option for private topics

Introduce a "Private" checkbox in the topic composer to allow users to
mark new topics as private to staff. This option is only shown when
creating a new topic, not when replying or editing posts.

* feat(composer): persist private post checkbox state across drafts

Adds client-side logic in composer.enhance to save and restore the
"private-to-staff" checkbox state. The setting is stored in
composer.posts[uuid] when toggled and restored on draft reload,
ensuring that draft posts maintain their privacy setting.

* fix: include package.json in version control

---------

Co-authored-by: Misty <mistyf@andrew.cmu.edu>
Co-authored-by: Lucas Hazard <lhazard@andrew.cmu.edu>
Co-authored-by: Alejandro Estrada <alejandro@Alejandros-MacBook-Pro-2.local>
Co-authored-by: Chuksll <ichuksok@andrew.cmu.edu>

11144 of 16028 branches covered (69.53%)

Branch coverage included in aggregate %.

23 of 24 new or added lines in 1 file covered. (95.83%)

19 existing lines in 4 files now uncovered.

24704 of 29617 relevant lines covered (83.41%)

1490.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
82.95
3.19% src/user/follow.js

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.95
3.19% src/user/follow.js
4
81.67
2.04% src/controllers/posts.js
4
88.89
-1.52% src/controllers/user.js
10
85.83
-0.04% src/user/profile.js
Jobs
ID Job ID Ran Files Coverage
1 18045739287.1 26 Sep 2025 06:15PM UTC 393
78.54
GitHub Action Run
Source Files on build 18045739287
  • Tree
  • List 393
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #18045739287
  • 804fce13 on github
  • Prev Build on main (#17987513002)
  • Next Build on main (#18027131631)
  • Delete
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