Skip to content

Commit

Permalink
feat: create universal site-audit-seo-viewer from viasite-projects-list
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Aug 21, 2020
1 parent 09c1476 commit f1c556c
Show file tree
Hide file tree
Showing 23 changed files with 694 additions and 1,426 deletions.
135 changes: 72 additions & 63 deletions assets/js/presets/columns.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,79 +3,88 @@ module.exports = {
name: 'default',
groups: ['main'],
columns: [
'domain_idn',
'host',
'prod',
'engine',
'meta_year',
'meta_visitors',
'meta_client_priority',
'url',
'h1',
'request_time',
'status',
'dom_size',
'html_size',
'is_canonical',
'canonical_count',
'h1_count',
'h2_count',
'h3_count',
'h4_count',
'images',
'images_without_alt',
'images_alt_empty',
'images_outer',
'links',
'links_inner',
'links_outer',
'text_ratio_percent',
/* 'lighthouse_scores_performance',
'lighthouse_scores_pwa',
'lighthouse_scores_accessibility',
'lighthouse_scores_best-practices',
'lighthouse_scores_seo',
'lighthouse_first-contentful-paint',
'lighthouse_speed-index',
'lighthouse_largest-contentful-paint',
'lighthouse_interactive',
'lighthouse_total-blocking-time',
'lighthouse_cumulative-layout-shift', */
]
},
cron: {
name: 'cron',
groups: ['cron'],
columns: ['domain_idn', 'host', 'prod', 'cron']
},
bitrix: {
name: 'bitrix',
groups: ['bitrix'],
lighthouse: {
name: 'lighthouse',
groups: ['lighthouse'],
columns: [
'domain_idn',
'host',
'prod',
'email',
'engine_version',
'bitrix_image_quality',
'bitrix_total_mark_value',
'files_count',
'files_size',
'git_clean',
'h1_count'
'url',
'lighthouse_scores_performance',
'lighthouse_scores_pwa',
'lighthouse_scores_accessibility',
'lighthouse_scores_best-practices',
'lighthouse_scores_seo',
'lighthouse_first-contentful-paint',
'lighthouse_speed-index',
'lighthouse_largest-contentful-paint',
'lighthouse_interactive',
'lighthouse_total-blocking-time',
'lighthouse_cumulative-layout-shift',
]
},
pagespeed_performance: {
name: 'pagespeed_performance',
groups: ['lighthouse', 'perf'],
opengraph: {
name: 'opengraph',
groups: ['seo'],
columns: [
'domain_idn',
'engine',
'lighthouse_performance',
'lighthouse_interactive',
'lighthouse_speed_index',
'lighthouse_first_contentful_paint',
'lighthouse_first_cpu_idle',
'lighthouse_first_meaningful_paint',
'lighthouse_input_latency'
'url',
'og_image',
'og_title',
'schema_types',
]
},
pagespeed_score: {
name: 'pagespeed_score',
groups: ['lighthouse', 'perf'],
mixed_content: {
name: 'mixed_content',
groups: ['info', 'seo'],
columns: [
'domain_idn',
'engine',
'lighthouse_all',
'lighthouse_performance',
'lighthouse_pwa',
'lighthouse_accessibility',
'lighthouse_best_practices',
'lighthouse_seo'
'url',
'mixed_content_url',
]
},
https: {
name: 'https',
groups: ['service'],
columns: ['domain_idn', 'https', 'email']
},
clients: {
name: 'клиенты',
groups: ['main'],
columns: ['domain_idn', 'meta_title', 'meta_category', 'meta_type', 'meta_client_priority']
metatags: {
name: 'metatags',
groups: ['info'],
columns: [
'url',
'title',
'description',
'keywords',
'h1',
'canonical',
'og_image',
'og_title',
'schema_types',
]
},
email: {
name: 'для рассылки',
groups: ['main'],
columns: ['domain_idn', 'email', 'meta_mail_domain', 'https', 'group']
}
};
96 changes: 8 additions & 88 deletions assets/js/presets/filters.conf.js
Original file line number Diff line number Diff line change
@@ -1,97 +1,17 @@
module.exports = [
{
name: 'Боевые сайты',
q: 'prod=1',
groups: ['main']
name: 'PageSpeed < 90%',
q: 'lighthouse_scores_performance<90',
groups: ['main', 'perf', 'lighthouse']
},
{
name: 'Приоритетные клиенты',
q: 'meta_client_priority<3',
groups: ['main']
name: 'Request time > 1000',
q: 'request_time>1000',
groups: ['main', 'perf']
},
{
name: 'Битриксы',
q: 'engine=bitrix',
groups: ['info', 'bitrix']
},
{
name: 'Drupal',
q: 'engine=drupal',
groups: ['info']
},
{
name: 'Визитки',
q: 'group~/(visitkaplus|snormal)/',
groups: ['info']
},
{
name: 'Vcorp',
q: 'group=vcorp',
groups: ['info']
},
{
name: 'Аспро',
q: 'bitrix_aspro=1',
groups: ['info', 'bitrix']
},
{
name: 'Без cron',
q: 'engine=drupal&cron=0',
groups: ['cron']
},
{
name: 'Без git',
q: 'git=0',
groups: ['git']
},
{
name: 'Грязный git',
q: 'git=1&git_clean=0',
groups: ['git']
},
{
name: 'h1 > 1',
q: 'h1_count>1',
name: 'H1 != 1',
q: 'h1_count!=1',
groups: ['seo']
},
{
name: 'Без HTTPS',
q: 'https=0',
groups: ['service']
},
{
name: 'Без почты на домене',
q: 'meta_mail_domain=0',
groups: ['service', 'info']
},
{
name: 'Drupal без кэша анонимов',
q: 'engine=drupal&cache=0&boost=0',
groups: ['cache']
},
{
name: 'Drupal без js min',
q: 'engine=drupal&preprocess_js=0',
groups: ['cache']
},
{
name: 'Яндекс.карты на главке',
q: 'yandex_maps=1',
groups: ['perf']
},
{
name: 'Быстрый PageSpeed',
q: 'lighthouse_performance>50',
groups: ['perf', 'lighthouse']
},
{
name: 'Кликабельные телефоны',
q: 'tel_links>0',
groups: ['service']
},
{
name: 'Продан PageSpeed',
q: 'meta_pagespeed>0',
groups: ['service', 'lighthouse']
}
];
51 changes: 0 additions & 51 deletions components/CalculatorForm.vue

This file was deleted.

69 changes: 0 additions & 69 deletions components/CalculatorOption.vue

This file was deleted.

Loading

0 comments on commit f1c556c

Please sign in to comment.