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
    265 Posts 13 Posters 135.6k 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.
    • danfroD Offline
      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 Offline
        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 Offline
            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 Offline
              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

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

                @danfro Great. The sorting is done on the names of the files and not on those of any subfolders.

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

                  @danfro small problem noticed of incomplete information (cut) HH:m..
                  screenshot20260520_205035865.png

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

                    @domubpkm Thanks for all your testing, reporting and your suggestions. Then I will maybe wait a few days to get some translations in (https://hosted.weblate.org/projects/ubports/tedit/) and then release this change.

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

                      @domubpkm Your translation is too long. Use German compound nouns. No problem here. 😁

                      Yeah that part is not perfect at all. I have that on my todo list to better format the timestamp, but there was some reason why that isn't that simple. Otherwise I would have already done it.

                      I will see what I can do about that. Moving the value to another line might be the easiest. Just cropping the text would make it useless.

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

                        @danfro changed screenshot..

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

                          @domubpkm I spottet another error: the time is no longer in UTC, likely due to my changed file reading. That made it easier to reformat. I did a few changes to file info page... 😎

                          https://gitlab.com/Danfro/tedit/-/jobs/14472542713/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.7.0_arm64.click

                          (A few strings will need to be re-translated because I changed the capital letter for the second word or so).

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

                            Hmm, created date seems not to work properly for all files. Some yes, some not. Encrypted not? Or not available for all files. Imported? Maybe I simply drop that info?

                            Edit: But file manager has problems on those files too. So not really a tedit thing.

                            Edit2: It is a tedit problem. When writing changes, tedit seems to recreate that file. That is why created and modified date are the same afterwards...

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

                              @danfro I stop raising issues. I plead guilty!

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

                                @domubpkm Haha, yes, this way we never get a new release. 😉

                                No, thanks for that. Without testers and issues the errors stay. I did drop the created date, something is funny about that. And I think its not that important to add.

                                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