SwiftBrowser icon indicating copy to clipboard operation
SwiftBrowser copied to clipboard

Dev tools should not open in a new window

Open jaigak opened this issue 5 years ago • 4 comments

Dev tools should open as sidebar instead of a separate window.

jaigak avatar Jul 25 '20 07:07 jaigak

dev tools currently only show an update the page html. i dont think it would be usefull in the side as that just take sup unnecessary space. ofcourse this is just my personal opinion

FireCubeStudios avatar Jul 25 '20 11:07 FireCubeStudios

dev tools currently only show an update the page html. i dont think it would be usefull in the side as that just take sup unnecessary space. ofcourse this is just my personal opinion

Also instead of having a update html button why can't you automatically refresh the page when the HTML is edited?

jaigak avatar Jul 27 '20 12:07 jaigak

yeah thats a good idea. because it using Monaco editor i need to know when the text has been changed.

FireCubeStudios avatar Jul 27 '20 12:07 FireCubeStudios

yeah thats a good idea. because it using Monaco editor i need to know when the text has been changed.

Monaco Editor does provide a way to listen to changes however the UWP component doesn't expose it. If performance isn't that big of a concern, you may try using a periodic timer that runs every 500ms (or lower for better latency) to refresh.

jaigak avatar Jul 28 '21 15:07 jaigak