openvibers/openvibe.search Commits
Search's front page leaves clips off "New on the network": their index order brought back clips from March (#78)
Changes
@@@ -88,7 +88,7 @@ route index at `/`.The plain front page is the network's search front page (`server/web/page.js`, `server/web/front-data.js`):example searches, the index in numbers (public listed documents, sites sending, kinds, added or updated--this week), shelves of the newest public documents of each kind (streams, clips, blog posts, jobs,++this week), shelves of the newest public documents of each kind (streams, blog posts, jobs,hosting plans, coupons, forum threads, help articles, places, rental cities, quests, tools; read withthe same searcher and anonymous viewer as `GET /api/v1/search?owner=&type=`, so nothing private or draftcan appear; community pastes, whose titles an AI writes from a picture, and placeholder titles are not@@@ -15,10 +15,10 @@ const { ANONYMOUS } = require('../auth');const WEEK_MS = 7 * 24 * 60 * 60 * 1000;// The shelves, in the order the page shows them: a kind of document people browse, its heading and how many to show.// Community pastes are left off on purpose: their titles are written by an AI from a picture, and this page is not the--// place to repeat them (they stay searchable).++// place to repeat them (they stay searchable). Clips are left off too: their index order brings back months-old clips,++// which a shelf called "New on the network" must not show.const SHELVES = [['live', 'vod', 'Recent streams'],-- ['live', 'clip', 'Clips'],['blog', 'post', 'From the blogs'],['work', 'job', 'New jobs'],['host', 'plan', 'Hosting plans'],
@@ -88,7 +88,7 @@ route index at `/`.
@@ -88,7 +88,7 @@ route index at `/`.
The plain front page is the network's search front page (`server/web/page.js`, `server/web/front-data.js`):
The plain front page is the network's search front page (`server/web/page.js`, `server/web/front-data.js`):
example searches, the index in numbers (public listed documents, sites sending, kinds, added or updated
example searches, the index in numbers (public listed documents, sites sending, kinds, added or updated
-this week), shelves of the newest public documents of each kind (streams, clips, blog posts, jobs,
+this week), shelves of the newest public documents of each kind (streams, blog posts, jobs,
hosting plans, coupons, forum threads, help articles, places, rental cities, quests, tools; read with
hosting plans, coupons, forum threads, help articles, places, rental cities, quests, tools; read with
the same searcher and anonymous viewer as `GET /api/v1/search?owner=&type=`, so nothing private or draft
the same searcher and anonymous viewer as `GET /api/v1/search?owner=&type=`, so nothing private or draft
can appear; community pastes, whose titles an AI writes from a picture, and placeholder titles are not
can appear; community pastes, whose titles an AI writes from a picture, and placeholder titles are not
@@ -15,10 +15,10 @@ const { ANONYMOUS } = require('../auth');
@@ -15,10 +15,10 @@ const { ANONYMOUS } = require('../auth');
const WEEK_MS = 7 * 24 * 60 * 60 * 1000;
const WEEK_MS = 7 * 24 * 60 * 60 * 1000;
// The shelves, in the order the page shows them: a kind of document people browse, its heading and how many to show.
// The shelves, in the order the page shows them: a kind of document people browse, its heading and how many to show.
// Community pastes are left off on purpose: their titles are written by an AI from a picture, and this page is not the
// Community pastes are left off on purpose: their titles are written by an AI from a picture, and this page is not the
-// place to repeat them (they stay searchable).
+// place to repeat them (they stay searchable). Clips are left off too: their index order brings back months-old clips,
+// which a shelf called "New on the network" must not show.
const SHELVES = [
const SHELVES = [
['live', 'vod', 'Recent streams'],
['live', 'vod', 'Recent streams'],
- ['live', 'clip', 'Clips'],
['blog', 'post', 'From the blogs'],
['blog', 'post', 'From the blogs'],
['work', 'job', 'New jobs'],
['work', 'job', 'New jobs'],
['host', 'plan', 'Hosting plans'],
['host', 'plan', 'Hosting plans'],