A board export is a complete copy, archive included, so a board moved to another WeKan brought years of archived cards, lists and swimlanes that then had to be emptied by hand. The export popup now has "JSON (without archived items)", ?archived=false at /api/boards/:boardId/export and at exportZip. It leaves out the archived cards, lists and swimlanes, the cards on an archived list or swimlane (a card restored while its list stayed archived would otherwise arrive pointing at a list the new board does not have), and what hangs off those cards: comments and checklists, which are read by the exported card ids, and attachments, which are read by the board and so get their own filter - the reporter's patch left an archived card's files, bytes and all, in both export paths and in the .zip. The rules are pure, in models/lib/exportArchivedFilter.js. An ordinary export is unchanged: still a complete backup. Board activities are not filtered: they are history, and the import tolerates a missing card id. "without archived items" in all 244 languages. Low confidence: ace, ak, ay, bi, bm, bo, bua, chr, csb, cv, dz, ee, ff, fj, fo, gn, gv, haw, iu, kl, ks, kw, lg, lld, nah, nap, nd, nso, om, pap, qu, rn, rup, sah, sc, se, sm, ss, tig, tlh, tpi, ts, ve, ve-CC, ve-PP, vo, wa, wa-RR, wal, wo, yi, zgh. Tests: tests/exportExcludeArchived.test.cjs (the selectors against sample cards, lists and attachments, the negative that an ordinary export keeps everything, and that no whole-board attachment read is left unfiltered), and tests/playwright/specs/export-without-archive-6946.e2e.js (the export through the API with and without the archive, and the popup entry). Thanks to Raymond-Voogt and xet7 ! Fixes #6946.
Right sidebar
What it is
The right sidebar is the panel that opens at the right edge of a board. Its main view holds Board Settings, the board's members, its labels, a vertical-scrollbar preference and the board's activities. Keyboard shortcuts and accessibility controls are at the top of the sidebar. The pages below describe each part.
- Board Settings
- Members and permissions
- Labels and card content
- Keyboard shortcuts
- Accessibility
- Activity rendering
- Filter
- Archive
How to use it
- Open a board and click the hamburger at the end of your username in the
header bar (
js-toggle-page-sidebarin client/components/main/header.js). On a board it toggles the board's own sidebar, which opens with the members, the labels, Enable vertical scrollbars and, for a board admin, Activities. - Click Board Settings (the cog above the members) to open the board's settings menu; see Board Settings.
- Drag the left edge of the sidebar (Drag to resize sidebar) to make it wider or narrower. On a phone it stays full width.
- Click Activities (board admins) to show or hide the board's activity list under it.
Show week of year (ISO 8601) is now in Board Settings / Date, below Save and a horizontal rule. It changes your week-number display preference.
See the pages above for the rest.
How it works in WeKan
The sidebar is the sidebar template and its main view homeSidebar in
client/components/sidebar/sidebar.jade,
with its code in
client/components/sidebar/sidebar.js.
Its width is dragged at its left edge: at least 280 pixels (MIN_SIDEBAR_WIDTH)
and at most 900 pixels or the window width less 80 pixels, whichever is
smaller; it is saved in the user's profile, or in the browser's localStorage
for someone not logged in on a public board. At 800 pixels or narrower the
sidebar is full width.
Commits
- Original positions: a right-sidebar view from the board menu, in every language
- Board sidebar: Members and Labels fold by their headings
- Import: always create virtual users, map later from the sidebar; bound imports
- Right sidebar: drag the edge to resize its width (desktop), saved per user
- Members: distinguish imported placeholders and inactive members on the avatar + sidebar (Increment 5)
- Improved accessibility across all pages following WCAG 2.1 AA guidelines: - Added a visible keyboard focus indicator
- Add User board access roles to Admin Panel / People / Roles. A new global "Roles" tab in Admin Panel / People lets a
- Moved migrations from opening board to right sidebar / Migrations
- Fix UI issues of Right Sidebar / Subtasks Settings and Card Settings
- Feature: Accessibility page at /accessibility. Settings at Admin Panel. When enabled, link at right sidebar
- Add show week of year toggle to sidebar
- Keyboard Shortcuts Enable/Disable is now at Right Sidebar, where already was list of Keyboard Shortcuts
- Remove non-required sidebar-shadow div in favor of direct sidebar background
- Revert "Revert some scrollbar, sidebar and list width changes."
- Revert some scrollbar, sidebar and list width changes
- Sidebar overhaul - change position to absolute, fix weird style bugs, disable scrollbar
- At right sidebar, moved Minicard Settings to Card Settings popup
- Speed up board loading, skip loading the full sidebar
- Moved Keyboard Shortcuts from bottom to top of sidebar
- Hide minicard label text: per user checkbox setting at sidebar