Examples
Content calendar
Built with the mantine-schedule skill
Posts in view
Build the content calendar of a marketing team: blog posts, newsletters and social posts planned on a calendar.
Data:
- 4 channels: blog, newsletter, LinkedIn, Instagram
- about 30 hard-coded posts over the current and next month, generated relative to today (title, channel, author, status: draft, scheduled, published)
- the newsletter goes out every Tuesday at 10:00 as one repeating series; a few of its issues already have their own title
- 6 unscheduled drafts
Calendar:
- month, week and agenda views with a custom header: previous / today / next, the view switcher, a channel filter (several channels at once) and a "New post" button
- each post shows its title and channel; published posts look finished, drafts look unfinished, without adding a lot of color
- the unscheduled drafts are listed in a panel next to the calendar; dragging one onto the calendar schedules it on that day (or at that time in the week view), dragging a scheduled draft back to the panel unschedules it
- scheduled posts can be dragged to another date; published posts cannot be moved
- clicking a post opens a form to edit the title, channel, date and time and status; editing or moving one newsletter issue asks whether the change applies to this issue only or to the whole series
- "New post" and clicking an empty day open the same form for a new post
Value:
- after every change show a short notification and display the posts of the visible range as JSON under the calendar
The component is shown on a demo page that already has a title: do not add a page title or intro text.
Write tests for the component.