Skip to content

Add persistent payee duplicate ignores and expose them in Settings - #103

Merged
Nef10 merged 7 commits into
mainfrom
copilot/improve-payee-duplicate-detection
Jun 7, 2026
Merged

Add persistent payee duplicate ignores and expose them in Settings#103
Nef10 merged 7 commits into
mainfrom
copilot/improve-payee-duplicate-detection

Conversation

Copilot AI commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

This updates payee duplicate handling so suggested pairs can be marked as not duplicates and excluded from future detection runs. It also adds a settings surface for reviewing and removing ignored pairs, and includes that data in settings import/export.

  • Payee duplicate workflow

    • Adds a Not a Duplicate action to suggested payee duplicates.
    • Persists ignored payee pairs in normalized form so A/B and B/A are treated as the same pair.
    • Filters ignored pairs out of subsequent duplicate detection results.
  • Settings UI

    • Adds an Ignored Duplicates settings section/tab.
    • Reuses the existing searchable table pattern for browsing ignored pairs.
    • Supports deleting ignored pairs to re-enable future suggestions.
  • Settings import/export

    • Extends settings serialization to include ignored payee duplicate pairs.
    • Keeps import backward-compatible by treating the new field as optional.
  • Data model / plumbing

    • Introduces a small settings-backed store for ignored payee duplicate pairs.
    • Normalizes pairs on decode/storage to avoid duplicate entries and inconsistent ordering.
let ignoredPair = IgnoredPayeeDuplicatePair(payee1: duplicate.payee1, payee2: duplicate.payee2)
IgnoredPayeeDuplicateSettings.add(ignoredPair)

guard !ignoredPairs.contains(IgnoredPayeeDuplicatePair(payee1: payee1, payee2: payee2)) else {
    continue
}

Copilot AI linked an issue Jun 6, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Improve payee duplicate detection functionality Add persistent payee duplicate ignores and expose them in Settings Jun 6, 2026
Copilot finished work on behalf of Nef10 June 6, 2026 06:22
Copilot AI requested a review from Nef10 June 6, 2026 06:22
@Nef10
Nef10 marked this pull request as ready for review June 7, 2026 06:05
@Nef10
Nef10 merged commit a1e98c9 into main Jun 7, 2026
2 checks passed
@Nef10
Nef10 deleted the copilot/improve-payee-duplicate-detection branch June 7, 2026 06:05
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.

Improve Payee duplicate detection

2 participants