@bongos/core 1.19.904 → 1.19.906
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bongos-core.json +45 -20
- package/docs/copy-inventory.md +4 -4
- package/docs/copy-registry.json +4 -4
- package/docs/module-api-changelog.md +4 -0
- package/migrations/core_251_credit_log_idea_size_index.sql +61 -0
- package/modules/economy/credits.js +8 -0
- package/modules/economy/idea-size-historical.js +149 -0
- package/modules/economy/idea-size.js +381 -0
- package/modules/economy/reward.js +17 -0
- package/modules/hall-ui/public/people.js +6 -1
- package/modules/hall-ui/public/profile.js +42 -5
- package/modules/ideas/routes/inbox.js +9 -0
- package/modules/ideas/trail-size.js +88 -0
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/src/module-api.js +1 -1
- package/tests/hall_roster_world.mjs +6 -1
- package/tests/idea_size.mjs +776 -0
- package/tests/people_directory_clip.mjs +44 -1
|
@@ -221,7 +221,12 @@ test('the directory row shows the avatar, the name and the login the API returns
|
|
|
221
221
|
assert.match(src, /class="lb-name dir-name" href="https:\/\/github\.com\/' \+ encodeURIComponent\(b\.github_login\)/,
|
|
222
222
|
'the shell\'s .lb-name, to the one page every listed builder has');
|
|
223
223
|
assert.match(src, /'<span class="dir-login">@' \+ esc\(b\.github_login\)/, 'the login under the name says where the door goes');
|
|
224
|
-
|
|
224
|
+
// The chip is the assertion; what goes IN it is the role vocabulary, not the column
|
|
225
|
+
// (task 1004040). This line used to pin `esc(String(d))` — the raw value — so it read as
|
|
226
|
+
// a guard on the chip while actually holding the Directory to rendering 'unclassified'
|
|
227
|
+
// and a lowercase 'ui'. Pinning the wrapper and the helper keeps the original intent
|
|
228
|
+
// without pinning the defect that happened to be inside it.
|
|
229
|
+
assert.match(src, /<span class="fact-chip">' \+ esc\(roleLabel\(d\)\)/, 'roles are chips, spoken not printed');
|
|
225
230
|
assert.doesNotMatch(src, /class="num"/, 'the shell\'s ledger__num, not the bare .num scouting.js had corrected');
|
|
226
231
|
assert.match(src, /class="ledger__num"/);
|
|
227
232
|
});
|