DISSINET / InkVisitor

An open-source, browser-based front-end application for the collection of complex structured data from textual resources in history and the social sciences into a RethinkDB database for further analysis.
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Copy (append/replace) validation rules to another T #2217

Closed davidzbiral closed 1 month ago

davidzbiral commented 4 months ago

Validation rules are inherited from parents, so no point copying them from parent to child, but often, you have a set of rules that you have on one sub-root T and want to also use them for another T also. Thus, conveniently copying them is the way to go.

Allow copying them through a suggester which will accept T entities only. This will copy the rules from the T that you drag&drop in the suggester or find through the suggester. Allow, as usual in these suggester-based operations, two modes: append / replace, using the same switch and icons as elsewhere in these cases.

adammertel commented 3 months ago

image The same UX would be applied to the Territory validation rules, just instead of S -> T in suggester and no "previous S" button