-
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 9971 fixses loader functionality (#1363)
* GDB-9970: Added 'view' variable to the import context service. What: The 'viewType' parameter was renamed to 'activeTabId' and moved to the import context service. Why: The 'viewType' parameter represents the selected tab and is used across all controllers. However, there were synchronization issues causing problems with the initial call to the backend. This occurred because 'viewType' was sometimes undefined at the time of the call, leading to improper setting of the 'resources' variable. Renaming it to 'activeTabId' clarifies its purpose. How: The 'viewType' parameter has been renamed and moved to the import context service. * GDB-9970: Added resources variable to the import context service. What: The 'resources' parameter was moved to the import context service. Why: The 'resources' parameter holds the import resources and is used across all controllers. However, there were synchronization issues causing problems with the initial call to the backend. How: The 'resources' parameter has been moved to the import context service. * GDB-9970: Added loader when initializing the import view. What: Implemented a loader to display during the initialization of the import view. Why: After integration of the new resource list, the loader had to be changed to work again as expected. How: Introduced a 'loader' flag to control the display of the loader. Upon page initialization, the loader is set to true, causing it to be displayed while hiding the import-resource-tree.directive. Once resources are loaded for the first time, the loader is set to false, triggering the display of resources and hiding the loader. * Fixes MR * Add retry to a test --------- Co-authored-by: svilen.velikov <[email protected]>
- Loading branch information
1 parent
a549c81
commit edd57e9
Showing
6 changed files
with
163 additions
and
85 deletions.
There are no files selected for viewing
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
Oops, something went wrong.