fix(desktop): archive kanban boards from Board settings - #82078
Open
Per0-1 wants to merge 1 commit into
Open
Conversation
Desktop Board settings only exposed name/project edit, while the browser
dashboard and CLI already support archiving non-default boards. Wire the
existing DELETE /boards/{slug} endpoint into Desktop with a confirm dialog,
hide Archive on the default board, and fall back to the server current board
after archive. Hard-delete stays CLI-only.
Contributor
|
This was generated by AI during triage. Summary: Problems:
Solution: Checked against |
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.
Summary
Desktop Kanban Board settings only allowed renaming and project binding. There was no way to remove a board from the Desktop UI, even though:
defaultboardsDELETE /api/plugins/kanban/boards/{slug}(archive by default)hermes kanban boards rm <slug>This adds Desktop parity: Archive board in Board settings (destructive, confirmed), hidden on
default. Hard-delete remains CLI-only (--delete/?delete=true).Changes
apps/desktop/src/plugins/kanban/api.ts—archiveBoard(slug)→DELETE /boards/{slug}apps/desktop/src/plugins/kanban/board-switcher.tsx— Archive button +ConfirmDialog; switch away if the active board was archivedapps/desktop/src/plugins/kanban/i18n.ts— en/ja/zh/zh-hant stringsTest plan
defaultdefault)~/.hermes/kanban/boards/_archived/hermes kanban boards listno longer shows the archived slug