feat(mindspace): add achievements showcase with paginated management
Memind CI / Test, build, and release guards (push) Successful in 3m28s

Ship the M成果 page with list/delete UX, fix deletePage for incomplete page records, route /space/achievements, and add M成果 under the WeChat M空间 menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-12 15:21:42 +08:00
parent e9cecf8733
commit 421e204711
21 changed files with 1405 additions and 29 deletions
+11
View File
@@ -0,0 +1,11 @@
import assert from 'node:assert/strict';
import test from 'node:test';
import { parseAchievementQuery } from './mindspace-page-achievement-list.mjs';
test('parseAchievementQuery defaults to fast paginated listing', () => {
const parsed = parseAchievementQuery({});
assert.equal(parsed.limit, 20);
assert.equal(parsed.offset, 0);
assert.equal(parsed.includeStats, false);
});