mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Home no longer takes the top row of the left menu. The top row stays the one the page opens on - Starred when anything is starred, Remaining when nothing is - and Home sits under the two of them: after login you are already in the Home board, so the row that names it is a place to look, not the place to start. Taking a board off Home is now the Android launcher's gesture. Pick the board up in Home and a Remove bar appears above the tiles, only while the board is actually in the air; drag the board onto it and it turns red; let go and it asks, and the question says the board itself is not deleted. An affordance that shows up when the gesture is possible explains itself, and a trash can sitting permanently under somebody's boards is a button nobody dares press. Every other target now REFUSES a board that came from Home, in dragover, by not calling preventDefault - which is how HTML5 drag and drop says no, so the cursor says no while the board is still in the air. That check cannot call getData: the drag data store is protected until the drop and only the list of types is exposed, so the fact lives in the type's name, application/x-board-from-home, and its presence is the message. Before this, a board dragged out of Home onto any other row cleared Home on the way past. That made every drop a Home drop, and a board could leave Home by accident while being filed into a workspace. One gesture, one destination. Also repoints two Upcoming CHANGELOG links at the commits that are actually in history: amending a commit after writing its hash into the CHANGELOG left both pointing at objects the branch does not contain. Thanks to xet7 !