diff --git a/.eslintrc.json b/.eslintrc.json
index 583e759e..5e7ef0a0 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -14,6 +14,7 @@
},
"plugins": ["react"],
"rules": {
+ "react/display-name": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
diff --git a/README.md b/README.md
index ac776947..b01915b0 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Umami is a simple, fast, website analytics alternative to Google Analytics.
A detailed getting started guide can be found at [https://umami.is/docs/](https://umami.is/docs/)
-## Installation from source
+## Installing from source
### Requirements
@@ -74,7 +74,7 @@ By default this will launch the application on `http://localhost:3000`. You will
[proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) requests from your web server
or change the [port](https://nextjs.org/docs/api-reference/cli#production) to serve the application directly.
-## Installation with Docker
+## Installing with Docker
To build the umami container and start up a Postgres database, run:
diff --git a/components/WebsiteDetails.js b/components/WebsiteDetails.js
index a3c41880..46d439a3 100644
--- a/components/WebsiteDetails.js
+++ b/components/WebsiteDetails.js
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import classNames from 'classnames';
import WebsiteChart from 'components/metrics/WebsiteChart';
-import RankingsChart from 'components/metrics/RankingsChart';
+import MetricsTable from 'components/metrics/MetricsTable';
import WorldMap from 'components/common/WorldMap';
import Page from 'components/layout/Page';
import WebsiteHeader from 'components/metrics/WebsiteHeader';
@@ -9,12 +9,14 @@ import MenuLayout from 'components/layout/MenuLayout';
import Button from 'components/common/Button';
import { getDateRange } from 'lib/date';
import { get } from 'lib/web';
-import { browserFilter, urlFilter, refFilter, deviceFilter, countryFilter } from 'lib/filters';
import Arrow from 'assets/arrow-right.svg';
import styles from './WebsiteDetails.module.css';
-
-const pageviewClasses = 'col-md-12 col-lg-6';
-const sessionClasses = 'col-md-12 col-lg-4';
+import PagesTable from './metrics/PagesTable';
+import ReferrersTable from './metrics/ReferrersTable';
+import BrowsersTable from './metrics/BrowsersTable';
+import OSTable from './metrics/OSTable';
+import DevicesTable from './metrics/DevicesTable';
+import CountriesTable from './metrics/CountriesTable';
export default function WebsiteDetails({ websiteId, defaultDateRange = '7day' }) {
const [data, setData] = useState();
@@ -24,29 +26,30 @@ export default function WebsiteDetails({ websiteId, defaultDateRange = '7day' })
const [expand, setExpand] = useState();
const { startDate, endDate } = dateRange;
+ const BackButton = () => (
+ }
+ size="xsmall"
+ onClick={() => setExpand(null)}
+ >
+