tests/playwright/specs/viewport-matrix.e2e.js opens WeKan as an iPhone 15,
an unfolded Galaxy Z Fold 7, an iPad Pro 11, a 1366x768 laptop and a 55"
4K touch panel, each upright and on its side, and checks the board header,
board menu -> Original positions, Problems -> Memory Usage and Disk usage,
the Table, Calendar Mode, Time, Timeline and Map views, and dragscroll by
mouse or by finger. It measures that icons and texts are on screen and not
drawn in the colour behind them, that the page never scrolls sideways, that
every column can be reached and stays readable; screenshots of each step go
to .tools/log/viewports/. What it found, fixed:
- iPhone: the header bar was width: 100% plus its side padding as a content
box, 24px wider than the screen, and the sidebar hamburger sat past the
right edge. It measures its padding inside now.
- Admin Panel left menu on a phone: the list's disc bullets showed as a dot
after every entry, and a rule between groups shrank to a dash beside an
entry. No bullets, and each group starts a row of its own.
- Admin tables: 13 equal columns were 25px each on a phone and 42px on an
upright iPad, every header one letter per line. Up to 1024px a column keeps
a readable floor and the table scrolls sideways in its wrapper.
- Table view: the title-wrap and swimlane-group toggles were white icons on
white - two empty squares - stretched to 72px by the global button padding.
And on an upright iPad or foldable, Members, Labels and the date columns lay
past the edge of an overflow-hidden board with nothing to scroll; the view
scrolls sideways itself now.
A swipe that starts beside a list's resize handle resizes the list, as it
should, so the dragscroll check starts where a person pans. The file runs in
Chromium only: device emulation and the touch swipe exist only there.
Thanks to xet7 !
The search input, Search button, pagination buttons and the two toggle
buttons sit in one flex row with align-items: center - but a flex child
never shrinks below its own content's minimum height no matter what the
container measures, so the Search button's bold label pushed it visibly
taller/lower than the search input beside it (.tools/button-center.png).
Every control now shares one explicit border-box height (34px) with
line-height: 1, so there is nothing left for align-items: center to fail
to center.
Thanks to xet7.
The prev/next page buttons were plain white with a grey border, unlike
the blue "Search" button right next to them in the same control row -
the two read as different UI families instead of one toolbar
(.tools/table-view screenshots).
Thanks to xet7.
Keep the flat table as the default and let each user persist an optional grouped mode. Group cards in board swimlane order, preserve the selected column sort inside each lane, and insert section rows after pagination so headers never consume card slots.
Add user-isolation, empty-state, section-boundary and browser persistence coverage.
Thanks to rmb82 and xet7 !
Fixes#6634,
Make text, member, label and date headers toggle a shared client-side ascending or descending comparator. Keep empty date values last and use card title as a deterministic tie-breaker.
Add comparator boundary coverage and a browser header-toggle regression.
Thanks to rmb82 and xet7 !
Fixes#6633,
Use the available browser width and default card titles to a compact single line with an escaped native tooltip. Add a per-user wrap preference that persists locally.
Cover default, toggled and user-isolated preference behavior plus the rendered browser layout.
Thanks to rmb82 and xet7 !
Fixes#6632,
Reported on /sign-in and /sign-up: making the window taller made every element
taller and every gap wider; making it shorter shrank them. That is what vh does -
`padding: 3vh 3vw`, `margin-top: 6vh`, `min-height: 4.5vh` - the box is a
percentage of the WINDOW, so the page reflows continuously as you drag the edge
and the same layout looks different on every screen.
It was not only those two pages. 355 such values across 24 stylesheets, on
padding, margin, gap, height, line-height, font-size, border-radius and
box-shadow. They are now the pixel sizes they rendered at on the window they were
tuned for (1vh -> 9px, 1vw -> 14px), so each page looks as it did at that size and
stays that size everywhere else.
Two of them were documented bugs already: minicard.css carries two comments
explaining that the global `.viewer { min-height: 2.5vh }` "reserves a big empty
band under a one-line title, so half of every minicard was white space" on tall
screens. That floor is 22px now, and the modal body's 20vh is 180px.
Viewport units are still right for three things and are kept: a full-viewport box
(100vh/100vw), a CAP that stops content overflowing a small screen (min(), max(),
clamp()), and max-/min-width limits. 274 such uses remain, all deliberate.
The conversion was a token substitution - it cannot move or delete a rule - and
brace balance was asserted unchanged for every file before writing it.
Tests: tests/noViewportSpacing.test.cjs scans every stylesheet under client/ and
fails on any size or spacing measured in vh/vw, while still permitting the three
legitimate shapes (it checks both directions). It blanks block comments first, so
the two minicard.css comments ABOUT this bug are not reported as uses of it. One
existing test pinned the literal `2.5vh` global floor; it now pins a px floor, and
the dependency it documents - that the minicard override compensates for a global
floor - is unchanged.
Thanks to xet7 !
Per request, clickable column-header sorting is removed everywhere it existed:
- Board Table view: the sortable `th.js-table-view-sort` headers become plain
headers; the sortField/sortDirection state, the sort click handler and the
sortIndicator arrow are gone. The table now always shows a stable order (card
title ascending). Search + pagination are unchanged.
- Admin Panel → People → Domains: same removal; the getDomainsWithUserCountsPage
method no longer takes sortField/sortDirection and returns a fixed domain-
ascending order (paginateDomains' default). Server-side search + pagination stay.
Dead sort-header CSS removed. Guarded in tests/adminReportsPagination.test.cjs.
Thanks to xet7 !
Members, Labels, Received, Start, Due and End. The Received, Start, Due and End
dates are formatted and styled the same way as on the opened card details and the
Gantt view (reusing the cardReceivedDate / cardStartDate / cardDueDate / cardEndDate
badge templates), and can be sorted by clicking their column headers. Clicking a
date opens the date-select popup so it can be changed, and an add (+) button is
shown for empty dates — both only for board roles that have permission to change
the card (the same `canModifyCard` check used on card details). A Received, Start,
Due or End column is hidden when both its "Show at Card" and "Show at Minicard"
Card Settings are unchecked for the board. The Labels cell now word-wraps so long
label names no longer overflow across the other columns. Each row also has a
leftmost "Edit" link (pencil icon + text) styled like the one on the Admin Panel /
People page; clicking it opens the Card Details popup on top of the Board Table
view.
Thanks to xet7 !
Labels cells, so emoji shortcodes and markdown (for example `:thumbsup:`) display
rendered instead of as literal text, and word-wrap the Card, List and Swimlane
cells so long text no longer overflows across the other columns.
Thanks to xet7.
The board view menu (Swimlanes, Lists, Calendar, Gantt) gains a new "Table" entry
below Gantt. It shows every card of the current board in a table — Card, List,
Swimlane, Members, Labels and Due Date — using the same styling as the My Cards
table view (the `.my-cards-board-table` CSS classes). Whereas My Cards' table spans
all of the user's cards across boards, this is the per-board equivalent showing all
of the current board's cards. The view is stored like the others as the user's
`board-view-table` boardView. It also has a search box and previous/next pagination
styled like the Admin Panel / People page, and Excel-like column sorting: click the
Card, List, Swimlane or Due Date header to sort by it, click again to reverse, with
an arrow showing the active column and direction. Search, sort and pagination run
client-side over the board's already-loaded cards.
Thanks to xet7 and Claude.