Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added resource-timeline plugin #66

Merged
merged 2 commits into from
Feb 15, 2023
Merged

added resource-timeline plugin #66

merged 2 commits into from
Feb 15, 2023

Conversation

steveadamsfixedit
Copy link
Contributor

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

@saade
Copy link
Owner

saade commented Dec 24, 2022

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
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
Copy link
Owner

saade commented Feb 15, 2023

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