atomic-server
atomic-server copied to clipboard
Integrating Tables & Ontology editor
In 2023, we added two new features: the Ontology editor, and the Table editor. Both of these allow users to create and edit a data model. I think it's a good thing that both of these have a different UI, as their usecases are different, too. However, we should also consider how both of these could be integrated.
Consider some scenarios:
- After creating a nice model in your ontology, you want to make instances. You can do this using the "new" forms, but it's kind of cumbersome without the table editor.
- You made a table, and use it for important data. You want to document your model and share it with others. How can you do this?
"Create table" button from Class
- Add a button to a class in the Ontology viewer / editor to "create a table" for that class
- The properties should be linked, so if the user adds a column to the table, it should be added to the Class + Ontology
One default ontology per drive - all classes stored there
- Every drive could have (at least) one Ontology, created by default when creating the drive
- When a table is created, that class is added to the ontology
- The owner of the class + properties is the Ontology, not the table