A workspace held boards and, in the data, other workspaces - but a drag could
only ever say one thing about them, and the fold was not there at all.
WHERE IN A ROW it is dropped is now what the drop MEANS:
the top quarter - it becomes that row's previous sibling
the bottom quarter - it becomes that row's next sibling
the middle half - it becomes that row's LAST CHILD, a sub-workspace
The middle is the biggest target on purpose: reordering can also be reached by
aiming at the neighbouring row's far edge, but nesting has only this one. Coming
back up is a drop like any other - a child dragged onto a root row's edge is a
root again - because nesting has to be undoable or a workspace put one level too
deep is stuck there.
THE PLACEHOLDER IS A SLOT, NOT A LINE. While the pointer is over a row an empty
slot a row high opens above it, below it, or - for "into this one" - INDENTED
underneath it, which is exactly where the workspace will appear. A line between
two rows is a target that has to be aimed at; a slot is a place to drop into.
The slot is a pseudo-element of the row, so the rows below shift down and the
row being aimed at stays where the pointer put it.
A workspace may not be dropped into itself or into its own descendant: the
subtree would be cut off from the root, taking every workspace under it. It is
refused by NOT calling preventDefault(), which is how HTML5 drag and drop says
no, so the cursor refuses while the workspace is still in the air rather than
the drop landing and quietly doing nothing.
AND THE DROP THAT DID NOTHING. With the handles off the drag starts on an
ANCHOR, and a browser puts that anchor's own text into text/plain. The drop read
text/plain first and took the workspace for a BOARD, so it assigned nothing and
the row snapped back - which is why the same drop worked with handles on, where
the drag starts from a span that carries no text. The drag clearData()s before
setting its own type, and the drop decides on the workspace id FIRST.
A CARET FOLDS a workspace's own workspaces away, at the start of the row -
before the drag handle, so the carets of a tree line up whatever the handles
toggle says. It is the control a list has on a board and the one the left menu
itself has, down to the two words in its tooltip, and it answers Enter and Space
because a tree that only opens with a mouse is a tree half the readers cannot
open. A workspace with nothing under it keeps a spacer of the same width, so a
row does not shift sideways the moment it gains its first child.
Open is the default and only the FOLDED ones are stored: a missing key is an
open workspace, so fifty workspaces with two folded is two keys. Remembered in
the same three layers as the rest of this menu - a Session value, then
profile.collapsedWorkspaces, then a cookie for a reader who is not signed in.
The server method takes the id into a DOTTED FIELD PATH and the tree is written
by the client, so the id is checked against ^[A-Za-z0-9_-]{1,64}$ first: one
carrying a `.` or a `$` would address a different field.
The depth is UNLIMITED because nothing counts it: the template draws itself for
a workspace's children, each level indenting by one caret's width with a logical
property, so a right-to-left tree indents from the right by itself.
What a drag does to the tree is a pure module with its own tests -
dropPosition() and moveWorkspace(), the guards included - so the rules can be
proved without a browser, and the page is pinned to calling them rather than
re-deriving them.
Thanks to xet7 !
Wekan is an open-source kanban board which allows a card-based task and to-do management.
Wekan allows to create Boards, on which Cards can be moved around between a number of Columns. Boards can have many members, allowing for easy collaboration, just add everyone that should be able to work with you on the board to it, and you are good to go! You can assign colored Labels to cards to facilitate grouping and filtering, additionally you can add members to a card, for example to assign a task to someone.
What is special about Wekan?
Wekan is distributed under the MIT License, allowing anyone to easily work with it and modify it. It is perfect for anyone that needs a slick kanban board but doesn't want to use third party services, which are out of user control. Wekan can be hosted on your own server with very little effort, guaranteeing that you have all the time full control over your data and can make sure no one else has access to it and that it won't just vanish from one day to another, that is, if you do backups.
Install
SaaS
Support
- Free Public Open Source Support, bugs and feature requests: https://github.com/wekan/wekan/issues
- Paid Private Commercial Support, paid features/fixes/support/hosting: https://wekan.fi/commercial-support/
General
- WeKan Features: Deep Dive Into WeKan (WeKan now runs on Meteor 3.x and Node.js 24.x)
- WeKan Roadmap kanban board - board at Wekan demo
- Future WeKan prototypes: Multiverse WeKan Roadmap
- Change Language
- Forgot Password
- WeKan Design Principles
- FAQ
- IRC FAQ - answers to questions asked at IRC
- Team
- Press
- Blog
- Wekan vs Trello vs Restyaboard
- Results of Survey 2020-01
Fake: Not WeKan kanban
Security
- Allow private boards only: Disable Public Boards
- Security Disclosure and details of Security in Wekan
- Password Hashing
Scaling
- Cron: Hourly restart WeKan, because of memory leaks
- Maybe: Add more RAM to Node.js to prevent crash
- Clustering AWS etc
- Scaling
- Multitenancy: one server per tenant, and the alternatives
- Kubernetes
- Helm Chart https://artifacthub.io/packages/helm/wekan/wekan
- Issues https://github.com/wekan/charts/issues
- Pull Requests https://github.com/wekan/charts/pulls
- Redis Oplog
- Scaling at Meteor forums
Migrating
- From Previous Export, paste big WeKan JSON
- Progress: Import/Export/Sync
- From CSV/TSV
- From Excel (.xlsx)
- From Trello
- From Jira
- From / To Kanboard
- From / To NextCloud Deck, OpenProject, GitHub, GitLab, Gitea, Forgejo
- From Asana
- From Zenkit
- From old Wekan manually
Backup
Repair
- Repair MongoDB
- Using Meteor MongoDB to repair files
- If board does not open and keeps loading
- Repair Docker
Themes
Markdown Syntax
- Wekan Markdown
- Emoji
- Mermaid Diagram DOES NOT WORK ANYMORE
- Numbered text
Login Auth
- Automatic login
- Disable Password Login
- Forgot Password
- Admin: Impersonate user
- Adding Users
- Active users Presence
- Accounts Lockout: Brute force login protection
- LDAP
- LDAP AD Simple Auth
- Keycloak
- Google login
- Azure
- OAuth2, Auth0, GitLab, RocketChat
- Oracle OIM on premise using OAuth2
- ADFS 4.0 using OAuth2 and OpenID
- Azure AD B2C using OAuth2
- Nextcloud
- CAS Please test
- SAML Please test
- Zitadel
Metrics, Logs, Stats
Integrations
Time
Features
- All Features index
- Boards
- Lists
- Cards
- Members and Permissions
- WIP Limits
- Keyboard Shortcuts
- Accessibility
- Rules (Automation)
- Card Dependencies — "Red Strings" / PI Program Board
- IFTTT / Rules overview
- Admin Panel — every pane, one page per menu entry
- Multiline
- Linked Cards
- Drag Drop on Mobile and Desktop
- Python based features
- Burndown and Velocity Chart
- Wait Spinners
- Translations
- Customize Translations
- Default Language for All Users
- Planning Poker
- Scaling
- Custom Logo
- Subtasks
- Templates
- Shared Templates (Admin view)
- Card Cover Image
- Stickers
- Card Locations
- Board Background Images
- Attachments and File Storage
- Right-to-Left (RTL) UI
- Archive and Delete
- Custom Fields
- Fix Export board menu not visible on some boards
- RAM usage
- Swimlanes
Required Settings
Webservers
- Caddy
- Nginx
- Apache
- OpenLiteSpeed
- Local self signed TLS
- Let's Encrypt and Google Auth
- TLS with Node.js
- Traefik and self-signed SSL certs
REST API Docs
- API docs https://wekan.fi/docs/
- PHP Webhook receiver to WeKan API Python https://github.com/wekan/webhook/blob/main/public/index.php#L46
- API clients
- Python
- api.py
- https://github.com/wekan/wekan-python-api-client
- https://github.com/wekan/python-wekan
- Other Python features Python
- Go https://github.com/wekan/wego
- Python
- Other API
- REST API Code
- Login
- User
- Role
- Boards
- Lists
- Cards
- Checklists
- Swimlanes
- Custom Fields
- Integrations
REST API issue
REST API client code
- Example: New card with Python3 and REST API
- Python client to REST API
- Go client to REST API
- Wekan Sandstorm cards to CSV using Python
- Excel and VBA
Webhooks
- Per-board events sending at board right sidebar / Board Settings / Webhooks
- Check that webhook immediately responds with HTTP 200 OK, otherwise WeKan slows down
- Global Webhook
- PHP Webhook receiver to WeKan API Python https://github.com/wekan/webhook/blob/main/public/index.php#L46
- Limiting Webhook data
- Receiving Webhooks
- Java Webhooks
- Outgoing Webhook to Discord/Slack/RocketChat/Riot
- Outgoing Webhook to NodeRed
- Outgoing Webhook to PowerShell
- Outgoing Webhooks, CA and Let's Encrypt
- Outgoing Webhooks Data
- Outgoing Webhooks Original Pull Request, multiple Webhooks, more parameters and response order
Development
- Kadira integration
- Debugging
- Developer Docs for Standalone Wekan
- Developer Docs for Sandstorm Wekan
- Adding new Snap setting to code
- Directory Structure
- Beginner
- Maintainer FAQ