Closed lonely-lockley closed 7 months ago
At a glance, this feature seems to be very simple: just move the editor and viewer components into a tabbed container and migrate current project/file logic into a tab. A new event will be needed to track tab switching. This will be similar to open/close evens: it must save source, so it gets visible for tranlator service, but must not call editor and svg clear events.
The most complicated part will probably be tracking changes in browser local storage
We gonna need them!!!
It's not clear for the users which file is opened now and in playground they can loose all code written when switch between file which is a common scenario of learning - you want to see working example and write your own code