aboutsummaryrefslogtreecommitdiff
path: root/test/test_template.ml
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 08:51:53 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 08:51:53 +0200
commit9608e49a0956c8228a022454751765404d46daa5 (patch)
treeb757b090c9d2ce4424840dae52e50750e55da166 /test/test_template.ml
parent063d4058346f7dc03eb0aa5ba394b9a872d3f1e3 (diff)
downloadcolitur-9608e49a0956c8228a022454751765404d46daa5.tar.gz
colitur-9608e49a0956c8228a022454751765404d46daa5.zip
fix(render): remove rank_label -- it duplicated name verbatim
view.ml's rank_label field was a byte-for-byte copy of the celebration's name (names_value cel.Celebration.names), not a localized rank label at all -- the kernel has no per-language rank names to draw one from, so there was no honest value to put there. Nothing consumed it: no template in the plan, no test, no other code referenced it. Removed from both day_value and padding_cell so the two key sets stay identical (23 keys each, verified). schema/day-v1.json already described 23 keys and needed no change -- it now matches the emitted output exactly. schema/day-v1.json is a published contract: once a phone subscribes or a site fetches this, removing a field is a breaking /v2/ change. The time to remove a field that lies about its own contents is before anyone can depend on it, not after.
Diffstat (limited to 'test/test_template.ml')
0 files changed, 0 insertions, 0 deletions