mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Starred was the first button in the header bar, and Starred is a section: the left menu already lists it beside Templates and Remaining, counts it, and highlights it when it is the one shown. A second way to reach one section, one click away from the first, is a control whose only job is to be kept in step with the menu - so it is gone, and with it the header bar's own js-select-menu handler and isSelectedMenu helper, which had no other caller there. The left menu is part of boardList and has always had its own. Multi-Selection moved to the right of the Lists/Table menu. The bar now reads left to right as what is shown - Sort, Search, Lists/Table - and then what is selected: Multi-Selection, followed by the archive, duplicate, star and home actions that appear with it. The search box is 150px wide, half of the 300px it was drawn at when it had a card of its own. Getting there turned up that it had no styling at all: its rules said .boards-path-header .board-search, the bar it used to live in, so from the moment the controls moved to the header bar they matched nothing and the box rendered at the browser's default input size. They are .all-boards-controls now - and because a white box on a themed bar cannot inherit that bar's light-on-dark colour without putting white text in a white box, the input, the magnifier and the clear button each set their own. The two guards that pinned the old order now pin this one and say why. Both of them, and the removed-bar guard beside them, had started reading the comments of the rules they were checking - the new rules explain themselves by naming the selector they replaced - so they strip comments before asserting. Thanks to xet7 !