-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Is your feature request related to a problem? Please describe.
Multiple groups have a lot of redundancy. In this example, span, mt-header, and item-class are repeated for every group. The entire block has to be repeated for every group.
<!-------------- GROUP CONTAINER ------------------->
<span mt-header="team-members" mt-meta="
TITLE: YOUTH OUTREACH
RECORDS: team-youth
ITEM-CLASS: team-member
">
</span>
<!-------------- GROUP CONTAINER ------------------->
<span mt-header="team-wireless" mt-meta="
TITLE: WIRELESS ENGINEERING
RECORDS: team-wireless
ITEM-CLASS: team-member
">
</span>
Proposed Solution
Both of the following, where the first block is the placeholder and the 2nd block is the collection data. Or just the 2nd block acting as both placeholder and data. Only two lines are repeated for every group.
<span mt-collection="advisers"></span>
<mt-collection hidden id="advisers">
TITLE
RECORDS
PRODUCT MANAGEMENT
advisers-prod
ENGINEERING
advisers-engineer
</mt-group>
Considerations
What flexibility would we want?
- Group fields might different than, or more than, TITLE and RECORDS. Should not matter. Should be determined by the templates. As long as
mt-collectionappears in the placeholder.
Metadata
Metadata
Assignees
Labels
No labels