-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure ASN0 measurement are hidden
* Allow only valid ASN values in search filters * Drop search results with AS0 in probe_asn * Do no show measurements with AS0 in report_id * Fix formatting of long text in msmt 404 page See #495
- Loading branch information
1 parent
99fa5ad
commit 02a32db
Showing
6 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* global process */ | ||
import React from 'react' | ||
import NavBar from '../NavBar' | ||
import { Container, Flex, Box, Heading, Text } from 'ooni-components' | ||
import { useRouter } from 'next/router' | ||
import styled from 'styled-components' | ||
|
||
import OONI404 from '../../static/images/OONI_404.svg' | ||
|
||
const WordBreakText = styled(Text)` | ||
word-wrap: break-word; | ||
` | ||
|
||
const MeasurementNotFound = () => { | ||
const { asPath } = useRouter() | ||
return ( | ||
<React.Fragment> | ||
<NavBar /> | ||
<Container> | ||
<Flex flexDirection={['column', 'row']} justifyContent='space-around' alignItems='center' my={5}> | ||
<OONI404 height='200px' /> | ||
<Box width={[1, 1/2]} my={[3, 0]}> | ||
<Heading color='blue5' h={4}>Measurement Not Found</Heading> | ||
<WordBreakText color='gray8' as='code'> | ||
{`${process.env.EXPLORER_URL}${asPath}`} | ||
</WordBreakText> | ||
</Box> | ||
</Flex> | ||
</Container> | ||
</React.Fragment> | ||
) | ||
} | ||
|
||
export default MeasurementNotFound |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ooni-explorer", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"author": "Open Observatory of Network Interference (OONI) <[email protected]>", | ||
"license": "BSD-3-Clause", | ||
"main": "index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters