Research Question
How does the Relationship field in the New Edit Contentlet editor behave compared with the legacy (current) edit mode, specifically in:
- Multilingual relationships: parents and children that exist in different subsets of languages.
- High-volume relationships: a single contentlet with 1,000, 3,000 or 5,000 related items. How long does it take to load, and does saving before loading finishes drop relationships?
Timebox
8h
Acceptance Criteria
Setup
1. Multilingual relationships (new edit mode vs legacy edit mode)
2. High-volume relationships (1,000 / 3,000 / 5,000)
Deliverables
Context
Will Ezell raised these two possible issues while the New Edit Contentlet editor was being reviewed.
- dotCMS lets content exist in several languages or in a single language, so a relationship can link a parent and a child whose language versions don't overlap. The new editor has to handle this at least as well as the legacy editor.
- Loading every relationship at once can be slow for contentlets with thousands of related items. One proposed improvement is to load the first 40 and fetch the rest when the user asks for them. That raises two concerns:
- The editor and headless front ends share the same API. Will suggested adding the limit as an optional param so current consumers aren't affected.
- The bigger concern is the round-trip save (Will): "If we don't have all the IDs there, is it going to break something". If the save sends only the loaded subset, relationships could be silently removed.
This spike should prove or disprove both risks before any optimization is made.
Links
Research Question
How does the Relationship field in the New Edit Contentlet editor behave compared with the legacy (current) edit mode, specifically in:
Timebox
8h
Acceptance Criteria
Setup
1. Multilingual relationships (new edit mode vs legacy edit mode)
2. High-volume relationships (1,000 / 3,000 / 5,000)
Deliverables
limitparam on the existing API. It must cover:Context
Will Ezell raised these two possible issues while the New Edit Contentlet editor was being reviewed.
This spike should prove or disprove both risks before any optimization is made.
Links