@@ -6,6 +6,7 @@ import { getWorkingEngines } from "@/engines";
6
6
7
7
type Project = {
8
8
name : string ;
9
+ nodeping_uuid ?: string ;
9
10
nodeping_id ?: string ;
10
11
workflow : string ;
11
12
source_url : string ;
@@ -16,14 +17,16 @@ type Project = {
16
17
const non_engine_projects : Project [ ] = [
17
18
{
18
19
name : "Regexplanet main website" ,
19
- nodeping_id : "e6od3bui-a5wl-49ff-8698-0cbtjc52rqw1" ,
20
+ nodeping_uuid : "e6od3bui-a5wl-49ff-8698-0cbtjc52rqw1" ,
21
+ nodeping_id : "201109281250J5K3P-GSKTHPZH" ,
20
22
source_url : "https://github.com/regexplanet/regexplanet-next" ,
21
23
url : "https://www.regexplanet.com/" ,
22
24
workflow : "gcr-deploy" ,
23
25
} ,
24
26
{
25
27
name : "Regex Zone" ,
26
- nodeping_id : "e6od3bui-a5wl-49ff-8698-0cbtjc52rqw1" ,
28
+ nodeping_uuid : "e6od3bui-a5wl-49ff-8698-0cbtjc52rqw1" ,
29
+ nodeping_id : "201109281250J5K3P-9POLWOKI" ,
27
30
source_url : "https://github.com/regexplanet/regex-zone" ,
28
31
url : "https://www.regex.zone/" ,
29
32
workflow : "gcr-deploy" ,
@@ -36,13 +39,13 @@ const make_row = (project: Project) => {
36
39
? `[](${ project . source_url } /actions/workflows/${ project . workflow } .yaml)`
37
40
: "n/a" ;
38
41
const repo = project . source_url . split ( "/" ) . slice ( - 1 ) [ 0 ] ;
39
- const issues = `` ;
40
- const prs = `` ;
41
- const status = project . nodeping_id
42
- ? ``
42
+ const issues = `[ ](https://github.com/regexplanet/ ${ repo } /issues )` ;
43
+ const prs = `[ ](https://github.com/regexplanet/ ${ repo } /pulls )` ;
44
+ const status = project . nodeping_uuid
45
+ ? `[ ](https://nodeping.com/reports/checkstatus /${ project . nodeping_id } )`
43
46
: "n/a" ;
44
- const uptime = project . nodeping_id
45
- ? ``
47
+ const uptime = project . nodeping_uuid
48
+ ? `[ ](https://nodeping.com/reports/uptime/ ${ project . nodeping_uuid } )`
46
49
: "n/a" ;
47
50
const source = `[source](${ project . source_url } )` ;
48
51
@@ -51,11 +54,11 @@ const make_row = (project: Project) => {
51
54
52
55
export async function GET ( ) {
53
56
const engines = getWorkingEngines ( )
54
- . filter ( ( engine ) => engine . nodeping_id != "N/A" )
57
+ . filter ( ( engine ) => engine . nodeping_uuid != "N/A" ) // filter out the client-side browser engine
55
58
. map ( ( engine ) => {
56
59
return make_row ( {
57
60
name : `${ engine . short_name } testing backend` ,
58
- nodeping_id : engine . nodeping_id ,
61
+ nodeping_uuid : engine . nodeping_uuid ,
59
62
source_url : engine . source_url || "" ,
60
63
test_url : engine . test_url ,
61
64
url : `https://www.regexplanet.com/advanced/${ engine . handle } /index.html` ,
0 commit comments