Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

User Profile #9

Open
justinwb opened this issue Feb 22, 2019 · 2 comments
Open

User Profile #9

justinwb opened this issue Feb 22, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@justinwb
Copy link
Contributor

Nearly all applications will need to allow users to manage a their profile data. We will provide componentry to facilitate this. It will also be a practical reference for working with forms to read and write linked data.

@justinwb justinwb added the enhancement New feature or request label Feb 22, 2019
@justinwb
Copy link
Contributor Author

This functionality is actually done. All of the code is written, and the functionality works quite well. However, in testing a release candidate, we uncovered some blocker issues in dependent libraries and the server itself that keep us from being able to safely write data to the pod. Efforts are well under way to resolve these:

Concurrency issue in solid/node-solid-server. These two approaches are being evaluated against one another:

Caching issue when doing updates via LDFlex:

Inconsistency in SPARQL UPDATE behavior between specification and solid implementation:

@brownhoward
Copy link
Contributor

Implementing the User Profile using the original method:

  • Allowed evaluation of different approaches;
  • Implemented the workflow for reading and writing linked data; and
  • Identified several server issues that have since been fixed.

However, the implementation also illustrated the lack of flexibility in the approach, with the need to write custom code for each edit field. To overcome this limitation, the User Profile was re-implemented to use a generic Form Builder component that can render a form based on a defined User Profile shape. This provides multiple benefits:

  • As the User Profile shape is updated, the Form is automatically re-rendered to display the last fields.
  • The User Profile form is now compatible with the profile displayed in the Solid Data Browser.
  • Illustrates how to implement custom forms based on shapes.

For more details of the Shape-based Form component, refer to Issue #26 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants