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 - part 2

    Pythonista
    9
    589
    180611
    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.
    • cvp
      cvp @ihf last edited by cvp

      @ihf If you imagine another way to add a line at begin of file, tell me

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

        @cvp My first instinct was to place the cursor in front of the first character on the first line and hit return. however, that adds a blank line to the item (which is good), so I think the menu item is fine.

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

          @cvp I know it is possible to hide or (only show) checked items but is there a way to sort on the completed check box? (i.e., to place the completed items at the end (or beginning)? I almost get this when I view the ended date and do a descending sort but that reorders the rest of the outline in descending order for some reason.

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

            @ihf said:

            when I view the ended date and do a descending sort but that reorders the rest of the outline in descending order for some reason

            V01.26 and outline.versions with

            Version V01.26
                - correction of bug "sorting on a date should not sort items without this
                  date (fi: due date, end date)"
            

            With this correction, do you still want a sort on the completed check box?

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

              @cvp That works although it is multiple steps and the dates must be shown to do it. I’d say its not terribly important but a pure sort on the checkbox is what i envisioned . More important: I just noticed that there is a bug when you view the dates and you have items with multiple lines. The second line of an item becomes part of the next line. I can send an image if it would help.

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

                @ihf said:

                More important: I just noticed that there is a bug when you view the dates and you have items with multiple lines. The second line of an item becomes part of the next line. I can send an image if it would help.

                You already got this error and you posted "If my outline is collapsed and I select view by completion date, and then select sort button to change to sort down, the display gets messed up in that lines are overlapping.".
                I know that problem comes from computing TableView row's height which does not take in account that rows are sorted and I wanted to let this problem for the future version without TableView, and check if the problem still occurs.

                Edit : I just tested with my new ScrollView version (still in development) and problem should disappear

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

                  @cvp oops, sorry about that. I guess I am dropping bits…so to speak 😕

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

                    @ihf No problem.

                    Suppose I can develop the sort on the completed check box witHout date, how do you imagine to ask that? I would like to not be obliged to add a sort button like 🔢.
                    I could add some options in the eye menu or in the popup menu.

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

                      @cvp I would say the eye menu is the most intuitive.

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

                        @ihf ok but do you agree to have 3 options: sort ascending/descending/no sort? To avoid a supplementary button

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

                          @cvp sure, that would be fine.

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

                            @ihf new V01.27 and outline.versions with

                            Version V01.27
                              - add new options in eye menu to sort items on their completed checkbox,
                                at beginning, at end, or reset without sort (same as 'Expand all')
                            

                            Feed-back hoped

                            Now, if I modify outline.py, I also have to incorporate modifications in ScrollView version, still in development for some time. 😢

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

                              @cvp I just restarted outline (v1.25) and it did not tell me about a new version.

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

                                @ihf weird. Internet accessible ? Retry

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

                                  @cvp I agree, very weird. I tried on iPhone and iPad (both have connectivity) and both are staying on v1.25 with no notice of an update.

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

                                    @cvp I tried on another iPad where I had updated to v1.26 and it also does not tell me about v1.27. Something else change in v1.25?

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

                                      @ihf did you not try the V01.26 just before the V01.27?

                                      Édit: sorry, I crossed your previous post

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

                                        @ihf I found the reason, I erroneously added a blank line at begin of .versions file.
                                        Wait 1 minute please

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

                                          @ihf ok, retry please

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

                                            @cvp That did it. The new version looks good and does exactly what I was looking for. There appears to be one small glitch. When I sort by check boxes at beginning it works perfectly but when I do it at end, there is a blank line after the first of the checked (completed) lines. I tried on another outline and had a similar problem except it was when I did the sort to beginning and then the blank line (2 of them) were between the uncompleted items at the end. I tried on 3 more outlines and did not see the problem.

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