codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
30 stars 26 forks source link

Allow editing of HMIS Profile #440

Open timbot1789 opened 1 year ago

timbot1789 commented 1 year ago

Feature Description

Hook up the page created in this Issue to the solid pod: https://github.com/codeforpdx/PASS/issues/438

  1. Upon navigating to this page, we should fetch the hmis_profile.ttl document from the PASS folder of the user's pod, or create it if it doesn't exist. By default, the profile should contain one top-level RDF relationship describing the user as a http://www.w3.org/2002/07/owl#NamedIndividual. I.E. the ttl file should have at least the following line: <user's web ID> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#NamedIndividual> .
  2. This profile should be fetched and stored through React query, and should be a solid dataset provided by the inrupt javascript react libraries
  3. When the user clicks the next or previous buttons, we should save the profile
  4. If the profile fails to save for any reason, we should display a toast message to the user.

Additional Info

You can see what the general structure of a profile should look like here.