Closed cd-rite closed 3 months ago
The UI client currently calls GET /collections with the labels projection when building the local collection cache.
Label data is no longer required when loading the navtree (since filtering is no longer performed at that level), and including the projection is affecting performance. https://github.com/NUWCDIVNPT/stig-manager/blob/483454b8083553855c095d14dcbf30573d675796/client/src/js/SM/Cache.js#L11
Other cache behavior/use may be affected (ie. use of labelMap property attached to each collection ).
Optional, or create a new issue after some discussion: Mark labels projection as deprecated for GET /Collections endpoint
The UI client currently calls GET /collections with the labels projection when building the local collection cache.
Label data is no longer required when loading the navtree (since filtering is no longer performed at that level), and including the projection is affecting performance. https://github.com/NUWCDIVNPT/stig-manager/blob/483454b8083553855c095d14dcbf30573d675796/client/src/js/SM/Cache.js#L11
Other cache behavior/use may be affected (ie. use of labelMap property attached to each collection ).
Optional, or create a new issue after some discussion: Mark labels projection as deprecated for GET /Collections endpoint