secana/Forji
3
54
Fork
You've already forked Forji
7

Show the overview filter summary only when filters are active #60

Merged
secana merged 2 commits from systemblue/Forji:feat/contextual-filter-summary into main 2026年06月09日 12:18:47 +02:00
Contributor
Copy link

What

The Issues and Pull Requests overviews pinned a centered filter-summary caption ("Open") below the title even in the default state, which just duplicated the filter icon. Now the summary appears only when a non-default state or involvement scope is active, so the default view carries no extra chrome and the strip becomes a clear signal that the list is filtered.

Verified in the iPhone 17 Pro simulator: default state shows no strip and no gap, and the filter icon still reflects state. Builds clean on Xcode 26, SwiftLint passes.


I grant Stefan Hausotte an irrevocable, worldwide, royalty-free license to use, sublicense, and distribute my contribution, including through Apple's App Store under the project's App Store exception.

## What The Issues and Pull Requests overviews pinned a centered filter-summary caption ("Open") below the title even in the default state, which just duplicated the filter icon. Now the summary appears only when a non-default state or involvement scope is active, so the default view carries no extra chrome and the strip becomes a clear signal that the list is filtered. Verified in the iPhone 17 Pro simulator: default state shows no strip and no gap, and the filter icon still reflects state. Builds clean on Xcode 26, SwiftLint passes. --- I grant Stefan Hausotte an irrevocable, worldwide, royalty-free license to use, sublicense, and distribute my contribution, including through Apple's App Store under the project's App Store exception.
The Issues and Pull Requests overviews pinned a centered "Open"
caption below the title even in the default state, duplicating the
filter icon. Show the summary only when a non-default state or
involvement scope is selected, so the default view carries no extra
chrome and the strip becomes a clear signal that the list is filtered.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Thanks! The change itself is good, but it breaks two UI tests that assert the
filter summary shows "Open" in the default state, which this PR now hides:

  • IssueUITests.testIssuesOverviewInvolvementFilter
  • PullRequestUITests.testPullRequestsOverviewInvolvementFilter

Please update both to assert the summary is absent in the default state and
appears once a non-default scope (e.g. "Assigned to you") is selected, then run
just test-ui to confirm green. Happy to merge after that.

Thanks! The change itself is good, but it breaks two UI tests that assert the filter summary shows "Open" in the default state, which this PR now hides: - IssueUITests.testIssuesOverviewInvolvementFilter - PullRequestUITests.testPullRequestsOverviewInvolvementFilter Please update both to assert the summary is absent in the default state and appears once a non-default scope (e.g. "Assigned to you") is selected, then run `just test-ui` to confirm green. Happy to merge after that.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
secana/Forji!60
Reference in a new issue
secana/Forji
No description provided.
Delete branch "systemblue/Forji:feat/contextual-filter-summary"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?