Skip to content

Integrating Tables & Ontology editor #845

@joepio

Description

@joepio

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

Select a class when creating a table

Show some buttons here

Screenshot 2024-03-11 at 11 26 11

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

Reuse property dialogs in Ontology editor

  • Means we should also update various views (e.g. currency format in other views)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions