mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
53 lines
1.8 KiB
Markdown
53 lines
1.8 KiB
Markdown
## Roles
|
|
|
|
It depends on role of user what drag drop is allowed [REST API Role](../../../API/Role.md)
|
|
|
|
## Mobile Drag Drop
|
|
|
|
1. Click `Drag Handle Enabled/Disabled` button to enable drag handles
|
|
|
|
2. Use drag handles to move Board Icons, Swimlanes, MiniCards, Lists, Checklists, Checklist Items.
|
|
|
|
3. Use non-drag-handle area to to view other parts of board, by dragging board up/down/left/right, without moving any icons etc.
|
|
|
|
<img src="mobile-drag-drop.png" width="40%" alt="Mobile drag drop" />
|
|
|
|
## 2 or more external screens of desktop or mobile
|
|
|
|
For each screen, you can enable or disable drag handles, because that setting is stored in browser localstorage, not to database. https://github.com/wekan/wekan/issues/4715
|
|
|
|
Because this feature was added, `Drag Handle Enabled/Disabled` was moved to current place shown in above screenshot. https://github.com/wekan/wekan/issues/4734
|
|
|
|
## All Boards page
|
|
|
|
Reorder with drag drop:
|
|
- Board Icons
|
|
|
|
## One Board page
|
|
|
|
Reorder with drag drop:
|
|
|
|
- Swimlanes
|
|
- Lists
|
|
- MiniCards. MiniCard is card, that is not click opened to view card contents.
|
|
- Opened Card: Checklists
|
|
- Opened Card: Checklist Items
|
|
|
|
## Drag code examples
|
|
|
|
- Draggable objects
|
|
- https://www.redblobgames.com/making-of/draggable/
|
|
- https://news.ycombinator.com/item?id=37703291
|
|
- Fixed Drag at Ubuntu Touch Morph browser https://github.com/wekan/wekan/commit/af63259f091cb2ade84493a288ea37c53cd37321
|
|
|
|
## Touch UI ideas
|
|
|
|
- https://blog.la-terminal.net/godot-on-ipad-summer-update/
|
|
- https://news.ycombinator.com/item?id=41415077
|
|
|
|
## Drag and drop from search results
|
|
|
|
Cards shown in the board **search results** list can be dragged directly onto a board
|
|
list / column. In this initial version the card is dropped at the end of the target list
|
|
(pixel-precise insertion position is not supported yet).
|