Loading of settings page via Manage link in Sync preferences page is not smooth #3053
Comments
|
cc @zaach |
|
ref #3007 as one possible source of slowness. |
|
Also, |
Hints at #3007 and other API calls. |
|
Here's the series of XHR I see when reloading
There's also likely some non-trivial CPU being burnt when generating those two signed assertions. |
Huh, this was fixed once before: #2921 |
…ettings Remove the SettingsMixin from all the Settings pages except for the root Settings view. This ensures only `/settings` calls isUserAuthorized. Add tests for the settings-mixin fixes #3053
This avoids multiple XHR requests being made by multiple views when displaying profile information at the same time. issue #3053
…s pages. The `settings` class ws added in beforeRender, which is only called after an XHR request is made to determine the user's authentication status. On slow connections this allows the Firefox logo and the white screen used elsewhere in the sight to be displayed while the user's status is being determined. Add the `settings` class early. If the user is not authenticated, `beforeDestroy` will take care of removing the class. * Add the `settings` class to the body in an overridden `render` function, before any XHR requests are made. issue #3053
…s pages. The `settings` class ws added in beforeRender, which is only called after an XHR request is made to determine the user's authentication status. On slow connections this allows the Firefox logo and the white screen used elsewhere in the sight to be displayed while the user's status is being determined. Add the `settings` class early. If the user is not authenticated, `beforeDestroy` will take care of removing the class. * Add the `settings` class to the body in an overridden `render` function, before any XHR requests are made. issue #3053
…s pages. The `settings` class ws added in beforeRender, which is only called after an XHR request is made to determine the user's authentication status. On slow connections this allows the Firefox logo and the white screen used elsewhere in the sight to be displayed while the user's status is being determined. Add the `settings` class early. If the user is not authenticated, `beforeDestroy` will take care of removing the class. * Add the `settings` class to the body in an overridden `render` function, before any XHR requests are made. issue #3053
Add `layoutClassName` capabilities to views. If a view defines `layoutClassName`, the class name is added to the `body` element as soon as rendering starts. The class name is removed in destroy. In router.js, help smooth out transitions by removing the previous view only once the new view is ready to insert into the DOM. We previously removed the old view before the new view's render call was made. If the new screen's render function made XHR requests, this could leave a blank screen. issue #3053
Add `layoutClassName` capabilities to views. If a view defines `layoutClassName`, the class name is added to the `body` element as soon as rendering starts. The class name is removed in destroy. issue #3053
Add `layoutClassName` capabilities to views. If a view defines `layoutClassName`, the class name is added to the `body` element as soon as rendering starts. The class name is removed in destroy. issue #3053
Add `layoutClassName` capabilities to views. If a view defines `layoutClassName`, the class name is added to the `body` element as soon as rendering starts. The class name is removed in destroy. issue #3053
Add `layoutClassName` capabilities to views. If a view defines `layoutClassName`, the class name is added to the `body` element as soon as rendering starts. The class name is removed in destroy. issue #3053
|
for next 2 weeks / to check with other patches |
|
ref #3092, @shane-tomlinson to double check if this is "smooth enough" |
|
We only generate one certificate and make one session/status request now. We still create 2 OAuth tokens and make 2 profile requests. The first can't be helped, the 2nd we are working on. The settings page is much smoother now. Manual tests tried:
Closing as "Good enough for now." |
This avoids multiple XHR requests being made by multiple views when displaying profile information at the same time. issue #3053
I get some flashing and see the Firefox logo briefly.
The text was updated successfully, but these errors were encountered: