feat: sort and paginate usage history

This commit is contained in:
Wyndham ARR
2026-08-03 17:06:58 +08:00
parent 84443d5dba
commit a9348b8d3e
4 changed files with 138 additions and 20 deletions

View File

@@ -34,7 +34,7 @@ function placeholderNames(value) {
test("all three locale dictionaries have identical keys", () => {
assert.deepEqual(locales, ["en", "zh", "th"]);
const expected = Object.keys(dictionaries.en).sort();
assert.equal(expected.length, 215);
assert.equal(expected.length, 217);
for (const locale of locales) {
assert.deepEqual(Object.keys(dictionaries[locale]).sort(), expected, `${locale} key parity`);
}