Outliner with drag/drop reordering
@cvp I was about to test the latest version on a new iPad and I am getting an error at this line
from SetTextFieldPad import SetTextFieldPad
Module not found. Did I forget to install something on this tablet?
- Not a strong preference but probably vertical
- Double-tap is fine but sometimes it seems to work and other times it just brings up the cut/copy/paste and this error is appearing at gestures line 402: not enough values to unpack
- Again no strong feeling but when I long press to move an item it should take the children with it. I may need to think about this and play with the Mac outliner to see how this is handled if you only want to move part of a level to another place. I assume you know that right now, when moving items, they are not renumbered correctly. (e.g., what you see here shouldn’t be possible https://imgur.com/a/TplSrjF?s=sms)
- I think they are convenient to have there although Mai g to right or left should be able to demote or promote.
- I don’t think the blue dot is needed.
although Mai g to right or left
when moving items, they are not renumbered correctly
That's drop, not yet programmed at all.
Not a strong preference but probably vertical
I'll provide settings (new functionality) and this will be the first one: horizontal or vertical...
what you see here shouldn’t be possible https://imgur.com/a/TplSrjF?s=sms
As I said, dropping is not yet programmed and standard process pastes entire text, including outlines seen as text, not as outline, reason why they are blue instead of red.
Thus, not a real bug because not really programmed. No panic for this one
@cvp Mai g =moving
@ihf some questions:
1 Is drag and drop used only for move or also for copy?
2 If yes, how do you want to differentiate both?
3 when you type a long text without CR, bigger than screen width, do you want the same alignment on the next line, without outline?
4 do you want a way to pass to next line, without outline but without long text?
If you want some little esthetic modifications (color, size, ....) don't hesitate.
If you want additional functionalities, don't hesitate to tell me, sometimes I want some fun when I'm too long busy on debugging 😀
If you are not in a hurry for a finished app, don't panic, we will overcome.
Double-tap is fine but sometimes it seems to work and other times it just brings up the cut/copy/paste
I think it depends if you have your keyboard displayed or not.
Copy/paste menu is the standard menu if you tap on a selected area
Perhaps, it could be difficult to live with
- double tap for popup menu
- long press for dragging
- single tap for selecting
- single tap on selected for copy/paste menu
- single tap to set cursor
Could you, please, at least try new functionalities, not entire tests.
Version V00.08 - no more blue dot at top/left of moving box - new settings button in main menu - support "popup menu orientation" - new general setting - support both vertical and horizontal orientations of popup menu - bugs - correction of bug of two successive tabs on same line - support of drop - check no drop of a box of text into it-self - support of drop for move operation only nb: draft process, several renumbering bugs subsist, be patient - support of "force a new line with same outline" - new general setting - new option in popup menu - with special icon if horizontal popup menu - generates an outline, same as previous line - no renumbering of next lines will occur nb: long lines automatically (by ui.TextView) break and should generate a same outline on next line, but this is not yet supported. Force same outline functionality may be a workaround - support "same outline invisibility" - new general setting - support both invisible or light gray (tests) same outline - begin of future (eventual) development for details of outline format types - better parametrization of format types - accessory info button in format types popup menu gives more details
haribol last edited by haribol
Can't help but wondering, if anyone has looked at or considered the apps Dynalist or Workflowy. Both nicely featured outliners. Not to diminish the work done here, but thought I'd mention it.
I used to use Dynalist to keep all my notes and to-dos for a while; ended up going back to using Markdown files in a cloud folder, with Obsidian on laptop/desktop, and Editorial on mobile (which I purchased years ago). Have been stable with this setup for a while and like it quite a bit; experimenting a bit more with workflows and python in Editorial lately, and also Pythonista.
Anyway, thought I'd at least mention those, in case it's helpful.
There's another decent outliner I tried, but can't remember the name right now. Will try to look it up later.
@haribol thanks but only if I meet more fun than (my) bugs 🙄
haribol last edited by
New V00.09 available (normally, you should also read news from V00.08) with
Version V00.09 - bugs - correction of bug of crash when "drop before first line" nb: new renumbering bug has appeared, not yet solved - correction of bug of crash with "'Outliner' object has no attribute 'target'" - hidden but identic (invisible) outlines do not have the font size of hidden - tapping outside textfield (font size, searched text) closes the entire app - same outlines (gray) do not have same font_size as normal ones - moving box - will now contain coloured outlines - the moving box was displayed above the finger position to allow to always see where it would be inserted, but, at the top of the text, the box was outside the screen, thus invisible. Now, this box will be drawn at right of the finger. - search in lines - new main button for searching - display an ui.TextField to enter the searched text - display only lines containing the search text (case,accents non sensitive) nb: displayed lines vary in real time - press enter to close the TextField and come back to full display - review .content file for future improvements like outline hidden, style etc...
Finished for today, promised
@cvp As far as I can tell, neither of the apps mentioned above are able to format the outline in the Legal, Harvard, or other standards. I also don’t know if they allow drag and drop to reorder. I’m not saying that there isn’t an app out there that does these things but so far I haven’t come across it. There are MANY outliner apps available. Some require a monthly subscription, others require logging into a commercial server, But the ones that I know about have all sorts of features that I don’t have much use for and don’t have the features of interest to me. My guess is that Emacs can do the formatting but would lack any GUI. I am amazed as to what @cvp has already accomplished and as long as he is willing to continue working on it, I am happy to provide further feedback.:-)
@ihf Please send me some feedback, even negative, about all new functionalities.
And, I know that there are a lot of bugs in the renumbering.
I'll use next week to try to solve most of them
@cvp I tried creating a simple outline and then moving parts of it using long-press but I did not get very far. (https://vimeo.com/562564194) Perhaps I am making some simple error in use. I also tried reopening an outline and positioned the cursor at the end, hit return, and got an arror "UnboundLocalError" on line 533 (textview_should_change). I will continue to try and see if I can create a simple outline and move parts of it. Does the move take all children of a node with it?