Kenrick Tandrian

Results comments of Kenrick Tandrian

Hi @dtslvr, I would like to work on this!

@dtslvr I believe we will also need to update `.vscode/settings.json` so that `editor.defaultFormatter` is set to the new `prettier.prettier-vscode` extension.

I got the same problem as well, but once I installed the new Prettier extension, the warning disappeared.

@dtslvr We will need to move codes from `api` and `client` to `common` libs. From what I see so far, most circular dependencies are coming from importing interfaces and utility...

After #5947, these are the remaining problematic components: 1. [`GfAccountBalancesComponent`](https://github.com/ghostfolio/ghostfolio/blob/9cd6e51d315e9c04396ca01eb9c449694d363c05/libs/ui/src/lib/account-balances/account-balances.component.ts) imports `NotificationService` 2. [`GfAccountsTableComponent`](https://github.com/ghostfolio/ghostfolio/blob/9cd6e51d315e9c04396ca01eb9c449694d363c05/libs/ui/src/lib/accounts-table/accounts-table.component.ts) imports `NotificationService` 3. [`GfActivitiesTableComponent`](https://github.com/ghostfolio/ghostfolio/blob/9cd6e51d315e9c04396ca01eb9c449694d363c05/libs/ui/src/lib/activities-table/activities-table.component.ts) imports `NotificationService` 4. [`GfAssistantComponent`](https://github.com/ghostfolio/ghostfolio/blob/9cd6e51d315e9c04396ca01eb9c449694d363c05/libs/ui/src/lib/assistant/assistant.component.ts) imports `AdminService` and `DataService` 5. [`GfBenchmarkDetailDialogComponent`](https://github.com/ghostfolio/ghostfolio/blob/9cd6e51d315e9c04396ca01eb9c449694d363c05/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.component.ts) imports `DataService`...

@dtslvr I am not sure if it is a correct approach. As the name suggests, `libs/common` is intended for code that can be shared and run on both the client...

@dtslvr I think it sounds good, let me give it a try.

@dtslvr I have reverted my previous changes and created a new method called `getCashActivities`, which basically fetches the balances of each account and iterate through them to generate synthetic activities....

I realized that `this.calculatorFactory.createCalculator()` is being called in many places, while I am only handling one of them. Therefore, the cash synthetic orders calculation is moved to `OrderService` so that...