From 404f53b97f1c69bedd32f244be4c7926516eb149 Mon Sep 17 00:00:00 2001 From: Stanislav Popov Date: Sat, 21 May 2022 23:53:10 +0500 Subject: [PATCH] feat: direct input json for table --- README.md | 16 +++++++---- components/ReportHistory.vue | 55 ++++++++++++++++++++++++++++++++++-- nuxt.config.js | 7 +++++ package.json | 2 ++ pages/index.scss | 5 ++-- pages/index.vue | 37 ++++++++++++++++++++++-- plugins/localStorage.js | 1 + store/index.js | 6 ++++ 8 files changed, 118 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 799b4b8..8b711d2 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,18 @@ Web viewer for [site-audit-seo](https://github.com/viasite/site-audit-seo). -Demo: -- [Default report](https://viasite.github.io/site-audit-seo-viewer/?url=https://site-audit.viasite.ru/reports/blog.popstas.ru-default.json) -- [Lighthouse report](https://viasite.github.io/site-audit-seo-viewer/?url=https://site-audit.viasite.ru/reports/blog.popstas.ru-lighthouse.json) -- [Default + Basic Lighthouse report](https://viasite.github.io/site-audit-seo-viewer/?url=https://site-audit.viasite.ru/reports/blog.popstas.ru-default-plus-lighthouse.json) +## Features: +- Show interactive table +- Focused on page info for site audit scans, +- But can prettify any table data in json format +- You can direct input json data into inline editor -# TODO +## Demo: +- [Default report](https://viasite.github.io/json-viewer/?url=https://site-audit.viasite.ru/reports/blog.popstas.ru-default.json) +- [Lighthouse report](https://viasite.github.io/json-viewer/?url=https://site-audit.viasite.ru/reports/blog.popstas.ru-lighthouse.json) +- [Default + Basic Lighthouse report](https://viasite.github.io/json-viewer/?url=https://site-audit.viasite.ru/reports/blog.popstas.ru-default-plus-lighthouse.json) + +## TODO - show diff between reports - Don't show empty fields - Scan server don't really changing, due websockets server in nuxt.config.js diff --git a/components/ReportHistory.vue b/components/ReportHistory.vue index d9f60c8..ed54ac9 100644 --- a/components/ReportHistory.vue +++ b/components/ReportHistory.vue @@ -17,6 +17,23 @@ + + + + share , json