-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add API notification support to new dashboard (#300)
* Proof of concept Lit notification element * More experimenting with API notifications in other spots in the UI * WIP, includes web component for notification * Add notification message styles and overrides, mostly working implementation This shows top level and build detail notifications with only some small bugs remaining. * Clean up rough edges on build view, JS, and templates - Adds build error handling in templates - Fixes polling bugs with build and notification API * Relint files * Add missing file * Fix notification over polling * Change API notification query to state__in * Fix up docs * Drop extra messages block, it is unused. * Add missing web components API doc file --------- Co-authored-by: Manuel Kaufmann <[email protected]>
- Loading branch information
Showing
27 changed files
with
658 additions
and
234 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ JavaScript API | |
|
||
js/application | ||
js/plugins | ||
js/webcomponents | ||
js/views |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Web components | ||
============== | ||
|
||
Elements | ||
-------- | ||
|
||
.. js:autoclass:: NotificationListElement | ||
:members: | ||
|
||
.. js:autoclass:: NotificationElement | ||
:members: | ||
|
||
Views | ||
----- |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
90 changes: 69 additions & 21 deletions
90
readthedocsext/theme/static/readthedocsext/theme/js/vendor.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.