mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
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
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 |