Hello Felix,

when I try the new  *leo-html-export.leojs *as described in my previous 
post, I get the following error in the Leo log window:

not found: D:/WORKSPACE/chronos-leo-2/outline-viewer.html

' D:/WORKSPACE/chronos-leo-2/' is just my working directory. It contains 
only  *leo-html-export.leojs.*

Reinhard

On Tuesday, September 23, 2025 at 11:57:13 PM UTC+2 Félix wrote:

> Thanks to Viktor, Thomas, JKN, Mike, Brian and Edward for your comments 
> and suggestions!!
>
> *I've implemented the suggested changes, and added a few more to help 
> navigating the outline even more easily:*
>
> - Buttons in the top right now auto hide after 2 seconds, just move you 
> mouse near their location to reveal them again
> - Buttons goto next/previous marked node wont appear unless at least one 
> marked node. (Those are now default buttons like prev/next history)
> - Buttons prev/next history also wont appear unless at least more than one 
> node is in history
> - URLs detected in body pane are now links you can click on
> - The body pane now respects @wrap & @nowrap (by checking the nearest 
> ancestor that has this at the start of a line)
> - Added a context menu (right-click) on any node in the outline to 
> hoist/dehoist/mark/unmark it.
>
> Please try it out again to see if you cant spot silly mistakes I may have 
> made, or if you can come up with more pertinent suggestions. :)
>
> (see attachment, or the *leo-html-export.leojs* file in the repo at 
> https://github.com/boltex/practice-outline )
>
> I will make another pull request with those changes in a few days before 
> 6.8.7 release date if everything is all right.
>
> Félix
>
>
> On Monday, September 22, 2025 at 5:06:27 PM UTC-4 [email protected] wrote:
>
>> Lovely work.  I've now got the plugin installed and it seems to work 
>> well.  I don't see Viktor's problem about unresponsive tabs because on my 
>> Windows computer, the focus switches to the browser at the end of the 
>> command.
>>
>> I did find one nit, though.  If the first line or two of the body are 
>> long enough, the icons at the upper right obscure those lines. I'd suggest 
>> putting the icons in a div of their own, with the first line of the body 
>> starting below them.
>>
>> And let me applaud the readability and responsiveness of the HTML viewer!
>>
>> On Monday, September 22, 2025 at 6:55:37 AM UTC-4 [email protected] 
>> wrote:
>>
>>> Hello Félix,
>>>
>>> Félix schrieb am Montag, 22. September 2025 um 06:36:22 UTC+2:
>>>
>>> Thanks to all who tried it  and commented !! :)
>>>
>>> I've corrected the scrollbar issue for firefox and also corrected two 
>>> small bugs (collapse all button position and setting reasonable defaults on 
>>> first use)
>>>
>>> I've turned it into a Leo Plugin for regular use with the minibuffer and 
>>> the 'Export Files' menu. I've made a new branch and pull request for this! 
>>>
>>> https://github.com/leo-editor/leo-editor/pull/4456
>>>
>>> For those curious to see the development (and a cleaned-up and leonized 
>>> version which I ended up doing finally today) of this small self-contained 
>>> HTML app, please see this repository (which contains Brians' demo, Thomas 
>>> examples and a few experiments files for the curious!) at 
>>> https://github.com/boltex/practice-outline
>>>
>>> Lastly, if you have not tried it out yet, please try that latest version 
>>> with the bug fixes: Just pull and switch to the 
>>> *felix-export-to-html-outline-viewer 
>>> *branch *(*and make sure to enable the plugin if you already have Leo 
>>> installed and setup your plugins in your myLeoSettings.leo)
>>>
>>>
>>> I tried both variants & they worked fine on some of my outlines. - *The 
>>> result looks really good !*
>>>
>>> One minor thing I have noticed is that Leo's tabs stay unresponsive 
>>> after executing the command from menu or minibuffer until you select some 
>>> other Non-Leo window & return ...
>>>
>>> One more thing: Have you considered making URLs clickable in the body ?
>>>
>>> With kind regards,
>>>
>>> Viktor
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/ab08c04e-a5b8-45f7-80e3-7811f78e9267n%40googlegroups.com.

Reply via email to