Feature #2464
Updated by Alexander Watzinger about 1 month ago
In this new major version the underlying class functionality was completely rewritten to use model config files which contain all the information to build views, forms and similar in a generic way. Advantages are:
* Easier model adaptions at one place
* More consistent functionality and layout, e.g. table headers, form fields order, ...
* Possibility to test for "allowed" relations
* Less error prone and fewer tests are needed
* See below for more detailed information
h2. Update 8. Novmeber 2025
The code base has been rewritten to use the config files approach.
There is still a lot to do e.g. solving more complex class relations, rewriting the documentation and of course a lot of testing but it looks like it can be *released around New Year*.
Current development is done in the *feature/new_classes* branch and can be tested at our "development demo":https://demo-dev.openatlas.eu
h2. New features
* *Human remains* can now also be used with *Modification* and *Move*
h2. UI improvements
The new system offers a lot of UI improvements all over, some of them are listed here.
* Forms
** Profile images (if available) are also shown at update forms
* Actor
** A map is shown at the actor detail view if e.g. a georeferenced residence is available
** Relations can be created from every direction (was difficult for groups before)
* Event
** A preceding event can be inserted and added dynamically at an event form
** Sub events can also be linked/created via the subs tab of an event detail view
* File
** File previews (if available) are now always shown in file tables. The option to toggle it was removed because it was often overlooked by users.
* Reference system
** Linked entities can be removed in related tabs of the reference system detail view
* Source
** The source index now also shows source translations
** Features and stratigraphic units can be inserted/linked directly via the place tab at the source detail view too
** The source of a source translation can be changed when updating a translation
** Source translations annotations can be linked to entities of the source at insert too (before it was only possible at update)
* Type
** Types are linked in table views
** Sub types can also be added at the type detail view
** Types can also be removed in the entities tab at the type detail view (if not set required)
h2. Minor fixes
* Tabs without content aren't shown anymore
* Removed *insert and continue* buttons when inserting and linking with additional fields (which weren't working anyway)
* Fixed subs at administrative units detail view also showing up in the entity tab
* Fixed non selectable types not selectable as super at dynamic type add in forms
h2. Refactor
* Use of Python data classes