A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
2.4 KiB
Email view
Board → View → Email shows the board as a mailbox, laid out like Gmail and drawn in the board's own theme. It uses the board's own data: no second copy of anything is kept.
| Gmail | Email view |
|---|---|
| Inbox | The list that email to card puts new cards in (Board → Notification Settings → Email to card → List for new cards), or the first list |
| Sent | Emails sent from this view |
| All mail | Every card that arrived or went out as email |
| Folders | The board's lists: each one is a folder |
| Labels | The board's labels, with their colours. They show on each message and filter the table |
| A message | A card. It opens as the card popup, and its comments are the conversation |
The messages are a table page, newest first and ten to a page. The server pages the rows, and the search box searches the subject, the body and the sender.
Compose and reply
Compose writes a new email, and the reply arrow on a row answers one. The
email is sent From your own board address,
board+<token>@<domain>, the same address that turns email into cards on this
board. So the answer comes back to this board:
- A new email becomes a card in the Inbox list and shows under Sent.
- A reply is added as a comment on the card it answers. An answer that comes
back is matched by its
In-Reply-To/Referencesheaders and lands as a comment on the same card, the way Gmail keeps a conversation in one thread.
Sending needs:
- email to card turned on in the Admin Panel, on the board and for you;
- write access to the board;
- a sending mail server in the Admin Panel. On Sandstorm, the grain sends the email itself.
Each email can have up to 20 recipients. Each member can send 50 emails an
hour (EMAIL_VIEW_SENDS_PER_HOUR).
On Sandstorm the grain has one address, so the email goes From the grain's
address, and [board+<token>] is added to the subject so that the answer
reaches your board.
Files
| File | |
|---|---|
client/components/boards/emailView.jade, .js, .css |
The view, its rows and the compose popup |
server/emailView.js |
emailViewPage (one page of cards and the page index), emailViewCount, sendBoardEmail |
models/lib/emailView.js |
Folders, search and outgoing-email checks. No Meteor code |
tests/emailView.test.cjs |
The tests |