mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
Email shows the board as a Gmail-like mailbox in the board's own theme: the Inbox is the list email to card puts new cards in, Sent and All mail follow the cards' email, the board's lists are folders and its labels are Gmail labels, coloured on every message. The messages are the shared table page, newest first, paged on the server; a message opens as the card popup, its comments the conversation. Compose and Reply send From the member's own board address, so the answer returns to this board, and by In-Reply-To to the same card as a comment. Chat shows the board as a Slack / Rocket.Chat workspace in the current theme: a tree of Workspaces, boards, swimlanes, lists and cards as channels; the selected card in the middle; its comments as chat on the other side. Tree | card | chat left to right, mirrored right to left. Each pane folds, the two borders drag (and move with the arrow keys), and widths and folds are saved on the member's profile. Swimlanes, lists, cards, workspaces and boards reorder by drag and drop through the same paths the board and All Boards use. The new strings are translated in every locale. Thanks to xet7 !
2.4 KiB
2.4 KiB
Chat view
Board → View → Chat shows the board as a chat workspace, laid out like Slack or Rocket.Chat and drawn in the current WeKan theme and colours. It uses the board's own data: card comments are the chat messages.
| Pane | What it shows |
|---|---|
| Channels | A tree of your Workspaces (the ones from All Boards), the boards in each, and inside the open board its swimlanes, their lists and the cards. Each card is a channel (# title). Boards in no workspace are listed after the tree. |
| Card | The selected card, with the same card details as everywhere else. |
| Chat | The card's comments as messages, oldest at the top and newest at the bottom. Enter sends; Shift+Enter starts a new line. |
Layout
- Left to right, the panes are Channels | Card | Chat. Right to left (Arabic, Hebrew, Persian, …) they are mirrored: Chat | Card | Channels.
- Each pane folds to a thin bar, and the bar's button opens it again.
- The two borders between the panes can be dragged. With the keyboard, focus a border and use the arrow keys to move it 16 px.
- Widths and folds are saved to your profile (
profile.chatViewLayout), so they are the same on every device you log in from. Each width is kept between 160 and 1200 px. - In a narrow window (800 px or less) the panes stack.
Reordering by drag and drop
| Drag | Onto | Result |
|---|---|---|
| A card | A card | Placed before or after it, in its list and swimlane |
| A card | A list | Placed at the end of that list |
| A list | A list | Placed before or after it |
| A swimlane | A swimlane | Placed before or after it |
| A workspace | A workspace | Placed before or after it, or inside it (drop on the middle of the row) |
| A board | A workspace | Moved into that workspace |
Every move goes through the same path as on the board itself, so the same permissions apply:
- swimlane order, as when a swimlane is dragged on the board;
updateListSortfor lists;card.move()for cards;setWorkspacesTreeandassignBoardToWorkspacefor workspaces and boards.
Drops that mean nothing, such as a card onto a swimlane, are refused.
Files
| File | |
|---|---|
client/components/boards/chatView.jade, .js, .css |
The view |
models/lib/chatView.js |
Layout, pane order, resize, the channel tree and drop rules. No Meteor code |
server/models/users.js setChatViewLayout |
Saves the layout |
tests/chatView.test.cjs |
The tests |