mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The docs tree is laid out like the menus - a menu path is a docs path. Admin Panel / Settings follows the new structure: Visibility.md is Appearance.md, with new Features.md, Feature-Profiles.md, Security.md, Activities-and-Notifications.md and Delete.md; the section indexes, Admin-Panel.md, Admin-Panel-URLs.md (with the moved-pane redirects) and Validation.md follow the live menus, and Who-Sees-What.md explains in one place which layer decides what is shown and what is allowed. Pages are added for the menu entries that had none, each written from the code: every Admin Panel / Problems pane, the member menu, the board header, Board Settings, the All Boards left menu, and the list, swimlane and card menus. Older links to the moved panes are updated across docs/. TODO.md records what documenting the menus found: Edit Profile does not save a username for non-admins, the Support page's signed-out case is unreachable, Create board from this card is hidden from members who can edit the card, All Boards Settings is unreachable, and the Share template targets live in browser storage. Thanks to xet7 !
55 lines
2.5 KiB
Markdown
55 lines
2.5 KiB
Markdown
# Board header / Watch
|
|
|
|
The control after [Visibility](Visibility.md) in a board's header controls. It
|
|
shows your own watch level for this board — **Watching** (`fa-eye`),
|
|
**Tracking** (`fa-bell`) or **Muted** (`fa-bell-slash`) — as its icon, label
|
|
and tooltip. See [the header](../Header-Bar/Header.md) for its place in the bar.
|
|
|
|
The level is per user: it is stored in the board's `watchers` array as
|
|
`{ userId, level }` (`models/watchable.js`). A user with no entry is
|
|
**Muted**, which is the default; choosing Muted removes the entry.
|
|
|
|
## Who can use it
|
|
|
|
Every signed-in user who can see the board. The button is not drawn when an
|
|
administrator has turned on **Disable watch** in
|
|
[Admin Panel / Settings / Activities and notifications](../Admin-Panel/Settings/Activities-and-Notifications.md)
|
|
(`watchDisabled` helper, `Settings.disableWatch`).
|
|
|
|
## The popup
|
|
|
|
`boardChangeWatchPopup` in `client/components/boards/boardHeader.jade`. The
|
|
current level has a check mark.
|
|
|
|
| Level | Description shown |
|
|
| --- | --- |
|
|
| Watching | You will be notified of any change in this board. |
|
|
| Tracking | You will be notified of changes to the cards you are involved in as creator or member. |
|
|
| Muted | You will never be notified of any changes in this board. |
|
|
|
|
Choosing a row calls the `watch` method (`server/notifications/watch.js`) with
|
|
`'board'`, the board id and the level, and closes the popup when it succeeds.
|
|
The server refuses, and the popup says why in an alert, when:
|
|
|
|
- watching is disabled by the administrator (`error-watch-disabled`), or
|
|
- the user may not see the board (`error-board-notAMember`). Seeing it through
|
|
membership, an organization, a team, an email domain, or because it is
|
|
public or signed-in-users all count.
|
|
|
|
## What the level does
|
|
|
|
In `server/models/activities.js`, an activity on the board notifies users at
|
|
**Watching** for every activity, and users at **Tracking** only for activities
|
|
they are a participant in. `models/lib/boardNotificationRecipients.js` then
|
|
keeps only active board members whose level is Watching or Tracking, or who
|
|
explicitly watch the list or card concerned. Being assigned or mentioned does
|
|
not reach a member who has muted the board.
|
|
|
|
How a notification is delivered (in-app, email, ntfy and so on) is chosen in
|
|
[Member Settings / Notifications](../Member-Settings/Notifications.md) and
|
|
[Board Settings / Notifications](../Board-Sidebar/Board-Settings/Notifications.md).
|
|
|
|
## Related
|
|
|
|
- [Notification delivery](../General/Notifications/Notification-Delivery.md)
|