Feat: Introducing JSON-LD and refactoring code-base
This MR includes:
-
Replaced our old data N3 formats with
JSON-LD
for better semantic structure. -
Updated the codebase to use libraries like
jsonld
andrdf-parse
for parsing and serializing Linked Data. -
Update to receive only format of
data
to Roger and set back the same format ofdata
in callbackonSave
-
Moved most of the logic of handlers to useRoger state management file
-
Added
stroybook
package to run different project configs and their schema simultaneously.
To test locally either run any of the commands:
-
npm run storybook
to test different schema's - Navigate to
Roger.stories.tsx
to test without data or with data sent to Roger - To modify data or schema - use
config
module and update accordingly.
or
npm run dev
TODO:
-
Test new HA Editor with sample data -
Test with multiple Note items for HA -
Revert change on index.tsx
for handleSave callback
close #62 (closed), #63 (closed)
Edited by Manikanth Dindigala