openvibers/openvibe.space Commits
Space: the home shows what works (no planned section); the forum pointer stays (#44)
Changes
@@@ -78,13 +78,10 @@ curl -X POST "https://openvibe.space/api/v1/sites/$SITE_ID/deploys?activate=1" \row('Largest file', 'maxFileBytes', size),],source: 'https://github.com/OpenVibers/OpenVibe.Space/blob/main/server/hosting-config.js',-- }) + sc.steps({-- title: 'Next',-- items: [-- { title: 'Dynamic pages', text: 'Planned; server side pages are not built yet.' },-- { title: 'Spaces', text: 'Planned; small apps on a person\'s OpenVibe account are not built yet.' },-- { title: 'The forum', href: FORUM_URL, text: 'The forum moved to OpenVibe.Community.' },-- ],++ }) + sc.cta({++ title: 'Looking for the forum?',++ text: 'The forum moved to OpenVibe.Community.',++ actions: [{ label: 'Open the forum', href: FORUM_URL, primary: true }],});return renderPage({ canonicalPath: '/', active: 'home', styles: [sc.STYLESHEET], body });}@@@ -13,7 +13,7 @@ const { boot, check, done } = require('./stageb/boot');assert.match(r.text, /Static site hosting is built and tested/);assert.match(r.text, /OpenVibe staff only until public launch/);assert.match(r.text, /designated DMCA agent/);-- assert.match(r.text, /Dynamic pages/);++ assert.doesNotMatch(r.text, /Planned|not built/, 'the home shows what works, never what is planned');});await check('a person cannot create a project until launch', async () => {const r = await t.api('POST', '/api/v1/projects', { as: alice, json: { name: 'Too early' } });
@@ -78,13 +78,10 @@ curl -X POST "https://openvibe.space/api/v1/sites/$SITE_ID/deploys?activate=1" \
@@ -78,13 +78,10 @@ curl -X POST "https://openvibe.space/api/v1/sites/$SITE_ID/deploys?activate=1" \
row('Largest file', 'maxFileBytes', size),
row('Largest file', 'maxFileBytes', size),
],
],
source: 'https://github.com/OpenVibers/OpenVibe.Space/blob/main/server/hosting-config.js',
source: 'https://github.com/OpenVibers/OpenVibe.Space/blob/main/server/hosting-config.js',
- }) + sc.steps({
- title: 'Next',
- items: [
- { title: 'Dynamic pages', text: 'Planned; server side pages are not built yet.' },
- { title: 'Spaces', text: 'Planned; small apps on a person\'s OpenVibe account are not built yet.' },
- { title: 'The forum', href: FORUM_URL, text: 'The forum moved to OpenVibe.Community.' },
- ],
+ }) + sc.cta({
+ title: 'Looking for the forum?',
+ text: 'The forum moved to OpenVibe.Community.',
+ actions: [{ label: 'Open the forum', href: FORUM_URL, primary: true }],
});
});
return renderPage({ canonicalPath: '/', active: 'home', styles: [sc.STYLESHEET], body });
return renderPage({ canonicalPath: '/', active: 'home', styles: [sc.STYLESHEET], body });
}
}
@@ -13,7 +13,7 @@ const { boot, check, done } = require('./stageb/boot');
@@ -13,7 +13,7 @@ const { boot, check, done } = require('./stageb/boot');
assert.match(r.text, /Static site hosting is built and tested/);
assert.match(r.text, /Static site hosting is built and tested/);
assert.match(r.text, /OpenVibe staff only until public launch/);
assert.match(r.text, /OpenVibe staff only until public launch/);
assert.match(r.text, /designated DMCA agent/);
assert.match(r.text, /designated DMCA agent/);
- assert.match(r.text, /Dynamic pages/);
+ assert.doesNotMatch(r.text, /Planned|not built/, 'the home shows what works, never what is planned');
});
});
await check('a person cannot create a project until launch', async () => {
await check('a person cannot create a project until launch', async () => {
const r = await t.api('POST', '/api/v1/projects', { as: alice, json: { name: 'Too early' } });
const r = await t.api('POST', '/api/v1/projects', { as: alice, json: { name: 'Too early' } });