[PR #4823] [MERGED] Move loot-core/client/users code over to desktop-client package #5602

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

📋 Pull Request Information

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

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


📝 Commits (4)

  • d0f1de7 Move loot-core/client/modals code over to desktop-client package
  • 9ec02dd Fix lint error
  • 30dd752 Move loot-core/client/users code over to desktop-client package
  • c62326c Fix lint errors

📊 Changes

19 files changed (+35 additions, -37 deletions)

View changed files

📝 packages/desktop-client/src/budgets/budgetsSlice.ts (+1 -1)
📝 packages/desktop-client/src/components/App.tsx (+1 -1)
📝 packages/desktop-client/src/components/LoggedInUser.tsx (+1 -1)
📝 packages/desktop-client/src/components/admin/UserAccess/UserAccessRow.tsx (+1 -1)
📝 packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/BudgetFileSelection.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/ConfigServer.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/ManagementApp.tsx (+1 -2)
📝 packages/desktop-client/src/components/manager/subscribe/Login.tsx (+1 -1)
📝 packages/desktop-client/src/components/manager/subscribe/OpenIdCallback.ts (+1 -1)
📝 packages/desktop-client/src/components/modals/EditAccess.tsx (+1 -1)
📝 packages/desktop-client/src/components/modals/EditUser.tsx (+1 -1)
📝 packages/desktop-client/src/index.tsx (+1 -1)
📝 packages/desktop-client/src/modals/modalsSlice.ts (+1 -1)
📝 packages/desktop-client/src/users/usersSlice.ts (+7 -12)
📝 packages/loot-core/src/client/shared-listeners.ts (+1 -1)
📝 packages/loot-core/src/client/store/index.ts (+4 -5)
📝 packages/loot-core/src/client/store/mock.ts (+3 -4)
upcoming-release-notes/4823.md (+6 -0)

📄 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/4823 **Author:** [@joel-jeremy](https://github.com/joel-jeremy) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 5/15/2025 **Merged by:** [@joel-jeremy](https://github.com/joel-jeremy) **Base:** `master` ← **Head:** `loot-core-client-users-to-desktop-client` --- ### 📝 Commits (4) - [`d0f1de7`](https://github.com/actualbudget/actual/commit/d0f1de7e01d6429903ff804e1067ccac9ba8b657) Move loot-core/client/modals code over to desktop-client package - [`9ec02dd`](https://github.com/actualbudget/actual/commit/9ec02ddf99a1f055e66882e0ca01d2694cdd02ff) Fix lint error - [`30dd752`](https://github.com/actualbudget/actual/commit/30dd752d796a6e9a9c7a8bb74eb2359aea720838) Move loot-core/client/users code over to desktop-client package - [`c62326c`](https://github.com/actualbudget/actual/commit/c62326c2cb106e5d6308eeb1923549103b932d1f) Fix lint errors ### 📊 Changes **19 files changed** (+35 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/budgets/budgetsSlice.ts` (+1 -1) 📝 `packages/desktop-client/src/components/App.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/LoggedInUser.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/admin/UserAccess/UserAccessRow.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/BudgetFileSelection.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/ConfigServer.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/ManagementApp.tsx` (+1 -2) 📝 `packages/desktop-client/src/components/manager/subscribe/Login.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/manager/subscribe/OpenIdCallback.ts` (+1 -1) 📝 `packages/desktop-client/src/components/modals/EditAccess.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/modals/EditUser.tsx` (+1 -1) 📝 `packages/desktop-client/src/index.tsx` (+1 -1) 📝 `packages/desktop-client/src/modals/modalsSlice.ts` (+1 -1) 📝 `packages/desktop-client/src/users/usersSlice.ts` (+7 -12) 📝 `packages/loot-core/src/client/shared-listeners.ts` (+1 -1) 📝 `packages/loot-core/src/client/store/index.ts` (+4 -5) 📝 `packages/loot-core/src/client/store/mock.ts` (+3 -4) ➕ `upcoming-release-notes/4823.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. --> 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 - [x] notifications folder - [x] prefs folder - [x] queries folder - [x] 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:12 -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#5602