[PR #7188] [MERGED] Feature: Add a confirmation modal when users merge payees in /payees #56299

Closed
opened 2026-05-01 04:01:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7188
Author: @AsgerMogensen
Created: 3/13/2026
Status: Merged
Merged: 3/15/2026
Merged by: @matt-fidd

Base: masterHead: Add-confirmation-when-merging-payees


📝 Commits (6)

  • 1aa3851 Add a confirmation model when merging payees in /payee
  • 3de6740 Added a confirmation modal when users merge payees in /payees
  • 9901f6c Merge branch 'master' into Add-confirmation-when-merging-payees
  • 4089a51 Address coderabbit comments
  • d8525c3 [autofix.ci] apply automated fixes
  • 4bf1f7e Merge branch 'master' into Add-confirmation-when-merging-payees

📊 Changes

5 files changed (+154 additions, -2 deletions)

View changed files

📝 packages/desktop-client/src/components/Modals.tsx (+4 -0)
packages/desktop-client/src/components/modals/ConfirmPayeesMergeModal.tsx (+118 -0)
📝 packages/desktop-client/src/components/payees/ManagePayees.tsx (+18 -2)
📝 packages/desktop-client/src/modals/modalsSlice.ts (+8 -0)
upcoming-release-notes/7188.md (+6 -0)

📄 Description

Description

The PR ensures that users have a clear idea of what payees they are merging and which payees are being merged into which. It makes it harder to merge payees accidentally selected in a long list of payees by clearly showing which payees are being merged.

Disclaimer: This is my first ever PR to any project. I have used AI to figure out the structure of the project, but I have tried to write all the actual code myself.

Fixes #6108

Testing

Go to /payees and merge 2 or more payees.

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.92 MB → 14.93 MB (+4.92 kB) +0.03%
loot-core 1 5.75 MB 0%
api 3 4.69 MB 0%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.92 MB → 14.93 MB (+4.92 kB) +0.03%
Changeset
File Δ Size
src/components/modals/ConfirmPayeesMergeModal.tsx 🆕 +4.28 kB 0 B → 4.28 kB
src/components/payees/ManagePayees.tsx 📈 +488 B (+2.88%) 16.56 kB → 17.03 kB
src/components/Modals.tsx 📈 +163 B (+1.13%) 14.13 kB → 14.29 kB
src/hooks/useFailedAccounts.ts 📈 +2 B (+0.55%) 365 B → 367 B
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 9.57 MB → 9.58 MB (+4.92 kB) +0.05%

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/ca.js 187.85 kB 0%
static/js/da.js 106.13 kB 0%
static/js/de.js 179.82 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/en.js 171.21 kB 0%
static/js/es.js 174.29 kB 0%
static/js/fr.js 179.34 kB 0%
static/js/it.js 170.91 kB 0%
static/js/nb-NO.js 156.74 kB 0%
static/js/nl.js 113.03 kB 0%
static/js/pl.js 89.61 kB 0%
static/js/pt-BR.js 182.82 kB 0%
static/js/th.js 181.54 kB 0%
static/js/uk.js 215.25 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/ReportRouter.js 1.16 MB 0%
static/js/narrow.js 638.11 kB 0%
static/js/TransactionList.js 106.48 kB 0%
static/js/wide.js 164.15 kB 0%
static/js/AppliedFilters.js 9.99 kB 0%
static/js/usePayeeRuleCounts.js 11.57 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.75 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
kcab.worker.hJzQ6lto.js 5.75 MB 0%

api

Total

Files count Total bundle size % Changed
3 4.69 MB 0%
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
index.js 4.4 MB 0%
index-BKGP2w5F.js 285.56 kB 0%
multipart-parser-DwddZ4BH.js 9.33 kB 0%

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/7188 **Author:** [@AsgerMogensen](https://github.com/AsgerMogensen) **Created:** 3/13/2026 **Status:** ✅ Merged **Merged:** 3/15/2026 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `Add-confirmation-when-merging-payees` --- ### 📝 Commits (6) - [`1aa3851`](https://github.com/actualbudget/actual/commit/1aa3851d875819a3520b2ef536dfad5de812baa5) Add a confirmation model when merging payees in /payee - [`3de6740`](https://github.com/actualbudget/actual/commit/3de6740384a973281854c41ecfe0dee7aec7763c) Added a confirmation modal when users merge payees in /payees - [`9901f6c`](https://github.com/actualbudget/actual/commit/9901f6ccb9f18dfa944ec97d7489317cd4ed61da) Merge branch 'master' into Add-confirmation-when-merging-payees - [`4089a51`](https://github.com/actualbudget/actual/commit/4089a51587d3b66f0e239d9090699d239b7d170f) Address coderabbit comments - [`d8525c3`](https://github.com/actualbudget/actual/commit/d8525c37ed4f9ae8c25eb9338cc058ee0626628e) [autofix.ci] apply automated fixes - [`4bf1f7e`](https://github.com/actualbudget/actual/commit/4bf1f7e598a3f6125db44753ef63bc384c021b26) Merge branch 'master' into Add-confirmation-when-merging-payees ### 📊 Changes **5 files changed** (+154 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/Modals.tsx` (+4 -0) ➕ `packages/desktop-client/src/components/modals/ConfirmPayeesMergeModal.tsx` (+118 -0) 📝 `packages/desktop-client/src/components/payees/ManagePayees.tsx` (+18 -2) 📝 `packages/desktop-client/src/modals/modalsSlice.ts` (+8 -0) ➕ `upcoming-release-notes/7188.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description The PR ensures that users have a clear idea of what payees they are merging and which payees are being merged into which. It makes it harder to merge payees accidentally selected in a long list of payees by clearly showing which payees are being merged. Disclaimer: This is my first ever PR to any project. I have used AI to figure out the structure of the project, but I have tried to write all the actual code myself. ## Related issue(s) Fixes #6108 ## Testing Go to /payees and merge 2 or more payees. ## Checklist - [x] Release notes added (see link above) - [X] No obvious regressions in affected areas - [X] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.92 MB → 14.93 MB (+4.92 kB) | +0.03% loot-core | 1 | 5.75 MB | 0% api | 3 | 4.69 MB | 0% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.92 MB → 14.93 MB (+4.92 kB) | +0.03% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/modals/ConfirmPayeesMergeModal.tsx` | 🆕 +4.28 kB | 0 B → 4.28 kB `src/components/payees/ManagePayees.tsx` | 📈 +488 B (+2.88%) | 16.56 kB → 17.03 kB `src/components/Modals.tsx` | 📈 +163 B (+1.13%) | 14.13 kB → 14.29 kB `src/hooks/useFailedAccounts.ts` | 📈 +2 B (+0.55%) | 365 B → 367 B </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 9.57 MB → 9.58 MB (+4.92 kB) | +0.05% **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/ca.js | 187.85 kB | 0% static/js/da.js | 106.13 kB | 0% static/js/de.js | 179.82 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/en.js | 171.21 kB | 0% static/js/es.js | 174.29 kB | 0% static/js/fr.js | 179.34 kB | 0% static/js/it.js | 170.91 kB | 0% static/js/nb-NO.js | 156.74 kB | 0% static/js/nl.js | 113.03 kB | 0% static/js/pl.js | 89.61 kB | 0% static/js/pt-BR.js | 182.82 kB | 0% static/js/th.js | 181.54 kB | 0% static/js/uk.js | 215.25 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/ReportRouter.js | 1.16 MB | 0% static/js/narrow.js | 638.11 kB | 0% static/js/TransactionList.js | 106.48 kB | 0% static/js/wide.js | 164.15 kB | 0% static/js/AppliedFilters.js | 9.99 kB | 0% static/js/usePayeeRuleCounts.js | 11.57 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.75 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.hJzQ6lto.js | 5.75 MB | 0% </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 3 | 4.69 MB | 0% <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- index.js | 4.4 MB | 0% index-BKGP2w5F.js | 285.56 kB | 0% multipart-parser-DwddZ4BH.js | 9.33 kB | 0% </div> </details> </details> <!--- bundlestats-action-comment key:combined end ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-01 04:01:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#56299