[PR #4819] [MERGED] Move loot-core/client/modals code over to desktop-client package #5598

Closed
opened 2026-02-28 21:15:05 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4819
Author: @joel-jeremy
Created: 4/15/2025
Status: Merged
Merged: 5/14/2025
Merged by: @joel-jeremy

Base: masterHead: loot-core-client-modals-to-desktop-client


📝 Commits (5)

📊 Changes

97 files changed (+132 additions, -188 deletions)

View changed files

📝 packages/desktop-client/src/app/appSlice.ts (+1 -1)
📝 packages/desktop-client/src/budgets/budgetsSlice.ts (+1 -1)
📝 packages/desktop-client/src/components/HelpMenu.tsx (+1 -2)
📝 packages/desktop-client/src/components/ManageRules.tsx (+1 -1)
📝 packages/desktop-client/src/components/Modals.tsx (+1 -1)
📝 packages/desktop-client/src/components/accounts/Account.tsx (+5 -5)
📝 packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx (+1 -1)
📝 packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx (+1 -1)
📝 packages/desktop-client/src/components/banksync/EditSyncAccount.tsx (+1 -1)
📝 packages/desktop-client/src/components/banksync/index.tsx (+1 -1)
📝 packages/desktop-client/src/components/budget/goals/CategoryAutomationButton.tsx (+1 -1)
📝 packages/desktop-client/src/components/budget/index.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/BudgetFileSelection.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/WelcomeScreen.tsx (+1 -2)
📝 packages/desktop-client/src/components/mobile/accounts/AccountTransactions.tsx (+5 -5)
📝 packages/desktop-client/src/components/mobile/accounts/Accounts.tsx (+1 -1)
📝 packages/desktop-client/src/components/mobile/budget/BudgetCell.tsx (+1 -1)
📝 packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx (+1 -1)
📝 packages/desktop-client/src/components/mobile/budget/ExpenseCategoryListItem.tsx (+1 -1)
📝 packages/desktop-client/src/components/mobile/budget/index.tsx (+1 -1)

...and 77 more files

📄 Description

The original reason this was designed this way it to share the code with a mobile app. But since we no longer have a mobile app, these codes can now be merged to desktop-client package.

  • accounts folder
  • app folder
  • budgets folder
  • modals folder
  • notifications folder
  • prefs folder
  • queries folder
  • users folder
  • data-hooks folder
  • store folder
  • files under root loot-core/client folder

There will be some suppressed import warning due to loot-core importing some desktop-client files but this is only temporary until we migrate all the files

Changes done:

  1. Move folder from loot-core to desktop-client (vscode does the import updates)
  2. Run yarn lint:fix
  3. Suppress some @actual-app/web imports in loot-core (temporary until all loot-core/client is moved over to desktop-client)

🔄 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/4819 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 5/14/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `loot-core-client-modals-to-desktop-client` --- ### 📝 Commits (5) - [`a6f72fb`](https://github.com/actualbudget/actual/commit/a6f72fb5bb43233ff6914cdd24d44c09ff2c091c) Move loot-core/client/modals code over to desktop-client package - [`b032a06`](https://github.com/actualbudget/actual/commit/b032a069939da6c1b7040c3bfd15cb2dd4343555) Fix lint error - [`6873f53`](https://github.com/actualbudget/actual/commit/6873f53051c34ff9eec94c2ea7798cfe78e22345) Fix imports - [`5409047`](https://github.com/actualbudget/actual/commit/5409047a641bcc12309d109b2ab7cf5a988d01f8) Fix lint error - [`2f4e3e1`](https://github.com/actualbudget/actual/commit/2f4e3e1cabbb72a1705a717232cb0b5af7ebff23) Fix lint error ### 📊 Changes **97 files changed** (+132 additions, -188 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/app/appSlice.ts` (+1 -1) 📝 `packages/desktop-client/src/budgets/budgetsSlice.ts` (+1 -1) 📝 `packages/desktop-client/src/components/HelpMenu.tsx` (+1 -2) 📝 `packages/desktop-client/src/components/ManageRules.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/Modals.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/accounts/Account.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/banksync/EditSyncAccount.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/banksync/index.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/budget/goals/CategoryAutomationButton.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/budget/index.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/BudgetFileSelection.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/WelcomeScreen.tsx` (+1 -2) 📝 `packages/desktop-client/src/components/mobile/accounts/AccountTransactions.tsx` (+5 -5) 📝 `packages/desktop-client/src/components/mobile/accounts/Accounts.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/mobile/budget/BudgetCell.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/mobile/budget/BudgetTable.jsx` (+1 -1) 📝 `packages/desktop-client/src/components/mobile/budget/ExpenseCategoryListItem.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/mobile/budget/index.tsx` (+1 -1) _...and 77 more files_ </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. --> The original reason this was designed this way it to share the code with a mobile app. But since we no longer have a mobile app, these codes can now be merged to `desktop-client` package. - [x] accounts folder - [x] app folder - [x] budgets folder - [x] modals folder - [ ] notifications folder - [ ] prefs folder - [ ] queries folder - [ ] users folder - [ ] data-hooks folder - [ ] store folder - [ ] files under root `loot-core/client` folder There will be some suppressed import warning due to loot-core importing some desktop-client files but this is only temporary until we migrate all the files # Changes done: 1. Move folder from loot-core to desktop-client (vscode does the import updates) 2. Run yarn lint:fix 3. Suppress some @actual-app/web imports in loot-core (temporary until all loot-core/client is moved over to desktop-client) --- <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-02-28 21:15:05 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5598