treesheets icon indicating copy to clipboard operation
treesheets copied to clipboard

Feature Request: 4 things...

Open arizvisa opened this issue 6 years ago • 6 comments

This tool is soo super fucking awesome. Thanks so much for sharing it.

Anyways, I had 4 wishes..but half of them I can't exactly implement myself. Here they are in no particular order:

  • Can you add a question-mark icon to the image list?
  • It'd be really cool if the style list-selectors on the toolbar would let you click on them to re-apply the previously applied style to the current selection (since it's already showing them). Or maybe a key to re-apply the previous style would be sufficient as well.
  • It would be really nice if you could link externally to other files or other treesheets (similar to linked cells with F6, but maybe something like binding a key to pass the cell contents to something like WinExec or system). That way one could use a Treesheet for managing all of their Treesheets. ;)
  • How difficult would it be to change the way zooming-outwards works so it's similar to how zooming works in most .PDF viewers when you zoom out? Similar to how the whole page is shown laid out on the background. Right now Ctrl+Zooming defaults to already being completely zoomed out, so zooming is more for "focusing" on a cell rather, than "unfocusing" on a cell. By having the ability to zoom out, zooming can be geared more towards generalization of cells instead of "narrowing/focusing" the view on them.

Thoughts?

arizvisa avatar Jan 01 '18 00:01 arizvisa

Thanks! :)

  • As you imply, that is easy to do yourself by adding it to the folder. Feel free to find a question-mark in the Nuvola set, and send a PR if you feel it should be there as standard.
  • You can: by double-clicking.
  • You can: using F4 on a cell that contains the path/filename.
  • Not sure what you mean exactly. But if you're asking for a more continuous zoom, that was originally my plan for TreeSheets, until I found out it resulted in blurry font rendering, performance issues, and generally not working with text at ideal sizes, so I instead opted for the current system. If I'd re-implement the rendering in OpenGL or so it could probably be done nowaday (TreeSheets was first created 11 or so years ago!). Also, it does do zooming, in the sense that TreeSheets was designed to work well with its minification feature (see tutorial).

aardappel avatar Jan 02 '18 17:01 aardappel

So, I didn't see a question "mark" in the Nuvola icon set. The only one is a question "bubble", which implies something entirely different. Since the directory structure in the repository is organized by icon sets, should I just create an icon and drop it in the Nuvola directory? I can probably take the question one, invert it, and transparent out the bubble...

Ah boom. Awesome, didn't know about double-clicking. I'll add it to the tutorial and submit a PR as I didn't see anything mentioned about that in there for Styles.

Hah! Again, so awesome! Would you accept a PR to this feature that adds relative paths, and maybe environment variable expansion? Also, can I add it to the "Advanced Operations" in front of the visual language section? I pretty much learned how to use this tool entirely as a result of this tutorial, so (assuming that other people learned the same way) it'll hopefully give users more ideas on how to organize their content.

Yea, similar to that but not exactly. Right now, zooming outwards (Ctrl) is bound by the cells that are available as it feels that it's intended to be used more for controlling the focus of content. At the present, when one uses sizing to do "zooming" on the entire sheet, the ability to move the sheet around seems to work at varied "levels". Like 3 of them.

Like, one of the levels loses the ability to drag the page to the left and right, and the outermost level appears to lose the ability to move/drag the page around entirely. The other levels don't let you scroll off of the view of the cells/sheet. Maybe what I'm asking is related to the dragging of the treesheet's view around, as the sizing of the treesheet seems to have an effect on how the view can be moved around. Would this be handled by the "frame" header file? or the "canvas" one?

Yea. If performance/rendering is an issue and re-implementing the rendering in OGL is the solution then don't worry about it. Honestly, the interface already accomplishes 99% of what's important anyways. ;-)

arizvisa avatar Jan 02 '18 19:01 arizvisa

Hmm, I agree it doesn't belong in the Nuvola dir, but for now that may be simpler than trying to reorganize everything :)

Yes, please submit a PR for tutorial fixes, much appreciated!

Most of the rendering of the view is all in document.h. Still don't quite understand what you mean. Maybe given an example sheet (e.g. the tutorial file), you could say, "do X, Y then Z, and I'd expect the result to be this rather than that" :)

aardappel avatar Jan 03 '18 18:01 aardappel

Sorry for this taking a bit, but it's definitely in my todo. The current version of the tutorial is for a newer version of TreeSheets than the binary released on your site and so I haven't gotten around to setting up a build environment for this to be able to interact with the current version of the tutorial in the repository.

arizvisa avatar Jan 10 '18 17:01 arizvisa

Ah, that can be, I don't make binaries that often, sorry!

aardappel avatar Jan 10 '18 18:01 aardappel

PR #102 adds the question-mark icon. I made it yellow like our stop-lights. Green for the check mark, Yellow for the question mark, and Red for the X.

arizvisa avatar Mar 01 '18 20:03 arizvisa