Giter Site home page Giter Site logo

react-paneless's Introduction

react-paneless

A minimal window manager that may be included in your ReactJS app.

I am developing paneless to use in a larger app. I want to be able to display multiple, overlapping windows. Each "window" is called a frame. Here is a screenshot of one frame of my app with five panes.

  • All app content is rendered in panes.

  • Frames may be minimized to a thumbnail size.

  • A frame's header (AKA title bar) and footer (AKA status bar) may be hidden. When a header is hidden you can still move the frame by hovering the mouse around its top border.

  • Panes are rendered in frames.

  • Each pane may be split so that a single frame may contain an arbitrary layout of multiple panes.

  • Tabbed panes are implemented by this library.

  • This library supports persisting layouts.

  • Blue lines indicate the frame/pane with user focus. You can navigate around fames and panes with the Alt-f and Alt-p keys. Alt-b will activate the focused pane's menu. Hitting Alt-b again will activate the associated frame's menu. Arrow keys are used to navigate the menu's items and Escape (or clicking anywhere outside) closes the menu.

  • The blue outline indicating the focused pane appears only for a few seconds and then fades so as not to obscure the app's content in that pane.

  • A frame is sized with the mouse by hovering around its lower right corner.

Warning

Early development. Tried only on Chrome so far.

Example

This repository includes an example app. Images below are of the example app, illustrating features.

I suppose it should also be mentioned that paneless does the rendering of frames (normal and minimized) in an app-frame that has an app-header and app-footer.

Any pane's button bar is exposed by hovering the mouse around the top of the pane.

Pane Button Bar

Install

Clone this repository in a directory on your machine. Then just play around with the example app.

Or, if you already have an app you want to include it in, then do -

npm install <paneless-directory>

where <paneless-directory> is the directory you cloned this repository in.

Usage

See the example app.

License

MIT © BradDunagan

react-paneless's People

Contributors

braddunagan avatar

Stargazers

Ethan Cavill avatar CJ avatar  avatar  avatar Mikal avatar Hayati TASTAN, PhD in Geospatial IT avatar nick bouldien avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.