[PR #2381] [MERGED] [Maintenance] Input onChangeValue and onUpdate prop naming #18639

Closed
opened 2026-04-14 20:48:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/2381
Author: @joel-jeremy
Created: 2/20/2024
Status: Merged
Merged: 3/12/2024
Merged by: @joel-jeremy

Base: masterHead: input-onchangevalue


📝 Commits (4)

📊 Changes

15 files changed (+44 additions, -34 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/MobileAccountDetails.jsx (+1 -1)
📝 packages/desktop-client/src/components/common/Input.tsx (+7 -3)
📝 packages/desktop-client/src/components/common/Search.tsx (+2 -2)
📝 packages/desktop-client/src/components/filters/NameFilter.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/ConfigServer.tsx (+1 -1)
📝 packages/desktop-client/src/components/mobile/MobileAmountInput.jsx (+0 -5)
📝 packages/desktop-client/src/components/mobile/MobileForms.jsx (+1 -3)
📝 packages/desktop-client/src/components/modals/GoCardlessInitialise.tsx (+8 -4)
📝 packages/desktop-client/src/components/modals/ImportTransactions.jsx (+2 -2)
📝 packages/desktop-client/src/components/modals/SimpleFinInitialise.tsx (+4 -2)
📝 packages/desktop-client/src/components/modals/SingleInput.tsx (+2 -1)
📝 packages/desktop-client/src/components/reports/SaveReportName.tsx (+1 -1)
📝 packages/desktop-client/src/components/table.tsx (+4 -4)
📝 packages/desktop-client/src/components/util/AmountInput.tsx (+4 -4)
upcoming-release-notes/2381.md (+6 -0)

📄 Description

The goal is to have consistent naming convention in the codebase.

  • onUpdate
    • Fires on blur
  • onChangeValue
    • Fires whenever input value is changed

🔄 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/2381 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 2/20/2024 **Status:** ✅ Merged **Merged:** 3/12/2024 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `input-onchangevalue` --- ### 📝 Commits (4) - [`da06dc9`](https://github.com/actualbudget/actual/commit/da06dc9f02a389530f063cf974135ce83a95596a) Differentiate Input onUpdate to onChangeValue - [`73e86d4`](https://github.com/actualbudget/actual/commit/73e86d416edecd76da5bed127b500b4f37df2b89) Release notes - [`77a8a34`](https://github.com/actualbudget/actual/commit/77a8a34834a38be47c1f35039d760b79f68efdf8) Fix lint error - [`b79c99b`](https://github.com/actualbudget/actual/commit/b79c99b59eeaa951e7c511cc4a3d658f62e96597) Remove onChange ### 📊 Changes **15 files changed** (+44 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/MobileAccountDetails.jsx` (+1 -1) 📝 `packages/desktop-client/src/components/common/Input.tsx` (+7 -3) 📝 `packages/desktop-client/src/components/common/Search.tsx` (+2 -2) 📝 `packages/desktop-client/src/components/filters/NameFilter.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/ConfigServer.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/mobile/MobileAmountInput.jsx` (+0 -5) 📝 `packages/desktop-client/src/components/mobile/MobileForms.jsx` (+1 -3) 📝 `packages/desktop-client/src/components/modals/GoCardlessInitialise.tsx` (+8 -4) 📝 `packages/desktop-client/src/components/modals/ImportTransactions.jsx` (+2 -2) 📝 `packages/desktop-client/src/components/modals/SimpleFinInitialise.tsx` (+4 -2) 📝 `packages/desktop-client/src/components/modals/SingleInput.tsx` (+2 -1) 📝 `packages/desktop-client/src/components/reports/SaveReportName.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/table.tsx` (+4 -4) 📝 `packages/desktop-client/src/components/util/AmountInput.tsx` (+4 -4) ➕ `upcoming-release-notes/2381.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 --> The goal is to have consistent naming convention in the codebase. - onUpdate - Fires on blur - onChangeValue - Fires whenever input value is changed --- <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-04-14 20:48:37 -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#18639