RyanofTinellb / Smeagol

A suite of programs for creating and maintaining a constructed language website.
http://www.tinellb.com
0 stars 0 forks source link

Appending behaviour #24

Closed RyanofTinellb closed 5 years ago

RyanofTinellb commented 5 years ago

Cf: Issue #23.

When find_entry() cannot find the entry, it should return an empty dictionary. When the user attempts to save the page, this object can then be inserted into the correct place in the site json.

The correct place will depend on which editor is used. For SiteEditor, the new page should be inserted at the end of the children. For DictionaryEditor, it should be inserted so as to keep the children in ’apibu order.