pushtell / react-ab-test

A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.
MIT License
752 stars 112 forks source link

User can reposition the debugger #3

Open wehriam opened 8 years ago

wehriam commented 8 years ago

The debugger should have an optional placement property that positions it on the top, left, bottom or right of the viewport.

Pressing ctrl-q should iterate through the placements.

placement: React.PropTypes.oneOf(['top', 'left', 'bottom', 'right'])
wehriam commented 8 years ago

I created https://github.com/pushtell/keypress-combination as most combination keypress event listeners were larger than required.