CUSTOM REACT: support column-group properties in the projection
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, react
- Domain
- frontend
Research direction
Start by tracing the React projection and custom view data handling described in the issue, using the Matrix example as the entry point. Check how values, presentation, and optimistic updates are keyed for row objects, then extend the investigation to column-group cells. Done means React custom views can render and edit each property using both its row object and column object.
Written by the indexing model from the issue text.
Description
Part of #1666 (CUSTOM custom views — phase 4).
Description
A property drawn across a column object group (a property repeated per column object) is not handled by the React projection: values and presentation are keyed by row only, so column-group cells do not project or optimistically update correctly. (Editing such cells from a React custom view is also affected.)
Add column-group support so a React custom view can render and edit a property that spans a column group — addressing each cell by both its row object and its column object.
FORM sales 'Sales by month'
OBJECTS p = Product
OBJECTS m = Month // the column object group
PROPERTIES sold(p, m) COLUMNS (m) // one value per (product, month)
DESIGN sales { salesBox { custom = 'Matrix'; } }
;
// illustrative: a cell is addressed by row (product) + column (month)
function Matrix({ data, controller }) {
return data.p.list.map(row =>
<tr key={row.value}>{/* render row.sold per column object m */}</tr>);
}
Reason
Column-group (cross-tab / matrix) layouts cannot be rendered by a React custom view today. Supporting them — keyed by row and column object — lets React components cover the same forms the native grid does.
- Dominant language
- Java
- Stars
- 214
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lsfusion/platform
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
All issues in lsfusion/platform
Similar issues
-
account assessment course feature lecture
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
app:learninggoalhub enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
PropertyResolver fails on JDK classes with a non-public field named like the propertyPossibly taken @vaibhavgupta443 claimed this today. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/wicket#1991 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100