-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
-
Blue Ocean 1.1, Blue Ocean 1.1
There is a case where css is loaded too late, after components are rendered.
This results in a violent flicker from unstyled to styled elements. We need to know that css is loaded appropriately.
There has been some experimentation https://github.com/jenkinsci/blueocean-plugin/pull/1069
to try and address this.
- blocks
-
JENKINS-38982 User would like to have a fast smart search to find jobs from the dashboard
-
- Resolved
-
This is still a fairly significant issue in other scenarios. Any part of the screen that is rendered via the router will render before CSS is loaded. For example, the main dashboard's header, body content, etc will render immediately since it is not actually being rendered via the Extension.Renderer component. The only React components that will render after the CSS are loaded are those that are contributed to an Extension.Renderer.
We had some discussions kzantow and nicu where we concluded that ultimately it may easier (and more performant) if all the CSS was loaded upfront in a single file. This would block any initial page rendering until CSS has finished loading and avoid any of these timing issues. This would require some additional work to concatenate the CSS (or Less) from multiple plugins and place the file in a known location that can be loaded via link rel=stylesheet tag in blueocean-web's index.jelly.