Support linkify-ing urls
Summary: Changelog: The new logs plugin will linkify urls and pretty print json-like messages This implements one of our top papercuts (see linked task), and the WP request over here: https://fb.workplace.com/groups/flipperfyi/permalink/902949260471370/. Partially addresses https://github.com/facebook/flipper/issues/1162 https://github.com/facebook/flipper/issues/1010 https://github.com/facebook/flipper/issues/2029 Reviewed By: nikoant Differential Revision: D26947007 fbshipit-source-id: be0fdb476765905ae6b63bd8799c9c6093014de3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
66774c90c6
commit
d73f6578a7
@@ -104,9 +104,7 @@ const App: () => React$Node = () => {
|
||||
fetch(API, {headers: {accept: 'application/json'}})
|
||||
.then((res) => res.json())
|
||||
.then((data) => {
|
||||
console.log(
|
||||
'Got status: ' + JSON.stringify(data, null, 2),
|
||||
);
|
||||
console.log(data.status);
|
||||
setNpmStatus(data.status.description);
|
||||
})
|
||||
.catch((e) => {
|
||||
|
||||
Reference in New Issue
Block a user