manager-ui
manager-ui copied to clipboard
Schema: Matrix Field
Problem
Users managing a multi-page model called "Events" face significant challenges in efficiently adding event timings. Each event (e.g., a play) occurs on multiple days, and the current workflow requires the user to:
- Create the event times separately in a dedicated "Times" model.
- Reference these times in the "Event" model via a one-to-many relationship.
This process is:
- Time-consuming and tedious.
- Frustrating for users who frequently deal with multi-instance data like timings, ingredients, slides, etc.
Based on user feedback, this feature will significantly improve workflows for many common use cases, such as events, recipes, and presentations.
Solution Desired
A Matrix Field that enables users to quickly create and manage small groups of content directly within a content item, eliminating the need for separate models or relationships.
Key Features
- Inline Data Entry:Users can create and manage groups of related data (e.g., event timings) directly within the parent content item. Each group will function as a mini-form with customizable fields (e.g., date, time, notes).
- Flexible Field Types Allow users to define the type of fields within the repeater (e.g., text, date, dropdown, rich text).
- Quick Add/Edit/Delete: Provide intuitive UI for adding, editing, or deleting individual data groups without navigating away from the parent content item.
User Flow
- Open the "Event" content item (e.g., "Romeo & Juliet").
- Navigate to the "Timings" section with the Matrix field.
- Click "Add Timing", filling in fields like:
- Date: 2024-02-14
- Start Time: 7:00 PM
- End Time: 9:30 PM
- Repeat as needed to add more timings.
- Save the event.
Example Use Cases:
Event Scheduling:
Quickly add multiple timings (date and time) for a play directly within the event content item.
Recipes:
Add ingredients, measurements, and preparation steps inline within a recipe content item.
Presentations/Articles:
Add slides or sections, each with a title, description, and media file.