omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Outliner with drag/drop reordering

    Pythonista
    10
    1003
    659672
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ihf
      ihf last edited by

      @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?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @ihf last edited by

        @ihf sorry, I forgot to mention it, to be downloaded here

        1 Reply Last reply Reply Quote 0
        • ihf
          ihf last edited by

          @cvp

          1. Not a strong preference but probably vertical
          2. 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
          3. 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)
          4. I think they are convenient to have there although Mai g to right or left should be able to demote or promote.
          5. I don’t think the blue dot is needed.
          cvp 5 Replies Last reply Reply Quote 0
          • cvp
            cvp @ihf last edited by

            @ihf said:

            although Mai g to right or left

            No comprendo

            ihf 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @ihf last edited by

              @ihf said:

              when moving items, they are not renumbered correctly

              That's drop, not yet programmed at all.

              1 Reply Last reply Reply Quote 0
              • cvp
                cvp @ihf last edited by

                @ihf said:

                Not a strong preference but probably vertical

                I'll provide settings (new functionality) and this will be the first one: horizontal or vertical...

                1 Reply Last reply Reply Quote 0
                • cvp
                  cvp @ihf last edited by

                  @ihf said:

                  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

                  1 Reply Last reply Reply Quote 0
                  • ihf
                    ihf @cvp last edited by

                    @cvp Mai g =moving

                    cvp 2 Replies Last reply Reply Quote 0
                    • cvp
                      cvp @ihf last edited by cvp

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • cvp
                        cvp @ihf last edited by

                        @ihf said:

                        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
                        1 Reply Last reply Reply Quote 0
                        • cvp
                          cvp @ihf last edited by

                          @ihf New Github available.

                          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
                          





                          1 Reply Last reply Reply Quote 0
                          • haribol
                            haribol last edited by haribol

                            Greetings friends,

                            Wow, @cvp , amazing and generous of you to develop this app on spec for @ihf .

                            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.

                            cvp 2 Replies Last reply Reply Quote 0
                            • cvp
                              cvp @haribol last edited by

                              @haribol thanks but only if I meet more fun than (my) bugs 🙄

                              haribol 1 Reply Last reply Reply Quote 0
                              • cvp
                                cvp @haribol last edited by

                                @haribol Sincerely, I had never used an outliner thus I did not search for an app, but I guess that @ihf did not find the functionalities he wanted.

                                1 Reply Last reply Reply Quote 0
                                • haribol
                                  haribol @cvp last edited by

                                  @cvp said:

                                  @haribol thanks but only if I meet more fun than (my) bugs 🙄

                                  Haha, can relate. Always nice to have a fun project to work on, while it's still fun, and if it can be a useful project for the future ...

                                  1 Reply Last reply Reply Quote 0
                                  • cvp
                                    cvp 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

                                    1 Reply Last reply Reply Quote 0
                                    • ihf
                                      ihf last edited by

                                      @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.:-)

                                      cvp 2 Replies Last reply Reply Quote 0
                                      • cvp
                                        cvp @ihf last edited by cvp

                                        @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

                                        1 Reply Last reply Reply Quote 0
                                        • cvp
                                          cvp @ihf last edited by cvp

                                          @ihf New V00.10 available with correction of two bugs that could lock you if you find some time for testing

                                          Version V00.10
                                            - bugs
                                              - correction of bug "tab crashes on replaceObjectsInRange out of bounds"
                                              - correction of bug "incorrect renumbering lines after CR"
                                          

                                          And, now time for sleeping

                                          1 Reply Last reply Reply Quote 0
                                          • ihf
                                            ihf last edited by

                                            @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?

                                            cvp 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors