@bongos/core 1.21.67 → 1.21.69
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 +24 -24
- package/docs/copy-inventory.md +371 -366
- package/docs/copy-registry.json +457 -412
- package/docs/module-api-changelog.md +4 -0
- package/docs/page-inventory.json +2 -1
- package/docs/page-readings.json +718 -714
- package/modules/public-landing/public/account.html +88 -1
- package/modules/public-landing/public/account.probes.json +9 -0
- package/modules/public-landing/public/account.states.json +2 -1
- package/modules/public-landing/public/assets/cosmos.css +3 -0
- package/modules/public-landing/public/invitations.html +16 -7
- package/modules/public-landing/public/projects.html +14 -81
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/release-notes.json +12 -0
- package/src/module-api.js +1 -1
- package/tests/card_apply_ui.mjs +0 -1
- package/tests/hub_account_page.mjs +132 -6
- package/tests/hub_invitations_page.mjs +15 -0
- package/tests/public_landing_projects.mjs +12 -13
|
@@ -515,24 +515,23 @@ test('a stamped asset still serves — the query string is not part of the filen
|
|
|
515
515
|
assert.match(res.body, /\.shell\{/, 'and it must be the real stylesheet');
|
|
516
516
|
});
|
|
517
517
|
|
|
518
|
-
// ── #view-mine:
|
|
518
|
+
// ── #view-mine: the ways to /invitations and /account ──────────────────────────
|
|
519
519
|
// The hall's my-projects page was deleted in task 1003308 on the owner's own
|
|
520
|
-
// decision that this is a hub surface
|
|
521
|
-
//
|
|
522
|
-
//
|
|
523
|
-
//
|
|
524
|
-
//
|
|
525
|
-
//
|
|
526
|
-
|
|
527
|
-
test('#view-mine keeps building-on with Leave, and points at /invitations for the invitations and the join field', async () => {
|
|
520
|
+
// decision that this is a hub surface, and task 1003774 brought its lists here.
|
|
521
|
+
// They have since moved on: the invitations and the join-by-address field to their
|
|
522
|
+
// own page (task 1004276, ADR 0337 D5; tests/hub_invitations_page.mjs), and the
|
|
523
|
+
// projects you build on, with Leave, to /account (task 1004277;
|
|
524
|
+
// tests/hub_account_page.mjs). What stays here: a door to each, and the map card's
|
|
525
|
+
// Apply, which still posts the join relay.
|
|
526
|
+
test('#view-mine points at /invitations and /account, and keeps neither list', async () => {
|
|
528
527
|
const { body } = await request('/projects', 'game.test.local');
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
for (const gone of ['invitesList', 'guildInviteList', 'engageList', 'guildRequestList', 'joinOrigin', 'joinNote', 'joinBtn', 'mineInvites']) {
|
|
532
|
-
assert.doesNotMatch(body, new RegExp(`id="${gone}"`), `#${gone} moved to /invitations`);
|
|
528
|
+
for (const gone of ['buildingList', 'buildingEmpty', 'invitesList', 'guildInviteList', 'engageList', 'guildRequestList', 'joinOrigin', 'joinNote', 'joinBtn', 'mineInvites']) {
|
|
529
|
+
assert.doesNotMatch(body, new RegExp(`id="${gone}"`), `#${gone} moved off this page`);
|
|
533
530
|
}
|
|
534
531
|
assert.doesNotMatch(body, /\/my-projects\/invites/, 'the invitations are read on their own page now');
|
|
532
|
+
assert.doesNotMatch(body, /\/my-projects\/'\s*\+\s*encodeURIComponent/, 'and Leave is the account page’s');
|
|
535
533
|
assert.match(body, /<h2 id="mineToInvitesH">Invitations<\/h2>\s*<p class="lede">[^<]*<a href="\/invitations">Open your invitations<\/a><\/p>/, 'the mine view says where they went');
|
|
534
|
+
assert.match(body, /<h2 id="mineToAccountH">Projects you build on<\/h2>\s*<p class="lede">[^<]*<a href="\/account#aBuilding">Open your account<\/a><\/p>/);
|
|
536
535
|
assert.match(body, /\/my-projects\/join/, 'the map card’s Apply to join still posts the join relay');
|
|
537
536
|
});
|
|
538
537
|
|