Skip to content

added resource-timeline plugin#66

Merged
saade merged 2 commits into
saade:mainfrom
steveadamsfixedit:main
Feb 15, 2023
Merged

added resource-timeline plugin#66
saade merged 2 commits into
saade:mainfrom
steveadamsfixedit:main

Conversation

@steveadamsfixedit

Copy link
Copy Markdown
Contributor

Additional functionality for resource-timeline plugin added to support timeline-scheduler include

@saade

saade commented Dec 24, 2022

Copy link
Copy Markdown
Owner

Hi, thanks for your contribution.

Resource Timeline is a premium plugin for FullCalendar. How you're configuring it? And how it behaves for people not using it?

@steveadamsfixedit

Copy link
Copy Markdown
Contributor Author

Configuration variables as follows in the config/filament-fullcalendar.php

return [
    'timeZone' => config('app.timezone'),

    'locale' => config('app.locale'),

    'resources' => [],

    'plugins' => ['dayGridPlugin, timeGridPlugin, listPlugin, resourceTimelinePlugin, interactionPlugin, momentPlugin, momentTimezonePlugin'],

    'initialView' => 'resourceTimelineMonth',

    'headerToolbar' => [
        'left' => 'prev,next today',
        'center' => 'title',
        'right' => 'timelineMonth,timeGridMonth,timeGridWeek,timeGridDay,listMonth'],

    'views' => [
        'timelineMonth' => [
          'type' => 'resourceTimeline',
          'duration' => [ 'month' => 1 ],
          'buttonText' =>'Resources',
            ],
        ],

    'navLinks' => true,

    'editable' => true,

    'dayMaxEvents' => true,
    'selectable' => true,

];

It's simply not used for people who don't want to utilize it.

@saade saade merged commit e97b676 into saade:main Feb 15, 2023
@saade

saade commented Feb 15, 2023

Copy link
Copy Markdown
Owner

Sorry for the delay.

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.

2 participants