- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
3.3 KiB
Enabling all Touch Screen Support
What it is
On a touch screen (a phone, a tablet or a desktop touch monitor) WeKan shows drag handles, so a finger can move cards while dragging the rest of the board pans it. Some desktop browsers also need touch events turned on before drag and drop works with a finger.
Read more
- Touchscreen on Wikipedia.
- Wekan Drag Handle issue
- Chrome touch at Google Support
- Chrome touch Wekan discussion and the same link as the Chrome/Chromium/Chromium Edge Touch issue (this discussion no longer answers; kept for the record).
- WeKan pages: Drag and drop.
How to use it
1) Show drag handles. Click your username at the top right, then Show desktop drag handles (or the arrows button in the header bar). A check mark shows it is on. Then you can drag cards with touch screen, for example at Android/iOS/desktop touch screen. (Older WeKan called this Change Settings / Show Desktop Drag Handles.)
2) Enable touch screen support of Chrome/Chromium/Chromium Edge. Change the
target inside properties in the Google Chrome shortcut by adding
--touch-events in the end of the address:
Chrome shortcut > Properties >
Target: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --touch-events
And similarly at other non-Windows operating systems, by modifying shortcut.
How the numbers are calculated
A device counts as a touch screen when navigator.maxTouchPoints > 0
(Utils.isTouchScreen()). When you have never chosen, handles are on for a touch
screen and off for a mouse; your own choice wins on every device
(resolveShowDragHandles() in
models/lib/dragHandles.js).
How it works in WeKan
Utils.showDragHandles()in client/lib/utils.js combines your saved choice (profile.showDesktopDragHandles, or localStorage when not logged in) with whether the device is a touch screen.- The toggles are
js-toggle-desktop-drag-handlesin client/components/main/header.jade and client/components/users/userHeader.jade. - client/lib/dragDropTouch.js turns a long press into an HTML5 drag, for board icons.
- Tests: tests/dragHandles.test.cjs, tests/dragDropTouch.test.cjs.