KarrLab / datanator_frontend

Graphical web-based interface for the Datanator toolkit for discovering data for modeling cells
https://datanator.info
MIT License
1 stars 1 forks source link

Create about page #24

Closed jonrkarr closed 4 years ago

jonrkarr commented 4 years ago

For now, create a page with minimal content and styling consistent with the search results page

Content

Examples

yosefdroth commented 4 years ago

how is this? http://datanator.info/about/

jonrkarr commented 4 years ago

The page fails to load. I only see a spinner due to several errors.

xhr.js:172 GET http://api.datanator.info/ftx/text_search/num_of_index/?query_message=undefined&index=metabolites_meta&from_=0&size=10&fields=protein_name&fields=synonyms&fields=enzymes&fields=ko_name&fields=gene_name&fields=name&fields=enzyme_name&fields=product_names&fields=substrate_names&fields=enzymes.subunit.canonical_sequence&fields=species 503 (Service Unavailable)
(anonymous) @ xhr.js:172
e.exports @ xhr.js:11
e.exports @ dispatchRequest.js:57
Promise.then (async)
l.request @ Axios.js:53
n.forEach.l.<computed> @ Axios.js:68
(anonymous) @ bind.js:9
ae @ MongoApi.js:10
value @ AboutPage.js:122
value @ AboutPage.js:88
zl @ react-dom.production.min.js:251
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xr @ react-dom.production.min.js:120
Nl @ react-dom.production.min.js:244
wl @ react-dom.production.min.js:223
vl @ react-dom.production.min.js:214
rc @ react-dom.production.min.js:279
(anonymous) @ react-dom.production.min.js:282
Ol @ react-dom.production.min.js:224
uc @ react-dom.production.min.js:282
render @ react-dom.production.min.js:286
525 @ index.js:73
a @ (index):1
386 @ main.0127a8c0.chunk.js:1
a @ (index):1
i @ (index):1
e @ (index):1
(anonymous) @ main.0127a8c0.chunk.js:1
(index):1 Access to XMLHttpRequest at 'http://api.datanator.info/ftx/text_search/num_of_index/?query_message=undefined&index=metabolites_meta&from_=0&size=10&fields=protein_name&fields=synonyms&fields=enzymes&fields=ko_name&fields=gene_name&fields=name&fields=enzyme_name&fields=product_names&fields=substrate_names&fields=enzymes.subunit.canonical_sequence&fields=species' from origin 'http://datanator.info' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
createError.js:16 Uncaught (in promise) Error: Network Error
    at e.exports (createError.js:16)
    at XMLHttpRequest.h.onerror (xhr.js:81)
e.exports @ createError.js:16
h.onerror @ xhr.js:81
error (async)
(anonymous) @ xhr.js:78
e.exports @ xhr.js:11
e.exports @ dispatchRequest.js:57
Promise.then (async)
l.request @ Axios.js:53
n.forEach.l.<computed> @ Axios.js:68
(anonymous) @ bind.js:9
ae @ MongoApi.js:10
value @ AboutPage.js:122
value @ AboutPage.js:88
zl @ react-dom.production.min.js:251
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xr @ react-dom.production.min.js:120
Nl @ react-dom.production.min.js:244
wl @ react-dom.production.min.js:223
vl @ react-dom.production.min.js:214
rc @ react-dom.production.min.js:279
(anonymous) @ react-dom.production.min.js:282
Ol @ react-dom.production.min.js:224
uc @ react-dom.production.min.js:282
render @ react-dom.production.min.js:286
525 @ index.js:73
a @ (index):1
386 @ main.0127a8c0.chunk.js:1
a @ (index):1
i @ (index):1
e @ (index):1
(anonymous) @ main.0127a8c0.chunk.js:1
2xhr.js:172 GET http://api.datanator.info/ftx/text_search/num_of_index/?query_message=undefined&index=sabio_reaction_entries&from_=0&size=10&fields=protein_name&fields=synonyms&fields=enzymes&fields=ko_name&fields=gene_name&fields=name&fields=enzyme_name&fields=product_names&fields=substrate_names&fields=enzymes.subunit.canonical_sequence&fields=species 503 (Service Unavailable)
(anonymous) @ xhr.js:172
e.exports @ xhr.js:11
e.exports @ dispatchRequest.js:57
Promise.then (async)
l.request @ Axios.js:53
n.forEach.l.<computed> @ Axios.js:68
(anonymous) @ bind.js:9
ae @ MongoApi.js:10
value @ AboutPage.js:122
value @ AboutPage.js:89
zl @ react-dom.production.min.js:251
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xr @ react-dom.production.min.js:120
Nl @ react-dom.production.min.js:244
wl @ react-dom.production.min.js:223
vl @ react-dom.production.min.js:214
rc @ react-dom.production.min.js:279
(anonymous) @ react-dom.production.min.js:282
Ol @ react-dom.production.min.js:224
uc @ react-dom.production.min.js:282
render @ react-dom.production.min.js:286
525 @ index.js:73
a @ (index):1
386 @ main.0127a8c0.chunk.js:1
a @ (index):1
i @ (index):1
e @ (index):1
(anonymous) @ main.0127a8c0.chunk.js:1
(index):1 Access to XMLHttpRequest at 'http://api.datanator.info/ftx/text_search/num_of_index/?query_message=undefined&index=sabio_reaction_entries&from_=0&size=10&fields=protein_name&fields=synonyms&fields=enzymes&fields=ko_name&fields=gene_name&fields=name&fields=enzyme_name&fields=product_names&fields=substrate_names&fields=enzymes.subunit.canonical_sequence&fields=species' from origin 'http://datanator.info' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
createError.js:16 Uncaught (in promise) Error: Network Error
    at e.exports (createError.js:16)
    at XMLHttpRequest.h.onerror (xhr.js:81)
e.exports @ createError.js:16
h.onerror @ xhr.js:81
error (async)
(anonymous) @ xhr.js:78
e.exports @ xhr.js:11
e.exports @ dispatchRequest.js:57
Promise.then (async)
l.request @ Axios.js:53
n.forEach.l.<computed> @ Axios.js:68
(anonymous) @ bind.js:9
ae @ MongoApi.js:10
value @ AboutPage.js:122
value @ AboutPage.js:89
zl @ react-dom.production.min.js:251
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xr @ react-dom.production.min.js:120
Nl @ react-dom.production.min.js:244
wl @ react-dom.production.min.js:223
vl @ react-dom.production.min.js:214
rc @ react-dom.production.min.js:279
(anonymous) @ react-dom.production.min.js:282
Ol @ react-dom.production.min.js:224
uc @ react-dom.production.min.js:282
render @ react-dom.production.min.js:286
525 @ index.js:73
a @ (index):1
386 @ main.0127a8c0.chunk.js:1
a @ (index):1
i @ (index):1
e @ (index):1
(anonymous) @ main.0127a8c0.chunk.js:1
2xhr.js:172 GET http://api.datanator.info/ftx/text_search/protein_ranked_by_ko/?query_message=undefined&from_=0&size=10&fields=protein_name&fields=synonyms&fields=enzymes&fields=ko_name&fields=gene_name&fields=name&fields=enzymes.enzyme.enzyme_name&fields=enzymes.subunit.canonical_sequence&fields=species 503 (Service Unavailable)
(anonymous) @ xhr.js:172
e.exports @ xhr.js:11
e.exports @ dispatchRequest.js:57
Promise.then (async)
l.request @ Axios.js:53
n.forEach.l.<computed> @ Axios.js:68
(anonymous) @ bind.js:9
ae @ MongoApi.js:10
value @ AboutPage.js:122
value @ AboutPage.js:90
zl @ react-dom.production.min.js:251
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xr @ react-dom.production.min.js:120
Nl @ react-dom.production.min.js:244
wl @ react-dom.production.min.js:223
vl @ react-dom.production.min.js:214
rc @ react-dom.production.min.js:279
(anonymous) @ react-dom.production.min.js:282
Ol @ react-dom.production.min.js:224
uc @ react-dom.production.min.js:282
render @ react-dom.production.min.js:286
525 @ index.js:73
a @ (index):1
386 @ main.0127a8c0.chunk.js:1
a @ (index):1
i @ (index):1
e @ (index):1
(anonymous) @ main.0127a8c0.chunk.js:1
(index):1 Access to XMLHttpRequest at 'http://api.datanator.info/ftx/text_search/protein_ranked_by_ko/?query_message=undefined&from_=0&size=10&fields=protein_name&fields=synonyms&fields=enzymes&fields=ko_name&fields=gene_name&fields=name&fields=enzymes.enzyme.enzyme_name&fields=enzymes.subunit.canonical_sequence&fields=species' from origin 'http://datanator.info' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
createError.js:16 Uncaught (in promise) Error: Network Error
    at e.exports (createError.js:16)
    at XMLHttpRequest.h.onerror (xhr.js:81)
yosefdroth commented 4 years ago

I have fixed this error. It should be finished deploying in about ten minutes. There seems to be an error with the Datanator backend at the moment, so part of the site may not work right now.

jonrkarr commented 4 years ago
yosefdroth commented 4 years ago

I have made those changes - https://datanator.info/about/ How is it now?

jonrkarr commented 4 years ago

Done