tla / stemmaweb

Catalyst interface and online tools for stemmatology research
13 stars 9 forks source link

A new tradition with a title which already exists displays the section(s) of the already existing tradition instead of its own #208

Open schiwaa opened 2 months ago

schiwaa commented 2 months ago

In order to assert that issue #164 is solved which is saying “If there are two identically-named traditions in the directory, it should be clear to the user which one is currently loaded in the dashboard interface”, I intended to create a new tradition via the gui, with an already existing tradition title. The new tradition should have a different number of sections, so that it could be more easily distinguished from the original tradition with the same title. For that purpose, I duplicated lf2.xml (which has 2 sections) in ./bin/init-data/stemmarest and named it lf2_second.xml. I chose “Notre besoin” to be the title which should occur twice and which should be distinguishable according to issue #164 by having the folder icon highlighted when selected. + Having logged in and having added the new tradition (as “Legacy Stemmaweb GraphML”), I see that only the folder icon of the tradition title clicked on is highlighted, which is fine. – But I see that both “Notre besoin” traditions display only one section “DEFAULT”, whereas the new one should contain two sections: DEFAULT and “section 2". The new “Notre besoin” is displaying the same section(s) as the other “Notre besoin”. Also on reloading the page. + Upon reload the traditions are sorted alphabetically which is fine. + The old “Notre besoin” has a stemma svg, whereas the new “Notre besoin” has not, which is fine, I guess, as “Legend’s fragment” has no stemma, either.