GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Extract page content, heading, breadcrumbs and title partials by senid231 · Pull Request #9150 · activeadmin/activeadmin

Conversation

@senid231

@senid231 senid231 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Extracts partials from the layout and the page header:

  • _page_content: the grid that holds yield and the sidebar. A theme that puts the sidebar first or wraps the content no longer copies the layout.
  • _page_heading: the column with _breadcrumbs and _page_title. A theme can restyle any of the three without copying _page_header. The action items were already a partial.

The page header gains id="page-header" and its action items wrapper gains id="action-items", so a theme can restyle them without relying on the data-test-* attributes. yield inside _page_content returns the page body, the same as it does in the layout.

Part of #9146. I compared the rendered dashboard and index pages before and after. The only differences are the new ids.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@codecov

codecov Bot commented Nov 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.11%. Comparing base (e1dad93) to head (fdef53e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9150   +/-   ##
=======================================
  Coverage   99.11%   99.11%           
=======================================
  Files         139      139           
  Lines        4071     4071           
=======================================
  Hits         4035     4035           
  Misses         36       36           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@senid231 senid231 mentioned this pull request Nov 4, 2026
Theme 4.0 for ActiveAdmin 4 activeadmin-plugins/active_admin_theme#78
Draft
17 of 22 tasks
@senid231
Extract page content, heading, breadcrumbs and title partials
fdef53e
A theme that reorders the sidebar or restyles the page heading had to copy
the layout or the whole page header. The page header and action items get
ids so a theme can restyle them without copying them.

Co-Authored-By: Clanker
@senid231
senid231 force-pushed the page-content-partials branch from 9302aba to fdef53e Compare November 12, 2026 11:20

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@senid231
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.