Syslifters / reptor

Other
11 stars 3 forks source link

Allow splitting notes into more levels #84

Closed aronmolnar closed 12 months ago

aronmolnar commented 1 year ago

Currently, we can format data and upload it into one note, or we can split it into multiple notes of the same level.

It would be nice to be able to be able to create notes with more levels, e.g.

The method preprocess_for_template now returns a dictionary holding the context for Django template rendering.

We will introduce a model, holding details about structure and depth of the notes. This will also allow us to create parent notes with contents (which is currently not possible).

If a dict is returned, we will transparently transform the data structure to the model.