Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline grid features #498

Closed
alexisargyris opened this issue Nov 20, 2020 · 11 comments
Closed

Outline grid features #498

alexisargyris opened this issue Nov 20, 2020 · 11 comments
Assignees
Labels
discussion Meta: Feature discussions enhancement Request: New feature or improvement

Comments

@alexisargyris
Copy link

Hello!

I just finished my first couple of hours with novelWriter and wanted to give you some general feedback and a feature request.

Installation went according to your directions. The only problem was getting python to install on my Windows PC...

novelWriter, I am happy to report, is a mature and robust novel writing tool, comparable to apps like Scrivener as far as its core features are concerned. My warmest congratulations! I was greatly impressed (and I have tried most, if not all, novel writing / note management apps as a way of procrastinating from actual writing).

Some (very small) usability issues:

  • Editor: the top and bottom status lines are truncated, but still usable. I don't know if this issue is due to the size of some system font or it's related to the screen's resolution.

  • Tree view: when you single click on a tree element the editor is not updated and the UI then looks inconsistent. (But you can always double-click tree elements and avoid this situation).

  • nothing else! Everything works perfectly!

And here is my feature request: it would be great if the outline grid offered features such as sorting and filtering. It would be even greater if the outline remained visible along with the editor, as an alternative way to navigate the document's structure (if you decide to go in that direction then the outline view might function as an expanded version of the tree view).

To give you a use case, in the timeline I have tags "past" and "present". So I would like to sort/filter according to these tags and then navigate the document as if the tagged sections were consecutive.

Again, great accomplishment, all the best!

@alexisargyris alexisargyris added the enhancement Request: New feature or improvement label Nov 20, 2020
@vkbo
Copy link
Owner

vkbo commented Nov 20, 2020

I'm very happy to hear this. Thank you for the feedback!

Keep in mind that the installation instructions on the docs pages are a bit out of date, although they do work. The readthedocs pages don't show the pre-release version of the docs by default. For Windows, you can install novelWriter as a standalone with the installer provided on the release pages on github.

  • Editor: the top and bottom status lines are truncated, but still usable. I don't know if this issue is due to the size of some system font or it's related to the screen's resolution.

Hmm, that may very well be a font issue. It sounds like a problem that's been reported before (can't find the issue report right now). If it is the same issue, it may be a problem with the Qt framework, and it may or may not be possible to fix. It could also be an issue with calculating how much space to use for the header, like in issue #295, which is easy enough to fix.

Could you make a screenshot and make a new issue and report it as a bug? Please also specify which font is being used so I can test it. Thanks!

Edit: Issue created as #499

  • Tree view: when you single click on a tree element the editor is not updated and the UI then looks inconsistent. (But you can always double-click tree elements and avoid this situation).

The document editor and viewer are not supposed to be this closely tied to the tree, but be somewhat independent. You can perform actions on all three of them independently.

A single click will update the details panel below the tree, but it will not load the document into the editor. Loading on single click has a few drawbacks. Firstly, the undo/redo stack is reset when the text of the editor is loaded. This is done on the Qt side of things, and I haven't found a way around this (I've tried to, for other reasons than this one). Secondly, it would imply a document would be loaded also when you just want to change the settings or rename a document.

If you have a lot of documents in the project, I typically have a couple of hundred, you can find the one that is open in the editor or viewer by clicking on the header title. The tree should then highlight the document.

I'll address the feature request separately since that is the core of this issue thread.

@vkbo
Copy link
Owner

vkbo commented Nov 20, 2020

Feature Request

And here is my feature request: it would be great if the outline grid offered features such as sorting and filtering. It would be even greater if the outline remained visible along with the editor, as an alternative way to navigate the document's structure (if you decide to go in that direction then the outline view might function as an expanded version of the tree view).

To give you a use case, in the timeline I have tags "past" and "present". So I would like to sort/filter according to these tags and then navigate the document as if the tagged sections were consecutive.

The Outline view used to be an independent window. This was fine on a large screen, or dual screen setup, but inconvenient on a laptop, so it was abandoned. The current implementation is a compromise between being able to show a lot of details and it being available on the main GUI at the same time.

I have considered adding an outline mode to the main tree view, which would mostly cover your request. I am just a bit concerned it will be a confusing feature as it will look similar to the folder/document tree, but work quite differently in terms of settings, and lack the ability to add documents (as it'll be working with headings instead of files). However, I can give it a try and see.

As for filters for the outline view, that is something that can be added. The old implementation of this tool had such filters. I just need to find a good way to implement it in the GUI.

Perhaps I can make an alternative tree view which shows filtered headers. That will leave the current tree view and outline view as-is, and avoid making them too cluttered. It would also make the filtered project outline a distinct tool that would stand out from the other two.

I have to think more about this ...

@vkbo vkbo self-assigned this Nov 20, 2020
@vkbo vkbo added the discussion Meta: Feature discussions label Nov 20, 2020
@vkbo
Copy link
Owner

vkbo commented Nov 25, 2020

This feature request should be considered in connection with #76, which is a feature intended to display the structure of the project from the opposite point-of-view. That is, the Outline displays the project from the perspective of its structure in terms of its headers (chapters and scenes). The alternative proposed by the Timeline approach will display the structure from the perspective of a single (or group of) story element(s), character(s), or similar, through the progression of the story.

This complementary perspective may be enough to cover the part of this suggestion to be able to filter specific story elements.

@johnblommers
Copy link

I like where this is going.

@jyhelle
Copy link
Contributor

jyhelle commented Nov 29, 2020

and so do I ...

@vkbo vkbo added this to the Visualisation Tools for Story Elements milestone Dec 11, 2020
This was referenced Dec 20, 2020
@vkbo
Copy link
Owner

vkbo commented Dec 20, 2020

I've started adding a "Novel" tab in the project tree panel, which is currently sitting in PR #538 on branch novel_tab. I've also created an issue for it on #541.

I'm not sure yet if this is a useful feature, but I'm playing around with it in an attempt to make the meta data easier to access from the main GUI. I do fear that it may seem a little clunky if I start adding a lot of such features.

@alexisargyris
Copy link
Author

Is there any way to follow what you are doing without installing a branch of novelWriter? A screen capture perhaps? I'm hesitant to install alternate versions of software I use for daily work.

@vkbo
Copy link
Owner

vkbo commented Dec 22, 2020

Personally, I keep the version I use for working on my novels separate from the version I'm working on with the code. I just have two cloned copies of the repository.

But sure, I can post some screenshots. Here's the current state of the tree view tabs:
image

@alexisargyris
Copy link
Author

I find very useful what I see. So there are two tabs at bottom-left (Project and Novel) and another two tabs at top-right (Editor and Outline). Will all combinations be active?

@vkbo
Copy link
Owner

vkbo commented Dec 23, 2020

Yes, they are completely independent.

@vkbo
Copy link
Owner

vkbo commented Feb 7, 2021

Since 1.1 is released with the new Novel tree, I think the outcome of this request is covered? The other idea covering the alternative view of the outline content is a part of #76, and is discussed there.

I'm closing this now to clean up the issues list, but if you think these should be separate topics, then we can always re-open.

@vkbo vkbo closed this as completed Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Meta: Feature discussions enhancement Request: New feature or improvement
Projects
None yet
Development

No branches or pull requests

4 participants