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

Group plugin cannot be set properly #226

Open
hunterhector opened this issue May 5, 2022 · 0 comments
Open

Group plugin cannot be set properly #226

hunterhector opened this issue May 5, 2022 · 0 comments

Comments

@hunterhector
Copy link
Member

Describe the bug
The group plugin is activated only when the "center-bottom" area is not set (undefined). This behavior is a bit confusing

https://github.com/asyml/stave/blob/master/src/nlpviewer/components/TextViewer.tsx#L197

To Reproduce
Steps to reproduce the behavior:

  1. Create a project by uploading any ontology
  2. Try to configure the center-bottom layout, but the Group plugin won't be activated unless we delete the key.

Expected behavior

  1. If the key is deleted or set to be "disable", the Group plugin should not show up.
  2. It should show up when it is explicitly enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Node Versions or other

Additional context
Add any other context about the problem here.

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

1 participant