View Single Post
Old 03-20-2023, 08:13 PM   #917
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Answers to Questions

Quote:
Originally Posted by petzi View Post
Sorry for not getting back to you sooner. I was a week out of town.

WOW! I have seen you improved this part of your plugin tremendously Facilities to navigate around the calibre database is a great idea! This makes the work with the multi-format windows very efficient.

I hope it is ok, that I give you some feedback.
  1. Leaving the regular expression field empty and clicking on the "Srch" button results for me in an error:
    Code:
    calibre, version 6.14.1 ERROR: Notes Viewer: No books were found that have any values matching your Search Regular Expression: ^.+[.]
  2. Whenever I get a result list of my research, each hit displays a name, title, number, and the search expression. Where does the number come from? Which fields are searched?
  3. After writing the search term in the "RegExpr" field, one has to click the "Srch" button. The <enter> key does not work, but I think it should, as it would be an intuitive and expected UI behavior.
  4. The button of the opened note column and the `CC` button have the same behavior. They open both a dropdown menu choice. --- An additional suggestion concerning the long list of columns: Wouldn't it be helpful to have a configuration option to limit the entries for the dropdown menu? Instead of showing all fields with "Long text, like comments, not shown in the Tag browser" one could specify those fields where a multi-format field would be really necessary.
  5. Some HTML notes always open as Markdown. This happens most of the time with notes exported as HTML emails from iOS or iPadOS. This is easy to correct with just one click. But one has to do it every time one opens this field. It would be nice if the program remembers the last configuration.

Hopefully, some of my remarks are of value for you.
They are all of value. Thank you for the remarks.

[1] That regex has been changed to ^.+[.]* so that text with zero periods in would still be selected. I was thinking "first sentence".

[2] The number in the search results list is the Calibre Book ID number, which NV uses to "jump" to the selected book. It needs that number. The field that is searched is of course the currently selected Custom Column, a.k.a. Notes Column. If you can articulate a preference for the order of the results, I can change that. Currently, it is: Author; Title, BookID; Snippet (returned as the matched text of the regular expression). The greyed-out text in the dropdown combobox before it is filled with search results will be changed to correctly put Author first, and Title second.

[3] Enter button now activates the search.

[4] Notes Viewer, to users who are fortunate to be able to use a mouse, has seemingly redundant pushbuttons for doing a few things. Those buttons are for those who cannot use a mouse for physical reasons, or do not have a mouse to use. The buttons also provide a direct shortcut, Alt+X, to the action of the button.

[5] Good idea. I will add that for the release after the one that I post tonight with the changes just mentioned in [1] & [3], above.

[6] Good idea. Also, it would be helpful if you posted a debug log for the "guessing math" displayed for those HTML emails. Not the text of the emails, which are of course private, but the ratios for markdown and HTML that are printed when "guessing" the format. That would help me refine the process of "guessing". Regardless, I will still implement this good idea at the same time I do [5].


Added: Just Released: Version 1.0.220 -2023-03-20 Notes Viewer: Enhancements. See [1] & [3], above.




DaltonST

Last edited by DaltonST; 03-20-2023 at 08:26 PM. Reason: Version 1.0.220 -2023-03-20 Notes Viewer: Enhancements.
DaltonST is offline   Reply With Quote