feat: unify income payment cards and drop period comparisons (WealthLedger/main#33)
Frontend verify / commits (pull_request) Successful in 41s
Frontend verify / security (pull_request) Successful in 12s
Frontend verify / verify (pull_request) Successful in 6m41s

- income page renders only selected-period totals and payments; the
  comparison blocks, notices and display-only percentage math removed
- new shared PayoutCard presents executed payouts, forecasts and
  per-security schedules with explicit money semantics
- ledger rows, upcoming events, stock dividends and bond coupons use
  the same card; period filter lost its duplicated paper wrapper
This commit is contained in:
2026-10-13 17:45:58 +03:00
parent b357743c10
commit d61cdd2e8f
27 changed files with 474 additions and 1092 deletions
+1 -64
View File
@@ -6706,47 +6706,6 @@
"meta"
]
},
"IncomeComparisonCurrencyDto": {
"type": "object",
"properties": {
"currency": {
"type": "string"
},
"selected": {
"$ref": "#/components/schemas/IncomeCurrencySummaryDto"
},
"compared": {
"$ref": "#/components/schemas/IncomeCurrencySummaryDto"
},
"difference": {
"$ref": "#/components/schemas/IncomeCurrencySummaryDto"
}
},
"required": [
"currency",
"selected",
"compared",
"difference"
]
},
"IncomeComparisonDto": {
"type": "object",
"properties": {
"period": {
"$ref": "#/components/schemas/IncomePeriodDto"
},
"totalsByCurrency": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IncomeComparisonCurrencyDto"
}
}
},
"required": [
"period",
"totalsByCurrency"
]
},
"IncomeBucketDto": {
"type": "object",
"properties": {
@@ -6948,24 +6907,6 @@
"type": "string",
"format": "date-time"
},
"previous": {
"nullable": true,
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/IncomeComparisonDto"
}
]
},
"yearComparison": {
"nullable": true,
"type": "object",
"allOf": [
{
"$ref": "#/components/schemas/IncomeComparisonDto"
}
]
},
"bucketGranularity": {
"type": "string",
"enum": [
@@ -6998,8 +6939,6 @@
"period",
"totalsByCurrency",
"calculatedAt",
"previous",
"yearComparison",
"bucketGranularity",
"buckets",
"instruments",
@@ -7056,9 +6995,7 @@
"role": {
"type": "string",
"enum": [
"selected",
"previous",
"year"
"selected"
]
}
},