script-lab icon indicating copy to clipboard operation
script-lab copied to clipboard

Don't force page reload for custom function dashboard

Open Zlatkovsky opened this issue 6 years ago • 0 comments

For historic reasons (the CF functionality initially requiring beta office.js, while the rest of the editor was on release version), the CF page requires full reloads. There is also code like

            window.location.hash = '#';
            window.location.reload();

This isn't the greatest user experience, and also causes occasional other issue (a temporary error being thrown before the page reloads fully; or on Jakob's Edge machine, the full outer page reloading). It would be best to eliminate this code and become a regular SPA for the CF dashboard.

Zlatkovsky avatar Mar 18 '19 23:03 Zlatkovsky