mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
One reusable component, featureHelp and featureHelpPopup, and one pure module, models/lib/featureHelp.js, that maps every place to its help and every help to the docs page its texts were written from. The ? is a real button, named and titled How it works?, at least 28 pixels, with a focus ring, at the inline end of the place's header so it is mirrored under right-to-left languages and never on top of another button: - beside the Board View menu, for the view that is on; - in the heading of the board sidebar's open view; - in every mapped popup's title bar, before maximize and close; - in each card section's heading, before its hamburger; - beside every Admin Panel, Cloud Panel and All Boards pane title (paneTitle() now also returns the open entry's paneId); - in the Workload, Budget and billing and Rules headings. The popup is wide on a desktop and a full-screen sheet on a phone, titled How it works, with What is it? and How it works? as headings and the texts as plain text. Escape closes it and gives the focus back to the ?; from inside a popup, Popup.back() now focuses the element the sub-popup's returnFocusSelector names. Thanks to xet7 !