Skip to content

fix(backlog): honor configured completed statuses - #395

Merged
stefan-ernst merged 2 commits into
Windshiftapp:mainfrom
mijelsma:fix/configured-done-items-backlog
Nov 10, 2026
Merged

stefan-ernst merged 2 commits into
Windshiftapp:mainfrom
mijelsma:fix/configured-done-items-backlog

Conversation

@mijelsma

@mijelsma mijelsma commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Treat configured backlog statuses as the authoritative visibility rule.
  • Show completed items when their status, such as Done, is selected under Configure Board → Backlog.
  • Preserve the existing completed-item visibility behavior for non-backlog views.
  • Apply the same backlog filtering to initial loading, pagination, reordering, newly created items, and live updates.

Problem

Backlog requests implicitly added status_completed = false. This overrode the configured backlog statuses, so selecting Done still excluded Done items.

Solution

Backlog requests now preserve the user’s sub-filter without automatically excluding completed statuses. The server’s configured backlog_status_ids determines which statuses appear.

No separate completed-items toggle or include_completed API was added.

Verification

  • Manually verified that selecting Done displays Done items.
  • Manually verified through the local development server.
  • svelte-check: 0 errors and 0 warnings.
  • Biome checks passed.
  • Production frontend build passed.

Closes #481

@github-actions

Copy link
Copy Markdown

This PR has merge conflicts that need to be resolved before it can be merged. Please rebase on the latest main branch.

@mijelsma
mijelsma force-pushed the fix/configured-done-items-backlog branch from 9a1955a to 9625ecc Compare November 10, 2026 08:31
@github-actions

Copy link
Copy Markdown

Merge conflicts have been resolved.

The backlog endpoint resolved backlog_status_ids from the workspace query
parameter, but the frontend sends only collection_id for collection
backlogs. The lookup ran with workspace_id 0, skipped the board
configuration, and fell back to the global non-completed statuses, so a
completed status configured for a collection backlog (for example Done)
was never returned.

Resolve the configuration by request scope: the collection-scoped board
configuration first, the workspace default for requests without a
collection, and the global non-completed statuses when no configuration
applies. A collection that never saved a board configuration keeps the
global fallback, which matches the defaults the board configuration
editor shows for that scope.
@stefan-ernst

Copy link
Copy Markdown
Contributor

Thanks, I will merge this in for 0.9.4

@stefan-ernst
stefan-ernst merged commit 7af3a0d into Windshiftapp:main Nov 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Completed statuses configured for the backlog are still hidden

2 participants