feature: watches on the backend, need frontend implementation for
notifications and unread indicators
This commit is contained in:
parent
7046bb0389
commit
6293374bb7
28 changed files with 1405 additions and 608 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
document.addEventListener("view_changed", ({ detail: { view } }) => {
|
||||
APP.on( "view_changed", ({ view }) => {
|
||||
const target_tab = document.querySelector(`.tab-switch[data-view="${view}"]`);
|
||||
|
||||
if (target_tab) {
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
APP.on( 'load', () => {
|
||||
const tab_switchers = document.querySelectorAll(".tab-switch");
|
||||
for (const tab_switch of tab_switchers) {
|
||||
tab_switch.addEventListener("input", (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue