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

Switching layers without discarding features of current layer #1097

Closed
zhh210 opened this issue Nov 2, 2018 · 5 comments
Closed

Switching layers without discarding features of current layer #1097

zhh210 opened this issue Nov 2, 2018 · 5 comments
Assignees
Labels
❓Question Further information is requested

Comments

@zhh210
Copy link

zhh210 commented Nov 2, 2018

For Webanno 3.4.6 standalone version, when I'm trying to switching the layer to add annotation in another layer for the same span, I got the message:

You are about to replace an annotation of type Risk with a new annotation of type factor_sentiment. This action will discard all feature values and delete 0 relation(s)/link(s) attached to current Risk annotation. Are you sure?

There're only two options confirm or cancel. Is it possible to switch layers without deleting the annotation for current layer?

@reckart
Copy link
Member

reckart commented Nov 3, 2018

Open the settings dialog on the annotation page and activate "remember layer" - then you get the behavior I assume you are expecting.

@reckart reckart added the ❓Question Further information is requested label Nov 3, 2018
@reckart reckart self-assigned this Nov 4, 2018
@reckart
Copy link
Member

reckart commented Nov 4, 2018

In WebAnno 3.5.0 (once released), it will be possible to make "remember layer" the global default by adding ui.brat.rememberLayer=true to the settings.properties file.

@reckart reckart closed this as completed Nov 4, 2018
@zhh210
Copy link
Author

zhh210 commented Nov 8, 2018

without remember layer, switching layers will get an message:

You are about to replace an annotation of type old_layer with a new annotation of type new_layer. This action will discard all feature values and delete 0 relation(s)/link(s) attached to current Risk annotation. Are you sure?

but with remember layer, the new layer will memorize the tagset associated with the old layer. Any workaround to allow selecting new layer's tagset rather than the old one?

@reckart
Copy link
Member

reckart commented Nov 8, 2018

@zhh210 What do you mean by "memorize the tageset"? Could you please open a new issue and explain 1) what you do, 2) what the expected behavior is, 3) what the actual behavior is?

@zhh210
Copy link
Author

zhh210 commented Nov 8, 2018

@reckart I created another ticket #1107 to explain the wanted behavior when switching layers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants