Skip to content

Feat/improvements#29

Merged
laravdiemen merged 6 commits into
mainfrom
feat/improvements
Apr 14, 2026
Merged

Feat/improvements#29
laravdiemen merged 6 commits into
mainfrom
feat/improvements

Conversation

@laravdiemen
Copy link
Copy Markdown
Contributor

Paar kleine aanpassingen, zie de commits voor wat exact.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 13, 2026

Coverage report for commit: f510715
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: 78.72% | 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

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 the scaffolded Blade templates and FacetWP config to improve event location rendering, simplify card list layouts, and adjust the events template filter to include ongoing events.

Changes:

  • Update event-info location block to handle online events, venues, and unknown locations explicitly.
  • Refactor several “related items”/listing sections and FacetWP loops to new layout classes (auto-grid, flex flex-col).
  • Update FacetWP events template filter to use cf/event_end_date for date cutoff logic.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
stubs/sage-child/resources/styles/base/config.css Removes the sample primary color palette overrides from the child theme Tailwind @theme block.
stubs/resources/views/vendor/wp-events/blocks/event-info.blade.php Refactors location rendering (online/venue/unknown) and Google Maps link handling.
stubs/resources/views/single-yard-event.blade.php Replaces container-query grid markup with auto-grid for related event cards.
stubs/resources/views/single-yard-event-schedule.blade.php Replaces explicit grid utilities with auto-grid for schedule event cards.
stubs/resources/views/single-project.blade.php Switches child/related project card containers to auto-grid.
stubs/resources/views/single-news.blade.php Switches related news card container to auto-grid.
stubs/resources/views/blocks/FacetWP/loops/project-loop.blade.php Changes loop container from grid to flex flex-col while keeping gap utilities.
stubs/resources/views/blocks/FacetWP/loops/news-loop.blade.php Changes loop container from grid to flex flex-col.
stubs/resources/views/blocks/FacetWP/loops/knowledgebase-loop.blade.php Changes loop container from grid to flex flex-col.
stubs/resources/views/blocks/FacetWP/loops/events-loop.blade.php Changes loop container from grid to flex flex-col.
stubs/config/facetwp/templates/events.php Changes the meta filter key from cf/event_start_date to cf/event_end_date.

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

<x-card.yard-event :postData="$related" />
@endforeach
</div>
<div class="alignwide auto-grid mb-2 mt-4 xl:mt-6">
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.

Deze utility zit in brave, dus geen enkel probleem

Comment thread stubs/resources/views/single-yard-event-schedule.blade.php
Comment thread stubs/resources/views/single-project.blade.php
Comment thread stubs/resources/views/single-project.blade.php
Comment thread stubs/resources/views/single-news.blade.php
[
'source' => 'meta',
'key' => 'cf/event_start_date',
'key' => 'cf/event_end_date',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Beter inderdaad!

</a>
</span>
@if ($eventData->isOnline())
{!! $eventData->isOnlineLabel() !!}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

De naamgeving van isOnlineLabel() lijkt erop te duiden dat er een boolean wordt terug gegeven.
Gaat dit goed en retourneert ie toch een string value?

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.

Nu je het zo zegt snap ik je verwarring, maar het metaveld heet zo dus hij returnt een string.

@laravdiemen laravdiemen merged commit c5017be into main Apr 14, 2026
9 checks passed
@laravdiemen laravdiemen deleted the feat/improvements branch April 14, 2026 09:56
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.

4 participants