Problem/Motivation

We need to provide a block for site status:

  1. The block should call SystemManager::listRequirements()
  2. If no errors are found, the block should not render at all.
  3. If errors are found, we should display those (ideally as in Status Details > Errors found in the Status report page).

Remaining tasks

MR implementing the block

User interface changes

A new block is available.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#4 site-status.png17.68 KBpenyaskito

Issue fork dashboard-3475187

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

penyaskito created an issue. See original summary.

penyaskito’s picture

Status: Active » Needs review
penyaskito’s picture

StatusFileSize
new17.68 KB

Until we get more detailed design, this would look like

Ideally we would refactor the core component for this.

plopesc’s picture

Code looks great.

Just a minor nitpick and PHPCS cleanup are needed before merge.

Thank you!

cleavinjosh made their first commit to this issue’s fork.

cleavinjosh’s picture

Hi @plopesc,

For your review. Thank you.

plopesc’s picture

Status: Needs review » Reviewed & tested by the community

Thank you @cleavinjosh!

Changes look good.

  • plopesc committed 94237d92 on 2.x authored by penyaskito
    Issue #3475187 by penyaskito, cleavinjosh, plopesc: Provide a block for...
plopesc’s picture

Status: Reviewed & tested by the community » Fixed

MR merged. Thanks!

Status: Fixed » Closed (fixed)

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