CuBoulder / express_mono

Monolithic Express Profile - contains all bundles
GNU General Public License v2.0
1 stars 2 forks source link

Make sure all sites are responsive. #783

Open kevincrafts opened 3 years ago

kevincrafts commented 3 years ago

We removed the setting to make a site responsive, we better make sure that all sites are actually set to be responsive.

We already did this in a previous update but this is the first time I'm aware of that didn't work.

https://github.com/CuBoulder/express_mono/blob/dev/modules/custom/cu_core/cu_core.install#L535

cathysnider commented 3 years ago

This query will show which sites are not responsive: https://osr-prod-util01.int.colorado.edu/atlas/statistics?where={"theme_is_responsive":false}

AlanBCole commented 3 years ago

I can replicate what @cathysnider found in the comment above. I am not sure yet where the theme_is_responsive setting is controlled but it does indeed seem that something is NOT set to responsive in the theme layer. It seems like setting alpha_reponsive, as is not taking care of that for us. Below are the site metrics for text.colorado.edu/law site. I have looked at a couple other test sites and this setting matches.

If you search for the text 'theme_is_responsive' in the json that follows you should see what I found.:

{
    "metrics": {
        "name": "Colorado Law",
        "status": "launched",
        "site": "5e1370ba8ee9ffae534da98b",
        "nodes_total": 4336,
        "days_since_last_edit": 556,
        "users": {
            "username": {
                "site_owner": [
                    "josi0941",
                    "juse7104",
                    "coberlyt",
                    "osr-test-owner"
                ],
                "site_editor": [
                    "whle5852",
                    "schieve",
                    "mfulton",
                    "nidr0055",
                    "shla7295",
                    "wynnl",
                    "brmc7325",
                    "osr-test-owner",
                    "burrm",
                    "brfa5556",
                    "emho5409",
                    "ladi1079",
                    "macu2865",
                    "dala4198",
                    "amti9418",
                    "caar8062",
                    "mesc2484",
                    "jamo4520"
                ]
            },
            "email_address": {
                "site_owner": [
                    "Jonathan.Sibray@Colorado.EDU",
                    "julia.roth@Colorado.EDU",
                    "teresa.coberly@Colorado.EDU",
                    "osr-test-owner@Colorado.EDU"
                ],
                "site_editor": [
                    "Whiting.Dimock@colorado.edu",
                    "alan.schieve@Colorado.EDU",
                    "marci.fulton@Colorado.EDU",
                    "Nicole.Drane@Colorado.EDU",
                    "Shaun.LaBarre@Colorado.EDU",
                    "lionel.wynn@Colorado.EDU",
                    "bridget.sjostrom@Colorado.EDU",
                    "osr-test-owner@Colorado.EDU",
                    "michael.burr@Colorado.EDU",
                    "Brianna.Farrell@Colorado.EDU",
                    "Emily.Horowitz@Colorado.EDU",
                    "Lauren.DiMartino@colorado.edu",
                    "matthew.cushing@colorado.edu",
                    "Danielle.Lazore-Thompson@colorado.edu",
                    "Amir.Tillis@Colorado.EDU",
                    "Carrie.Armknecht@Colorado.EDU",
                    "Melissa.Schenter@colorado.edu",
                    "Jake.Moore@colorado.edu"
                ]
            },
            "counts": {
                "site_owner": 4,
                "site_editor": 18
            }
        },
        "overridden_features": {
            "cu_sitewide": "Overridden",
            "cu_feature_callout": "Overridden",
            "cu_sitemap": "Overridden",
            "cu_linkchecker": "Overridden",
            "cu_social_links": "Overridden",
            "cu_webform": "Needs Review"
        },
        "drupal_system_status": true,
        "days_since_last_login": 557,
        "nodes_by_type": {
            "page": "869",
            "file": "1743",
            "article": "1277",
            "faqs": "10",
            "person": "82",
            "article_list_page": "110",
            "photo_gallery": "8",
            "webform": "10"
        },
        "nodes_other": "class_note, issue, frequently_asked_questions",
        "beans_total": 883,
        "beans_by_type": {
            "articles": "17",
            "article_feature": "4",
            "article_grid": "7",
            "article_slider": "1",
            "block": "427",
            "block_row": "9",
            "block_section": "8",
            "content_list": "1",
            "facebook_like_button": "1",
            "feature_callout": "39",
            "hero_unit": "6",
            "people_list_block": "8",
            "quicktab": "53",
            "slider": "260",
            "social_links": "6",
            "video_reveal": "8"
        },
        "beans_other": "block_wrapper, expandable, profile_grid, profile_rotator, video_hero_unit",
        "variable_site_403": "r4032login",
        "variable_site_404": "navigation404",
        "variable_theme_default": "cumodern",
        "variable_ga_account": "UA-900371-1 ",
        "variable_cron_last": 1626203925,
        "express_code_version": "4.6.2",
        "express_core_schema_version": 7071,
        "profile_module_manager": "transliteration",
        "custom_logo_settings": true,
        "theme_is_responsive": false,
        "bundles": {
            "cu_advanced_content_bundle": {
                "schema_version": "7004"
            },
            "cu_advanced_design_bundle": {
                "schema_version": "7001"
            },
            "cu_advanced_layout_bundle": {
                "schema_version": "7003"
            },
            "cu_news_bundle": {
                "schema_version": "0"
            },
            "cu_people_bundle": {
                "schema_version": "0"
            },
            "cu_photo_gallery_bundle": {
                "schema_version": "0"
            },
            "cu_seo_bundle": {
                "schema_version": "7002"
            },
            "cu_social_media_bundle": {
                "schema_version": "7002"
            },
            "cu_forms_bundle": {
                "schema_version": "7009"
            },
            "other": "cu_alumni_class_notes_bundle - 0; cu_custom_logo_bundle - 0; cu_digital_campaign_bundle - 7002; cu_publications_bundle - 0; cu_video_hero_unit_bundle - 0; express_output_region_bundle - 0; express_pardot_bundle - 0"
        },
        "webforms": {
            "total_submissions": 1370,
            "active_forms": 0,
            "inactive_forms": 10
        }
    }
}