UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    tedit development and design discussion

    Scheduled Pinned Locked Moved App Development
    tediteditorappdevelopmentfeatures
    256 Posts 13 Posters 135.4k Views 3 Watching
    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.
    • D Offline
      domubpkm @danfro
      last edited by

      @danfro I was not enough accurate : indeed i spoke of the number only : a little more in bold (maybe).

      danfroD 1 Reply Last reply Reply Quote 0
      • M Offline
        ma
        last edited by

        I use less then 100 files.

        1 Reply Last reply Reply Quote 0
        • danfroD Online
          danfro @domubpkm
          last edited by

          @domubpkm Yes, I understood it that way. I just wanted to explain why even this isn't "simple" codewise.

          Thanks for your replies regarding number of files. So I did try a few things and decided to separate the number from the text. Now here everyone can test the latest build with bold number 😉 and sorting option for files 🎉:
          https://gitlab.com/Danfro/tedit/-/jobs/14451001364/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

          @ma that will solve the sorting problem quite well I hope.

          Please let me know any issues, so I can release this soon.

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            domubpkm @danfro
            last edited by

            @danfro Thanks. Unless I misinterpret it, it seems that the sorting by date is reversed: ascending is in fact descending and vice versa.

            danfroD 1 Reply Last reply Reply Quote 0
            • danfroD Online
              danfro @domubpkm
              last edited by

              @domubpkm Yes, true. I will change that.

              Does it need a setting so users can choose the default sorting mode? Currently it would always start with alphabetical/ascending as default, which seems the natural way.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                domubpkm @danfro
                last edited by

                @danfro Yes, I saw that the sorting settings were not preserved and I told myself too hat that starting alphabetic/ascending was normal.

                danfroD 2 Replies Last reply Reply Quote 0
                • danfroD Online
                  danfro @domubpkm
                  last edited by

                  @domubpkm maybe I make it preserve the last values used. Rather than adding more things to settings page.

                  1 Reply Last reply Reply Quote 0
                  • danfroD Online
                    danfro @domubpkm
                    last edited by

                    @domubpkm Ok, the lastest build (https://gitlab.com/Danfro/tedit/-/jobs/14463791440/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click) does store the last setting and uses that the next time.

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      domubpkm @danfro
                      last edited by

                      @danfro That's ok 👍. How are subdirectories and their files considered in sorting ?

                      danfroD 1 Reply Last reply Reply Quote 0
                      • danfroD Online
                        danfro @domubpkm
                        last edited by

                        @domubpkm I think the subdirectories letters are used for alphabetical sorting. Its basically one string filename or subdir/filename.

                        I thought about splitting that, but the more parameters I add, the more complex it gets. I would not add another setting/filter for that.

                        I can try if I can skip the subdirectory and use the filename instead. That might make the most sense I guess.

                        danfroD 1 Reply Last reply Reply Quote 0
                        • danfroD Online
                          danfro @danfro
                          last edited by

                          Ok, skipping the subfoldername was not that difficult: https://gitlab.com/Danfro/tedit/-/jobs/14471012073/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post