Infragistics / livewire

A simple web content editor built with Electron
https://waffle.io/infragistics/livewire
19 stars 9 forks source link

no way to click tabs offscreen #45

Closed jVanZwieten closed 8 years ago

jVanZwieten commented 8 years ago

I was going through test cases using livewire, and wasn't closing tabs as I went. Since tabs open rightmost, if enough tabs are opened they will eventually start opening to the right of the window and become unclickable. I wouldn't have thought of this if I hadn't accidentally done it. livewire tab bug

craigshoemaker commented 8 years ago

Inside the tab well we need a button with ellipsis that when clicked, exposes a panel with all the open files available to click to.

Here's a mockup:

image

You can handle the ellipsis button click in the tabs module. You'll likely want to create a new module to just handle the open files panel. When a user clicks on the name of an open file then you'll want to close the open files panel and call the switchDocuments function in the tabs module. The tabs module will take care of most of the work of applying the correct CSS classes and bringing the correct file into the editor.

craigshoemaker commented 8 years ago

closed by 99f21d6e882c24e7eb9dc65b6217e939f895815d