GitXplorerGitXplorer
r

react-resizable-panes

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
33a04b1420bbd4574f1a579268d5fc24703190b1

Cleaned up border component.

rrapzo committed 8 years ago
Unverified
9fe25aa64e17f53d95a687a549af699ecf2beea7

Updated dist

rrapzo committed 8 years ago
Unverified
c2ae633a4aab7368625eecc05245e9ef94991469

Added eslint to the fold. Cleaned issues.

rrapzo committed 8 years ago
Unverified
4907f74405fc9493061e2e5e017a63b2b4da5952

Bad method handler

rrapzo committed 8 years ago
Unverified
e00858c53749b05767adc534e841bf9b84eee6a9

Clearing code to start adding more features

rrapzo committed 8 years ago
Unverified
7e6cbfeef57afbfe6e22e81758443fd2759b19f9

removed text from panes

rrapzo committed 8 years ago

README

The README file for this repository.

react-resizable-panes

A quick implementation of a 3 pane display with highlighting, hiding and resizable border actions.

Running and developing

Kindly inspired in the frontend-boilerplate put together by TJ Holowaychuk, this module can be tested by opening the index.html file in the dist folder or, if you want to try out anything:

npm install
npm run start

If you want to produce a stable build, updating dist folder contents run:

npm run build

Keyboard support

  • ctrl+l hides the leftmost pane, adding its size to the panel on its right, the center pane
  • ctrl+r hides the rightmost pane, adding its size to the panel on its left, the center pane
  • ctrl+h selects the hovered pane, turning it green

All actions are "toggable", which means when pressing the second time it will undo the previous action

Rules

  • No pane should be smaller than 10% of the viewport width
  • No pane should be bigger than 70% of the viewport width
  • Viewport should be always 100% filled with the panes and helper borders

Bugs

  • limits are not being properly applied, which, width resize and hide combinations should produce unwanted behaviors
  • borders lack better grab feel for the user
  • applications' state are not immutable nor components properties are clean
  • multi-row support incomplete