(feat) add Kanban status actions to card detail and overflow menu#524
Merged
Merged
Conversation
Owner
Owner
|
Sorted it out, happy to merge if you are ok with it ❤️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Adds additional ways to change a Kanban card's status:
...) on both mobile and desktop.Also makes the property groups in the card detail modal collapsible. Metadata starts collapsed, while the editable property groups start expanded.
Why
Desktop users can already change status via drag & drop, but mobile drag & drop is less practical. The existing mobile on-card dropdown works, but takes card space. This adds a compact overflow-menu path while keeping the existing dropdown visible by default for backwards-compatible behavior.
The detail modal was also inconsistent: fields like priority, score, reminder, target date, and estimated time were editable, but status was not.
Reused / not changed
updateItemStatusserver action.autoCompleteremains handled centrally inupdateItemStatus.id,label,color,order,autoComplete).hideStatusOnCardssetting remains separate from the new mobile dropdown setting.Details
hideMobileStatusDropdown."disable", meaning the mobile dropdown remains visible for existing and new users.hideStatusOnCardsstill only controls the compact status label on cards.hideMobileStatusDropdownonly controls the always-visible mobile status dropdown.Status ändern / Change statusaction remains available even when the mobile dropdown is hidden.autoComplete behavior
Handled centrally in the existing
updateItemStatusserver action, so status changes from drag & drop, the mobile card dropdown, the overflow-menu status modal, and the detail modal all share the same completion behavior.Mobile context menu variant
Implemented via the existing card overflow menu (
...). SelectingChange statusopens the existingModalcomponent, which behaves as a bottom sheet on mobile and a regular modal on desktop.Translations
enanddeupdated manually.Testing
Validated with:
yarn tsc --noEmityarn lintManually checked: