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

Schema: Matrix Field #3135

Open
zcolah opened this issue Jan 14, 2025 · 0 comments
Open

Schema: Matrix Field #3135

zcolah opened this issue Jan 14, 2025 · 0 comments

Comments

@zcolah
Copy link

zcolah commented Jan 14, 2025

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:

  1. Create the event times separately in a dedicated "Times" model.
  2. 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

  1. 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).
  2. Flexible Field Types Allow users to define the type of fields within the repeater (e.g., text, date, dropdown, rich text).
  3. 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

  1. Open the "Event" content item (e.g., "Romeo & Juliet").
  2. Navigate to the "Timings" section with the Matrix field.
  3. Click "Add Timing", filling in fields like:
  • Date: 2024-02-14
  • Start Time: 7:00 PM
  • End Time: 9:30 PM
  1. Repeat as needed to add more timings.
  2. 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.

@zcolah zcolah converted this from a draft issue Jan 14, 2025
@zcolah zcolah changed the title Schema: Schema: Repeater Field Jan 14, 2025
@zcolah zcolah changed the title Schema: Repeater Field Schema: Matrix Field Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Development Queue (Upcoming and Paused)
Development

No branches or pull requests

1 participant