Files
Komediruzecki 619f180373 merge: main 5c2798da into the first week
Brings in 580168e8 and the six PRs merged on it: #628 and #623 (tests), #622, #621, #624 and
#625. The branch already carried #621's first commit (3b265179), #622's first commit (50841aaf)
and #624's and #625's commits. Main's reviewed versions win, and the branch's later work stays on
top of them.

- #621's review commit: the Accounts page takes the badge's colour and the card's icon from
  core/accountTypes.ts, the constellation and the edit dialog read the type through
  knownAccountType, and an unknown type opens as a disabled "Other account" option. The branch's
  credit work moves into those maps: accountTypeTone gives credit 'expense', accountTypeIcon gives
  it the card and cash the banknotes, the constellation keeps its "Credit card" entry and drops the
  dead "investment" one, and the edit dialog offers Credit Card. accountForm.ts imports main's
  storedAccountType and the branch's takesCreditLine.
- #622's review commit is dev-changelog only, and main's entry replaces the branch's copy. The
  achievements code is the branch's, which sums through baseAmount wherever #622 does.
- #624 and #625: the onboarding CSS and spec are main's plus the branch's later commits.

The clash: the branch makes credit a type, and #621's tests on main use credit as the type a build
does not know. After the merge a credit account shows as a credit card on every display #621
reads through knownAccountType (badge word, colour, icon, constellation, Transactions select, edit
dialog), and the import and MCP create_account take credit, as the account form does. #621's
tests that need an unknown type use sock_drawer, which no build will have; the branch's own switch
from credit to loan stays in the tests that are not #621's. New checks: a credit card on each
display (accountTypes, accountsPageTypes, accountConstellation, transactionsAccountTypeWord, the
edit dialog in accountForm), an import contract scenario in both runtimes and MCP create_account.

Changelogs: main's entries stay where main has them, and the branch's stay under [Unreleased].
The branch's credit entries now say that the import and the MCP server take a credit card.
2026-10-18 16:25:35 +02:00
..