-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GDB-10382: Default message info not displayed when the reinitialized …
…function is called (#1455) * GDB-10382: Default message info not displayed when the reinitialized function is called What - The YASR results and YASQE buttons are not cleared when the repository is changed from the repository view; - The Infer and sameAs buttons are disabled when the default user settings are false, and the chosen repositories is ontop. Why - The YASGUI is a third-party library and does not know about repository changes. Managing repository changes is a function of the GraphDB Workbench; - A check for the repository type was missed when YASGUI was created. How - Added functionality to persist the repository used by the YASGUI instance. When the YASGUI is initialized, a clearState flag is passed to the configuration. The value of the flag is based on whether the current repository is different from the last one used by YASGUI. If the repositories differ, the flag is set to true, which triggers the clearing of the YASR results and the YASQE buttons; - Added check if repository is ontope when configure the YASGUI. A check has been added to verify if the repository is ontop when configuring the YASGUI. # Additional work The repositoryChangedHandler is called twice when the SPARQL view controller is created, causing the YASGUI component to initialize twice. The first one call is without repository. A check has been added to skip the initialization of YASGUI if the repository is not set. --------- Co-authored-by: desislava.borisova <[email protected]>
- Loading branch information
1 parent
309bf22
commit 5350149
Showing
6 changed files
with
79 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters