mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
First of People's seven panes converted to docs/Design/Page/Table.md. Its own controls row, pagination markup and table - 891 characters of jade - became one +tablePage(tablePageData) plus a two-column spec, and 56 lines of pane-specific CSS are gone: the layout comes from tablePage.css and the pager colours from paginationControls.css, like every other pager. Its separate Search BUTTON is dropped, as the design says: every table page searches on Enter, and a second way to search is exactly the divergence this design removes. The handlers keep their behaviour but move to the shared control classes, so the pane needs no markup, no CSS and no pager rules of its own - .domain-pagination and .domain-page-info had no users left and are removed from the shared pager stylesheet. The pane also gains the result total for free: it is one of the controls-row features adopted from People itself a few commits ago. Docs: the "Pages that do not use this design" entry now reads "People - six of its seven panes" and records that Domains is converted; Domains is listed among the pages that DO use the design. Tests: the entry must say Domains is converted, and that pane must render the shared template and keep no markup of its own - so the doc cannot claim a conversion that did not happen, nor stay silent about one that did. A test that listed Domains among the panes with their own themed pager was updated; it caught the now-dead CSS, which is what it was for. Six panes remain: Organizations, Teams, People, Locked users, Roles and Shared templates. Thanks to xet7 !