Skip to content

Include entity label in analyze page title - #28

Merged
jjroelofs merged 4 commits into
1.1.xfrom
jur/1.1.x/analyze-page-title-include-entity-label
Aug 26, 2026
Merged

Include entity label in analyze page title#28
jjroelofs merged 4 commits into
1.1.xfrom
jur/1.1.x/analyze-page-title-include-entity-label

Conversation

@jjroelofs

Copy link
Copy Markdown
Contributor

Summary

Fixes #27

  • Replace static _title: 'Analyze' with _title_callback pointing to AnalyzeController::analyzeTitle
  • The new callback resolves the entity from the route and returns "Analyze %label", following the same pattern as Drupal core's EntityController::editTitle

Test plan

  • Visit /node/{id}/analyze and confirm the page title shows "Analyze {node title}" instead of just "Analyze"
  • Visit /node/{id}/analyze for a node with a long title to verify it renders correctly
  • Verify the browser tab title includes the entity label

The analyze page title was a static "Analyze" string, inconsistent
with Drupal core's pattern where operation pages include the entity
label (e.g. "Edit %label", "Delete %label"). Use a _title_callback
that resolves the entity and returns "Analyze %label".
Add reusable circular gauge SDC with matching bridge template and theme
hook. Refactor both gauge components to use Gin CSS custom properties
(--gin-color-*, --gin-font-*, --gin-border-*) instead of hardcoded
values, removing all dark mode overrides since Gin handles theme
switching via its variables.
Add circular gauge to README features list and widget inventory.
Update analyze_theme() docblock to cover both gauge types.
Add template path comment to circular gauge bridge template.
Add SEO Analysis and AIO modules to project description.
Improve settings form with card grid layout and ecosystem badge.
Add analyzer count strip and empty state to summary tab.
@jjroelofs
jjroelofs merged commit 25e0e4a into 1.1.x Aug 26, 2026
1 of 3 checks passed
@jjroelofs
jjroelofs deleted the jur/1.1.x/analyze-page-title-include-entity-label branch August 26, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analyze page title should include entity label

1 participant