Remove meeting templates and show Events programme on Meet rooms.
Deploy Ladill Meet / deploy (push) Successful in 42s

Templates duplicated create-form settings without edit/delete flows; drop the feature and table. Conference and webinar pages render synced programme snapshots and link back to Ladill Events.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 22:31:03 +00:00
co-authored by Cursor
parent c108514b27
commit aed7094fed
25 changed files with 152 additions and 336 deletions
@@ -72,7 +72,6 @@ class RecurringMeetingService
'timezone' => $parent->timezone,
'passcode' => $parent->passcode,
'settings' => $parent->settings,
'template_id' => $parent->template_id,
'recurring_series_id' => $parent->recurring_series_id,
'recurrence_rule' => $parent->recurrence_rule,
'recurrence_interval' => $parent->recurrence_interval,
-42
View File
@@ -1,42 +0,0 @@
<?php
namespace App\Services\Meet;
use App\Models\Organization;
use App\Models\Template;
use App\Models\User;
use Illuminate\Support\Str;
class TemplateService
{
/**
* @param array<string, mixed> $data
*/
public function create(User $user, Organization $organization, array $data): Template
{
if ($data['is_default'] ?? false) {
Template::owned($user->ownerRef())
->where('organization_id', $organization->id)
->update(['is_default' => false]);
}
return Template::create([
'owner_ref' => $user->ownerRef(),
'organization_id' => $organization->id,
'name' => $data['name'],
'description' => $data['description'] ?? null,
'duration_minutes' => $data['duration_minutes'] ?? 60,
'settings' => array_merge(config('meet.default_settings'), $data['settings'] ?? []),
'is_default' => (bool) ($data['is_default'] ?? false),
]);
}
public function applyToRoomData(Template $template, array $data): array
{
return array_merge($data, [
'duration_minutes' => $data['duration_minutes'] ?? $template->duration_minutes,
'settings' => array_merge($template->mergedSettings(), $data['settings'] ?? []),
'template_id' => $template->id,
]);
}
}