Skip to content

fix(lists): refresh the issue list after closing/reopening a GitHub issue - #32

Merged
Adron merged 1 commit into
feat/unified-sharing-parityfrom
fix/github-issue-refresh-on-close
Aug 31, 2026
Merged

fix(lists): refresh the issue list after closing/reopening a GitHub issue#32
Adron merged 1 commit into
feat/unified-sharing-parityfrom
fix/github-issue-refresh-on-close

Conversation

@Adron

@Adron Adron commented Aug 31, 2026

Copy link
Copy Markdown
Member

Stacked on #31 (base = feat/unified-sharing-parity). Merge #30 then #31 first, then retarget this to main.

Summary

When a GitHub-backed issue is closed or reopened via the row's swipe/context action, the issues list now refreshes. setGitHubState previously patched only the single row optimistically; it now also calls loadData() after a successful state flip so the whole list reflects the new state (and any GitHub-side changes), not just the one row.

What's included

  • One change in ListDetailView.setGitHubState (ListsView.swift): await loadData() after the successful updateItem. The optimistic row update stays for instant feedback; the refresh is silent (items are already present, so no loading spinner).

Testing

  • Build: succeeded.
  • Covered by the full unit suite on the combined stack (819 passing); this is a UI-behavior change with no new testable API surface.

Notes

  • Targets the Close/Reopen action (the "open → closed" flow). State changes via the Edit sheet still update in place; say the word to extend the same refresh there.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V16mvNBWyYLncSQL8isDNF

…ssue

`setGitHubState` patched only the single row optimistically. It now also calls
`loadData()` after a successful state flip so the whole issues list reflects the
new state (and any GitHub-side changes), not just the one row. The optimistic row
update stays for instant feedback; the refresh is silent (items are already present).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V16mvNBWyYLncSQL8isDNF
@Adron
Adron merged commit 487db9b into feat/unified-sharing-parity Aug 31, 2026
@Adron
Adron deleted the fix/github-issue-refresh-on-close branch August 31, 2026 19:13
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.

1 participant