rednotebook icon indicating copy to clipboard operation
rednotebook copied to clipboard

Improve export dialog

Open jendrikseipp opened this issue 7 years ago • 2 comments

Originally reported by thatscottishengineer at https://bugs.launchpad.net/bugs/1458602 (2015-05-25T15:05:55Z):


General improvements required to the export dialog:

  • Remove the introduction (it just an extra step that gets in the way, an introductory text can be put onto the export format page)
  • Add a verbatim format
  • Possibly add other formats supported by txt2tags?
  • Relabel 'Export currently selected text' to 'Export selected text only'
  • On "Select contents", Change Export text/tags options to check boxes
  • Add filter days by search contents
  • Remove 'select export path' and replace with a 'save as' dialog once the user selects 'apply on the last page'

jendrikseipp avatar Mar 20 '17 13:03 jendrikseipp

Original comment by jendrikseipp (2015-05-25T18:57:00Z):


Let me make some quick comments:

  • Remove the introduction Good idea.

  • Add a verbatim format We should probably handle this in the designated issue.

  • Possibly add other formats supported by txt2tags? Unless there's a good reason to add another format, we should not add any. Every new format makes the code harder to maintain and test, since we have to maintain all the pre/post-processing macros in markup.py.

  • Relabel 'Export currently selected text' to 'Export selected text only' I don't think the change is necessary, since the other options don't include "only" either.

  • On "Select contents", Change Export text/tags options to check boxes Good idea. Eventually, this option can be removed completely, since we are gradually phasing out the right-pane tags anyway. Then we always want to export "text".

  • Add filter days by search contents I think this is indeed a nice feature. What do you think about adding an option "Only include days from search results" (similar to "export currently selected text") that is only active when a search is made before the export dialog is opened?

  • Remove 'select export path' and replace with a 'save as' dialog once the user selects 'apply on the last page' What are the benefits of this approach?

Generally, I think that the dialog pages 2 and 3 (date range and contents) are a little messed up. Maybe they can become clearer if we rearrange the options a little bit. What do you think about the following design:

=== Format (1/4) ===

  • Text
  • HTML
  • Latex
  • PDF

Date format [%A, %x] [Preview] [Help]

=== Contents (2/4) ===

  • Date range [Start] [End] (both buttons open date dialogs)
    • Only include days from search results
    • Filter by tags [work, holiday] [Add tag] (opens tags dialog)
  • Currently visible day
  • Currently selected text

("All days" option is subsumed by "Date range" option)

=== Destination (3/4) === (Can stay as it is)

=== Summary (4/4) === (Can stay as it is)

jendrikseipp avatar Mar 20 '17 13:03 jendrikseipp

I'd definitely dig a rework of this - I often have to print excerpts of my journal,

cls-nebadje avatar Apr 29 '21 07:04 cls-nebadje