feat(app): экраны импорта отчётов, целей, доходов, ребалансировки, налогов и бенчмарков
Импорт (/imports, /instruments/pending) и фаза 4 (/goals, /income, /rebalance, /tax, аналитика-хаб с benchmarks_card) — по docs/ai/import-contract.md и docs/ai/phase4-contract.md. file_picker для загрузки отчёта.
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:fintracker_api/fintracker_api.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import '../../core/api/api_client.dart';
|
||||
import 'benchmarks_card.dart' show benchmarkRowsProvider;
|
||||
|
||||
/// The reporting unit every portfolio screen is scoped to: `all`, `account:<id>` or
|
||||
/// `portfolio:<id>`. Held in one place so switching it on Позиции also switches Аллокация
|
||||
@@ -67,4 +68,6 @@ void invalidatePortfolioProviders(WidgetRef ref) {
|
||||
ref.invalidate(allocationProvider);
|
||||
ref.invalidate(valueSeriesProvider);
|
||||
ref.invalidate(instrumentProvider);
|
||||
// the benchmark block lives on Позиции and is scoped the same way
|
||||
ref.invalidate(benchmarkRowsProvider);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user