Releases: ZebraFlesh/ember-cli-happy-splitter
Releases · ZebraFlesh/ember-cli-happy-splitter
Cleanup
Less jQuery, more runloop
- Replaced some jQuery event handling with standard Ember event handling. I had no idea that Ember was already listening to mousemove events and my attempts at micro-optimization were futile. On the upside, most things will now happen in the run loop.
- Some events needed to stay as jQuery events: selectstart (because it's not a standard Ember event and there's currently no way for an addon to modify Application.customEvents) and window.mouseup (because Ember misses mouse events outside of the root application object [or window; not sure which])
- Upgraded to ember-cli 0.2.5
- Yet more tests
Let there be tests!
- Upgrade to ember 1.12.0 / ember-cli 0.2.4
- Start adding unit tests
I'm all fingers and thumbs
- Added a thumb widget to the splitter bar. This is intentionally just a div without any styling; I'm of the opinion that components should have as few opinions as possible hence you need to provided your own styling. Refer to splitter-thumb.scss for an example.
- Added support for minimumPercentage values on splitter-view components with a default value of 10. This prevents splitter-views from disappearing when the user slams the splitter bar to one edge without any concern for how the splitter-view might feel. Everyone is happy once again.
- Dragging the splitter and releasing the mouse outside the component (including the browser window) should now behave as the user expects due to the addition of JFW Technology™.
- The drag cursors have changed.
- The drag cursors should now display consistently.
Ember CLI update
- Update to ember-cli 0.2.3
- Change cursors used for dragging splitter
- Changed splitter drag classes
- Added more documentation to readme
The Full On Happy Release
- Moved all components into the "happy" namespace to prevent conflicts when other splitter components are installed. #2
- Updated examples to replace the horrible template comments with whitespace control characters. #1 Thanks @lukemelia!
The ember 1.11 / ember-cli 0.2.2 release
Update to ember 1.11 and ember-cli 0.2.2
Initial release
Basic functionality.
To Do
- Add some tests
- Add more example templates to the dummy app
- Handle nested panels
- Handle more than 2 panels in a container
- Add widget handles to splitter
- Validate split percentages add up to 100