Skip to content

Rebuild admin resource table frame - #4131

Open
tvdeyen wants to merge 4 commits into
mainfrom
rebuild-admin-frame
Open

Rebuild admin resource table frame#4131
tvdeyen wants to merge 4 commits into
mainfrom
rebuild-admin-frame

Conversation

@tvdeyen

@tvdeyen tvdeyen commented Aug 5, 2026

Copy link
Copy Markdown
Member

What is this pull request for?

The resource table wrapper should only wrap the table
for overflowing/scroll behavior. All other nested
components (sidebar/pagination) should live in the
UI chrome.

Notable changes

This moves the pagination out of the resource_table
partial. If you have overwritten the partial for one
of you resources please simply remove it or (if you also
have overwritten the index template) move it into the
index template.

Checklist

Easier for new workspaces to setup what we need
@tvdeyen tvdeyen added this to the 8.4 milestone Aug 5, 2026
@tvdeyen
tvdeyen requested a review from a team as a code owner August 5, 2026 10:15
tvdeyen added 3 commits August 5, 2026 23:24
The resource table wrapper should only wrap the table
for overflowing/scroll behavior. All other nested
components (sidebar/pagination) should live in the
UI chrome.

This moves the pagination out of the resource_table
partial. If you have overwritten the partial for one
of you resources please simply remove it or (if you also
have overwritten the index template) move it into the
index template.
The upload button needs a span for the input[type=file]
to receive click event. We cannot use a `<button>` here.
In the rebuilt admin frame the picture thumbnail link collapsed to the
rendered size of the thumbnail image, so a tiny image (such as the 1x1
test fixture or an unloaded image) left an unclickably small target.
Letting the link and thumbnail fill the already-sized tile keeps the
whole tile clickable regardless of the image's dimensions.
@tvdeyen
tvdeyen force-pushed the rebuild-admin-frame branch from 22366fb to 687f046 Compare August 5, 2026 21:24
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (8b0a7c7) to head (687f046).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4131   +/-   ##
=======================================
  Coverage   98.27%   98.27%           
=======================================
  Files         351      351           
  Lines        9236     9236           
=======================================
  Hits         9077     9077           
  Misses        159      159           

☔ 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.

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.

1 participant