Views or View/Hide certain panes
Hi all,
One feature that would be great is if there were different "views", e.g. which panes to view, and which columns to show in the middle pane. I often find myself either just wanting the middle+right, or the middle + left, or just the middle (but with more columns). At the moment, it's very fiddly (standalone, OS X) to even change the width of the different panes.
This partially relates to previous discussion here:
https://forums.zotero.org/discussion/36738/keyboard-shortcut-for-infonotestagsrelated
Would be great to have!
Bjoern
One feature that would be great is if there were different "views", e.g. which panes to view, and which columns to show in the middle pane. I often find myself either just wanting the middle+right, or the middle + left, or just the middle (but with more columns). At the moment, it's very fiddly (standalone, OS X) to even change the width of the different panes.
This partially relates to previous discussion here:
https://forums.zotero.org/discussion/36738/keyboard-shortcut-for-infonotestagsrelated
Would be great to have!
Bjoern
Use case: When reviewing papers on certain topics, I often work with a few papers in the same collection, for which it's useful to just see the middle / right panel.
Completely hiding the panes is not essential - being able to adjust the sizes would be sufficient, i.e. being able to set the width of certain panes to something small, or being able to adjust the width of the panes to custom values, depending on the task. Is this currently possible with javascript?
(Part of the problem is that with Zotero stand alone on OS X, adjusting the width of the panes is very fiddly.)
Similarly, it would be really good to be able to simply adjust (or perhaps reset?) the column widths in the middle pane, or have a special treatment for "added / last modified".
Use case: I often want to temporarily see when something was added or modified. However, it's a very wide column, so I tend to want to hide it again in favour of other fields. At the moment, it requires a lot of manual adjusting. So if you could save/restore columns, or reset column widths in some way, that would solve the issue.
B
You can also change the widths of the columns in the middle pane by clicking on the border between two columns and dragging it. The size of the column on the left will be adjusted. You can change the column order by clicking on the column title and dragging it to another position. When you hide a column and then re-show it, it remembers the width you had set and the position the last time it was visible.
Edit: adamsmith types faster than me.
I should have mentioned that I use Zotero stand alone / OS X, in case that's different. Yes, you can adjust pane widths, but it's extremely fiddly. I.e. the area where the mouse pointer turns to the "adjust" pointer is very narrow. I can't see a "grippy"... (bar the horizontal divider between tree/tags in left pane). Does the FF version have thicker (vertical) dividers between the panes?
Also, in stand alone, I can't see "hide / show" buttons...
Regarding the middle pane - thanks! I hadn't realised you could drag the columns about, but by dragging the "modified date" column to the right, the show/hide for that column works. So that's good enough.
Any more thoughts on adjusting the main pane sizes more easily?
(I think I tried to hide "zotero-items-tree" https://github.com/zotero/zotero/blob/4.0/chrome/content/zotero/zoteroPane.xul#L342, c.f. https://forums.zotero.org/discussion/36738/keyboard-shortcut-for-infonotestagsrelated)
document.getElementById('zotero-collections-pane').setAttribute('collapsed', 'true');
document.getElementById('zotero-item-pane').setAttribute('collapsed', 'true');
(c.f. github https://github.com/bjohas/Zutilo, https://github.com/willsALMANJ/Zutilo).
I just noticed that if you use the above javascript commands, the collapsed left/right panes don't have grippies.
What would I need to do to get the panes to collapse and show a grippy?
Bjoern
document.getElementById('zotero-collections-pane').setAttribute('collapsed', 'true')
document.getElementById('zotero-collections-splitter').setAttribute('state', 'collapsed')
document.getElementById('zotero-item-pane').setAttribute('collapsed', 'true')
document.getElementById('zotero-items-splitter').setAttribute('state', 'collapsed')
And then "removeAttribute('state')" to go the other way.
I've updated the code on github accordingly. There are two versions: one with removeAttribute and one without.
Without removeAttribute, the grippy stays until the width is adjusted, and then Zotero automatically removes it.
I think there'd be a case for keeping the grippy permanently visible.
B