Problem/Motivation

On the Status report page, some insights show errors or information about the problem inside the description wrapper.
The description wrapper should only be used to describe the problem, as help text. It should not be used to show the error or the current status.

<div class="system-status-report__entry__value"> The following entities have bundles that are not used.
  <div class="description">
    <dt>
      <a href="/admin/reports/xray-audit/content-metric/paragraphs-count-type">Paragraphs</a>:
    </dt>
    <dd>Moments, Featured products</dd>
    <dt>
      <a href="/admin/reports/xray-audit/content-metric/taxonomy-term-count-type">Vocabulary</a>:
    </dt>
    <dd>intent_type, product_tags, recipe_category, tags</dd>
  </div>
</div>

Steps to reproduce

  1. Enable the xray_audit_insight module.
  2. Go to the Status report page (/admin/reports/status).
  3. Check one of the following insights:
    • Xray Audit: Entities bundles usage
    • Xray Audit: Modules not enabled
    • Xray Audit: Views cache
    • Xray Audit: Admin views accessible by anonymous
  4. Check that the information about the problem (the list of affected items, or the status message) appears inside the description wrapper:
    <div class="description">

Proposed resolution

Keep the description wrapper only as help text for the user to understand the problem.

Issue fork xray_audit-3625176

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

eduardo morales alberti’s picture

Issue summary: View changes
eduardo morales alberti’s picture

Issue summary: View changes

eduardo morales alberti’s picture

Status: Active » Needs review

Ready to review

eduardo morales alberti’s picture

StatusFileSize
new149.8 KB
new116.68 KB

Captures after changes:
Entity bundles:
Entity bundles

Views cache:
Views cache

lpeidro’s picture

Status: Needs review » Reviewed & tested by the community

It works as expected. I merge the issue.

lpeidro’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.