You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While developing my extension, I have am constantly running yarn local-install and then refreshing Studio to pick up the new changes. This (sometimes!) disconnects me from my data source, and makes me select a layout again.
I wonder if it would be possible to reload extensions without this interruption. For example, it could unload all extension-provided panels, then re-initialize the extension provider, then recreate the panels. If it doesn't work (there's a runaway timer or something), a full reload is always possible.
(This might eventually get you closer to live reloading extensions while doing development, which would be really cool.)
Alternatively perhaps at least the data source and layout could be persisted through a reload, since those require the most clicks to set up again.
This discussion was converted from issue #267 on December 16, 2022 05:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While developing my extension, I have am constantly running
yarn local-install
and then refreshing Studio to pick up the new changes. This (sometimes!) disconnects me from my data source, and makes me select a layout again.I wonder if it would be possible to reload extensions without this interruption. For example, it could unload all extension-provided panels, then re-initialize the extension provider, then recreate the panels. If it doesn't work (there's a runaway timer or something), a full reload is always possible.
(This might eventually get you closer to live reloading extensions while doing development, which would be really cool.)
Alternatively perhaps at least the data source and layout could be persisted through a reload, since those require the most clicks to set up again.
Beta Was this translation helpful? Give feedback.
All reactions