coderespawn / dock-spawn

Dock Spawn is a web based dock layout engine that aids in creating flexible user interfaces by enabling panels to be docked on the screen similar to Visual Studio IDE
http://dockspawn.com
MIT License
255 stars 76 forks source link

Nice, shame it's written in Dart #1

Closed TimNZ closed 11 years ago

TimNZ commented 11 years ago

So what was wrong with JS + jQuery???? ;)

coderespawn commented 11 years ago

TimNZ, thanks for your interest :) I plan to create a JS port of this sometime in the future

TimNZ commented 11 years ago

I can't find anything comparable, perhaps my googling needs refinement. It may just come down to me doing a quick 'n dirty port myself.

Thanks for contributing this, long live OSS.

I'm presuming it is not meant to work in non-chromium browsers? The demo doesn't work in IE9 or latest FF, I may mistakenly believe you compiled it to JS using dart2js (this is about 15mins of research into dart), but it doesn't look like it.

TimNZ commented 11 years ago

Looks like you have compiled it, it just doesn't work in FF/IE9

I downloaded Dart Editor and compiled it again, doing a 'pub install' after reading this: http://news.dartlang.org/2013/01/big-breaking-change-dartjs-bootstrap-file-moving-to-pub.html

Unfortunately there is an error about missing .filter$(), it will occur immediately in any browser including latest prod chrome.

coderespawn commented 11 years ago

There were some M3 changes in dart which were not updated in dockspawn (e.g. "filter" was renamed to "where"). I'm working on fixing these. In the mean time, if you have a patch / port, please feel free to submit them and I'll add you as an author The library was designed to work with Chrome / FF (when compiled with JS). Investigating why it doesn't work with the latest FF

TimNZ commented 11 years ago

Thanks. I'm only interested in a pure JS version, so don't rush to doing any fixes unless you want to!

There's a chance I port it at some point in the next few months, with the addition of other splitter features like auto-hiding etc.