mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 14:45:11 -05:00
The Chat view's tree listed the open board's swimlanes, lists and cards, and every other board as a link that left for that board. Now: - The tree is workspaces > boards > swimlanes > lists > cards, holding the cards that have a conversation on every board the member sees (server/chatView.js chatViewChannels). Every board without one is under Other boards; its first message moves it up to its place. - Each level has a caret before its icon - after it, mirrored, in a right-to-left language - and folds open and shut with a slide (none for a member who asked for reduced motion). Clicking a board folds it; it no longer leaves the Chat view. The board the member is on, its workspaces, swimlanes and lists start open; what they open or close is kept in their browser. - The board the member is on shows all its cards, from the board's own data, so a conversation can start on any card and a dragged card moves in the tree at once; its button shows only the cards with messages. Another board opened from Other boards shows all its cards (chatViewBoardChannels) for the same reason. - Every level shows the messages this member has not read: others' messages after they last opened the card, all of them on a card never opened; opening the card - or a message arriving while it is open - reads it. - Every name, and the chat's header, renders as Markdown (inlineViewer). - Only what the member may read: boards they see in All Boards, only their own cards on an assigned-only board, no conversation where their role reads no comments. Tests: tests/chatView.test.cjs (the tree, Other boards, a first message moving a board up, unread sums, the full board, carets, folding rows, no navigation), server/lib/tests/chatViewChannels.tests.js (unread counts, never my own, the role and assigned-only limits, a board I do not see refused), email-chat-views.e2e.js (folding without leaving the view, the move up, unread badges, Markdown names). New strings translated in all locales. Thanks to xet7 !