Skip to content

feat: pagination shared between facetwp and elasticsearch#30

Open
WybeBosch wants to merge 7 commits into
mainfrom
feat/improve-pagination-styling
Open

feat: pagination shared between facetwp and elasticsearch#30
WybeBosch wants to merge 7 commits into
mainfrom
feat/improve-pagination-styling

Conversation

@WybeBosch
Copy link
Copy Markdown
Contributor

@WybeBosch WybeBosch commented May 19, 2026

Paginatie-stijlen maken nu gebruik van gedeelde CSS custom properties, zodat FacetWP en Elasticsearch paginatie visueel op elkaar aansluiten.

Zie ook: yardinternet/brave#119

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Reactive Search (Elasticsearch) pagination styling to use shared CSS custom properties so it can visually align with other pagination (e.g., FacetWP), per the referenced issue.

Changes:

  • Refactors pagination layout and button styling to use shared --pagination-* CSS custom properties.
  • Updates hover/focus behavior to use the hocus variant and adds an active-state underline indicator.
  • Minor ordering/spacing tweaks (e.g., results info utilities order, pagination container margin, pagination info top margin).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +174 to +183
.yrs-pagination {
@apply mb-8;
}

.yrs-pagination-list {
@apply justify-end gap-x-2 gap-y-4;
@apply m-(--pagination-item-margin) justify-end gap-x-(--pagination-item-gap-x) gap-y-(--pagination-item-gap-y);
}

.yrs-pagination-button {
@apply size-10 min-h-10 min-w-10 p-2 text-black no-underline transition-all;
@apply relative size-(--pagination-item-size) rounded-(--pagination-item-radius) p-2 text-black no-underline transition-all;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. THis is a scaffold. it moves to brave. always brave. its the brave scaffold. if these things arent there. THats your problem

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have some post install steps. i could make one of them to tel you to make sure you have em in your variable.css hm

@WybeBosch WybeBosch force-pushed the feat/improve-pagination-styling branch from 44a74a0 to e12d976 Compare May 19, 2026 11:10
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

Coverage report for commit: 511010b
File: coverage.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███████████████████████ │ 75.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  90% │ ████░░░░░░░░░░░░░░░░░░░ │ 12.5%
 100% │ ████░░░░░░░░░░░░░░░░░░░ │ 12.5%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 77.08% | Methods: 22.22%
FilesLinesMethodsBranches
src/Console
   ChildThemeScaffoldCommand.php87.50%-100.00%
   ElasticsearchScaffoldCommand.php--100.00%
   EventScaffoldCommand.php--100.00%
   KnowledgebaseScaffoldCommand.php--100.00%
   NewsScaffoldCommand.php--100.00%
   PersonScaffoldCommand.php--100.00%
   ProjectScaffoldCommand.php--100.00%
src
   ScaffoldServiceProvider.php100.00%100.00%100.00%

🤖 comment via lucassabreu/comment-coverage-clover

@WybeBosch WybeBosch force-pushed the feat/improve-pagination-styling branch from a6602d0 to ab56b2d Compare May 19, 2026 12:32
Comment thread docs/elasticsearch.md Outdated
Comment thread src/Console/ElasticsearchScaffoldCommand.php Outdated
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.

3 participants