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

CMU-313 / nodebb-fall-2025-level-up / 18406023852

10 Oct 2025 12:08PM UTC coverage: 78.655% (+0.04%) from 78.615%
18406023852

push

github

web-flow
Feature: Implement anonymous nicknames and anonymous posts on categories page (#32)

* Rebase fix to only contain anonymous post updates

* feature(anonymous-posts): Implemnt anonymous posts
Changes:
- backend db flag in topics for their creation to show
user is anonymous
- backend db logic to handle anonymous posts to see
if the poster is the topic creater and set topic to anonymous
- backend logic added to posts to check if viewer is admin
or poster to make said post viewable instead of anonymous
- no frontend template changes were needed

To do:
- However fixes are required as avatar is still shown
for user and if clicked on in preview still goes to the user profile
- Also need to add the ability for user to edit their post to make it anonymous
- Also may want to add quality of life change to anonymous posts
pick random user name (e.g. anonymous beaver) when posting instead of just
Anonymous

* fix(tests): modify yaml files to reflect new schemas
Modified different yaml files to include
'anonymous' field in PostObject and TopicObject schemas.
to pass tests in npm run test.

* Rebase fix #2

* Rebase fix #3, removed extraneous generateAnonymousName func

* Fixed tab error in commment for src/api/topics.js

* public/src/client/topic/posts.js trailing comma lint fix

* fix(anonymous tests): update tests to reflect anonymous post changes
incorrect relative path in tests/anonymous.js for
anonymous post profile pic added relative path in tests
to mirror the actual path to the image

11305 of 16210 branches covered (69.74%)

Branch coverage included in aggregate %.

73 of 75 new or added lines in 8 files covered. (97.33%)

24885 of 29801 relevant lines covered (83.5%)

1549.37 hits per line

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

83.51
/src/utils.js


Source Not Available

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