assemblee-virtuelle / assemblee-virtuelle/semapps

Use lodash/get for all Field components

Open
#1,108 0 comments 0 reactions 0 assignees View on GitHub
easy frontend
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

Official React-Admin components use `lodash/get` to retrieve property values from the source. This makes it possible to pass `recipient.identity` paths to fetch blank nodes.

https://github.com/marmelab/react-admin/blob/3.x/packages/ra-ui-materialui/src/field/TextField.tsx#L13

We should use this same library for all our "Field" components (a priori in the @semapps/field-components package).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the @semapps/field-components package and the linked React-Admin TextField example to identify every Field component that retrieves source values. Update the Field components to support nested paths such as recipient.identity, then verify that all affected components resolve those paths consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.