Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue May 3, 2024 · 0 comments
Assignees

Comments

@schiwaa
Copy link
Collaborator

schiwaa commented May 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants