From 40c0bbc3748e9c5d25917e6c892ce79a94444751 Mon Sep 17 00:00:00 2001 From: Breck Yunits Date: Sun, 1 Sep 2024 04:28:51 -1000 Subject: [PATCH] --- Computer.js | 3 +-- creators/creators.scroll | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Computer.js b/Computer.js index 0542bbfdc7ba..37d6f5202ba0 100644 --- a/Computer.js +++ b/Computer.js @@ -1685,7 +1685,6 @@ class Tables { const person = creatorsMap[name] || {} const anchorTag = lodash.camelCase(name) - let nameCol = `${name}` const links = { git: person.gits, home: person.homepage, @@ -1703,7 +1702,7 @@ class Tables { .join(" ") return { - name: nameCol, + name: `${name}`, links: `${linksCol}`, born: person.born, country: person.country, diff --git a/creators/creators.scroll b/creators/creators.scroll index 7d8b20a75d26..f226ad0c6cc3 100644 --- a/creators/creators.scroll +++ b/creators/creators.scroll @@ -33,6 +33,15 @@ wikipediaParser countryParser extends abstractStringMeasureParser float sortIndex 1.6 +primaryLinkParser + boolean isComputed true + extends abstractUrlMeasureParser + description What is a good primary link? + float sortIndex 1.7 + javascript + computeValue(concept) { + return concept.getOneOf("homepage gits twitter wikipedia pldbInterview".split(" ")) || "" + } id Aaron Swartz born 1986