Update: JSDoc documentation for notification system (fixes #810)#811
Merged
oliverfoster merged 9 commits intomasterfrom Apr 13, 2026
Merged
Update: JSDoc documentation for notification system (fixes #810)#811oliverfoster merged 9 commits intomasterfrom
oliverfoster merged 9 commits intomasterfrom
Conversation
Added detailed JSDoc documentation to notification-related files, including models, collections, views, and the main notification service. The comments describe module responsibilities, public APIs, integration points, known issues, and usage examples, improving code maintainability and developer onboarding.
oliverfoster
reviewed
Jan 6, 2026
oliverfoster
requested changes
Jan 8, 2026
Member
|
Can you remove the "Improvements" and "Known Issues" sections, please? We can do those as separate issues after a further analysis phase. |
12 tasks
oliverfoster
reviewed
Feb 9, 2026
oliverfoster
reviewed
Feb 9, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Apr 13, 2026
# [6.76.0](v6.75.2...v6.76.0) (2026-04-13) ### Fix * Logic for detecting removed elements (fixed #819) (#820) ([7a21597](7a21597)), closes [#819](#819) [#820](#820) ### Update * JSDoc documentation for drawer system (fixes #812) (#813) ([40e5aaf](40e5aaf)), closes [#812](#812) [#813](#813) * JSDoc documentation for notification system (fixes #810) (#811) ([7d97a8c](7d97a8c)), closes [#810](#810) [#811](#811)
Member
|
🎉 This PR is included in version 6.76.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comprehensive JSDoc documentation review and enhancement of the notification system (6 files). This PR sets to begin an established style guide with clear, practical examples and identified known issues/improvements for future JSDocs.
Fix
Update
notify.js- Added complete module-level documentation with public API, integration points, known issues, and customization examplesnotifyView.js- Fixed @example block inread()method; documented all public methods with parameters and working code examplesnotifyPopupView.js- Added modal documentation and event handler detailsnotifyPushView.js- Documented push notification display behavior, positioning, and public methodsnotifyModel.js- Documented side effects, idempotency, and async API foronClosed()notifyPushCollection.js- Added queue management documentation with focus on side effectsDocumentation Standards Applied
What Gets Documented:
@param,@returns,@example@class,@classdesc,@module,@fileWhat Gets Skipped:
defaults(),className(),attributes(),tagName(),events()preRender(),postRender(),render(), etc. where name + code are self-explanatorythis._stack,this.hasOpened@listenstags (wiring is obvious from code)@eventtags (redundant with@fires)change,sync, etc.Testing
Verify all 6 files are valid JSDoc:
npm run build # Ensures JSDoc parsing succeedsCheck style guide compliance:
Validate documentation structure:
Test specific changes:
notify.js: Verify examples work with Adapt APInotifyView.js: Confirmread()method is properly documentednotifyPopupView.js: Check modal lifecycle documentationnotifyPushView.js: Verify positioning behavior is clearnotifyModel.js: Check async API is documentednotifyPushCollection.js: Confirm queue behavior is clearClarity Check: