Skip to content

Admin UI polish: pagination, accordions, spacing, date fields - #219

Open
snoopdave wants to merge 4 commits into
masterfrom
ui-improvements
Open

snoopdave wants to merge 4 commits into
masterfrom
ui-improvements

Conversation

@snoopdave

@snoopdave snoopdave commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes found while running Roller locally with latest master.

Hi, it's me Dave and not Claude or Codex. The changes in this PR are mostly about:

  • Making pagination controls consistent across all pages, with first and last buttons
  • Fixing the entry editor page so that the accordian control of advanced settings looks good
  • Making the date field control more intuitive and useful

I have tested this locally and it looks good, but I have not reviewed the code changes closely.

(the PR is large because adding a last button to the pagination control required new queries)

- One pager for Entries, Comments and media search: First / Newer /
  Page N of M / Older / Last. Backed by new count queries that share
  the list queries' WHERE clauses. Media search results are reachable
  past page 1 for the first time.
- Entry editor panels are Bootstrap 5 accordions with a chevron.
- Spacing for editor buttons, accordions and sidebar filter forms.
- Comment and entry tables fit narrow screens; long unbroken spam
  URLs wrap.
- Date fields: attached calendar button that works, clear button on
  filters, no longer greyed out; one shared script replaces five
  per-page snippets.
- CommentTest had no @test annotations and never ran; it does now.
@snoopdave
snoopdave requested a review from mraible October 24, 2026 20:53
Bootstrap 5 sizes everything for a 16px root, which reads large in the
admin UI; a 15px root scales text, controls and spacing down together.
Page titles and sidebar headings get smaller sizes, and cards stacked in
a column (sidebar cards, setup steps) no longer touch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant