flipbook-labs / flipbook

Storybook plugin for Roblox UI
https://flipbook-labs.github.io/flipbook/
MIT License
94 stars 7 forks source link

Provide better quality of life for Roblox Studio users #163

Open vocksel opened 1 year ago

vocksel commented 1 year ago

Currently flipbook will reload the story any time the source changes. This works well for Rojo users where Ctrl+S is the only time a story's source will change, but in Studio the source changes on each keystroke.

We should introduce some quality of life changes to make the experience for Roblox Studio developers better

vocksel commented 1 year ago

We could potentially put auto-refreshing on a cooldown where if the user has Studio focused we only refresh if there has not been a keystroke for 500ms or so. Making use of WindowFocused and WindowFocusReleased to know when the user is actively using Studio