Skip to content

v1.4.0-alpha - Template System & Minimal Template

Pre-release
Pre-release

Choose a tag to compare

@chimilevschi chimilevschi released this 11 Apr 14:50
· 53 commits to main since this release

What's new in v1.4.0-alpha

Template System Finalized

  • mailView() now falls back to the default template automatically when a view is missing in the active template
  • Custom templates only need to override the views they want to change — everything else is inherited
  • Switch templates by setting MAIL_UI_TEMPLATE=name in .env

Minimal Template

A second fully working template (MAIL_UI_TEMPLATE=minimal) that demonstrates the template system:

  • Dark top-bar navigation instead of a sidebar
  • Table-style inbox list
  • Clean, card-based message view
  • Compose, contacts, search, and settings fall back to the default template automatically

Template Contract

Each template's layouts/app.blade.php must implement:

  • @yield('title') — page title
  • @yield('content') — main content area
  • @stack('scripts') — per-page JavaScript

Controllers pass $folders and $currentFolder to every authenticated view.


Note: This is an alpha release.