Commit Graph

11 Commits

Author SHA1 Message Date
xenticore
2dc51d1a00 lint: remove unused import 2025-04-24 17:38:42 -04:00
xenticore
4b6198fcaa lint: clarify types on log functions 2025-04-24 17:38:34 -04:00
xenticore
df3b40fbdd lint: var to let/const 2025-04-24 17:38:02 -04:00
xenticore
94ddd6047e l10n: stub all wiki languages 2025-04-24 17:07:38 -04:00
xenticore
90ddc075df feat: add more currencies for page languages 2025-04-16 20:43:12 -04:00
xenticore
1d92d9e20c feat: add currency conversions to price table
Exchange rates are loaded once per page and passed to price row generation, so we don't hit the cache more than once.
2025-04-16 18:24:27 -04:00
xenticore
84daf5b2d6 fix, feat: add currency conversion stub
uses proper JS api for currency formatting and preparations for showing other currencies based on page locale
2025-04-16 14:54:57 -04:00
xenticore
dcf45c2740 refactor: split currency and key/metal formatting into separate units
this simplifies functions and tests, and will make currency optional/variable later
2025-04-16 14:04:39 -04:00
xenticore
04845d6bbf l10n: translate ref 2025-03-29 00:00:52 -04:00
xenticore
7c7e58d0d2 refactor: move extractPageTitleFromURL to module, add tests 2025-03-27 14:51:13 -04:00
xenticore
12de4a7148 refactor: moved components to separate modules
`content.ts` is now half less than the size, exported functions can be unit tested
2025-03-24 15:39:28 -04:00