• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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
200 Posts 13 Posters 46.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
      danfro @domubpkm
      last edited by 13 Apr 2024, 18:37

      @domubpkm said in tedit development and design discussion:

      Just an idea : add option 'tedit exit without saving' in saving' window.

      You are right. I didn't cover this option yet. I assumed the user always wants to save = not loose data. But of course sometimes it is fine to drop changes. Thanks for testing and for the feedback.

      D 2 Replies Last reply 13 Apr 2024, 18:58 Reply Quote 0
      • D Offline
        domubpkm @danfro
        last edited by 13 Apr 2024, 18:58

        @danfro screenshot20240413_205304283.png screenshot20240413_205336582.png

        Particularly in these two cases, the contrast of the options line is a little weak in my opinion.

        D 1 Reply Last reply 13 Apr 2024, 19:54 Reply Quote 0
        • D Offline
          danfro @domubpkm
          last edited by 13 Apr 2024, 19:54

          @domubpkm Hmm, true the contrast is not ideal. I will need to investigate if we can set this color. But if there is no easy way, I may need to leave this for another release though. Good catch, I missed that.

          1 Reply Last reply Reply Quote 0
          • D Offline
            domubpkm @danfro
            last edited by 14 Apr 2024, 00:02

            @danfro Tested last built. That's great for me. screenshot20240414_014956759.png
            But, since 'save as' output is still active, perhaps a more appropriate title would be 'exit choice'?

            D 1 Reply Last reply 14 Apr 2024, 20:00 Reply Quote 0
            • J Offline
              jezek @danfro
              last edited by jezek 14 Apr 2024, 16:09

              @danfro said in tedit development and design discussion:

              My only idea would be to constantly keep reading a copy and comparing that. But I don't think that would be good for performance and very reliable. So I am afraid there is not much I can do about it.

              Pardon my intrusion.

              Just a suggestion. You don't need to keep the whole text. You can make and store just a hash of the original text (before edited) and compare to a hash of current text (edited) at exit (to see if save is needed).

              jEzEk

              D 1 Reply Last reply 14 Apr 2024, 20:01 Reply Quote 2
              • D Offline
                domubpkm
                last edited by 14 Apr 2024, 17:12

                @danfro The copy all function seems to work from the horizontal options line, but not the paste function: I get a white screen after paste.

                D 1 Reply Last reply 14 Apr 2024, 20:00 Reply Quote 0
                • D Offline
                  danfro @domubpkm
                  last edited by 14 Apr 2024, 20:00

                  @domubpkm Fixed now. Forgot to delete one line. Thanks.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    danfro @domubpkm
                    last edited by 14 Apr 2024, 20:00

                    @domubpkm I rephrased the dialog a bit. Should be better now.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      danfro @jezek
                      last edited by 14 Apr 2024, 20:01

                      @jezek I never used hashes to compare anything, but sounds like a good idea. Thanks for the suggestion. Although this may need to wait for a future version too.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        domubpkm
                        last edited by 16 Apr 2024, 16:09

                        @danfro Another suggestion (personal opinion) for a future update: the order of the options icons, whether in the vertical main menu or the horizontal menu, could be revised. I read from left to right and top to bottom.
                        On this principle: I will put this order: for the icons mentioned: select all, copy, paste, empty the area, empty the clipboard..

                        D 2 Replies Last reply 16 Apr 2024, 20:35 Reply Quote 0
                        • D Offline
                          danfro @domubpkm
                          last edited by 16 Apr 2024, 20:35

                          @domubpkm So far I kept the exiting order from the menu to the toolbar.
                          The order in the menu seems to make sense to me. First file actions (new, open, save, save as), then text area actions (undo, redo, select all, clear all), followed by clipboard actions (paste, copy, clear) and at the end special actions. But of course that is grouped by kind of internal functionality. This may not be obvious to the user.

                          Your suggested order would mix clipboard and text area options, but I can see some pattern from a users point of view. Maybe we can get some more opinions here from other users. The change is easily done...

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            danfro @domubpkm
                            last edited by 18 Apr 2024, 20:45

                            @domubpkm I decided to do the button reordering. I also moved the exit button to the right top corner. That is where most other (desktop) apps have the close X button. And I fixed the colors of the icons on bad contrast as reported above. It would be great if you could please give the last build another test. If things work fine, I would consider this ready to be released.

                            D 1 Reply Last reply 18 Apr 2024, 21:29 Reply Quote 0
                            • D Offline
                              domubpkm @danfro
                              last edited by 18 Apr 2024, 21:29

                              @danfro Great work. Reordering the icons makes sense from the user's point of view. The contrast is perfect. Overall, a great update. THANK YOU ! πŸ‘

                              D 1 Reply Last reply 20 Apr 2024, 05:05 Reply Quote 0
                              • D Offline
                                danfro @domubpkm
                                last edited by danfro 20 Apr 2024, 05:05

                                @domubpkm Thank you for all testing and suggestions.

                                I am not going to work on file filtering or such for this release. But this is on my todo list near the top. I hope it proofs not to be too difficult.

                                But I think about sneaking one small change into this release to hopefully make finding a file a bit easier. What do you think about having encrypted file names being colored different? I can imagine, this helps to visually filter files when you are looking for an encrypted file only.

                                I can make them colored orange for instance. I would not use blue, red or green. The mean "activity", "positive" or "negative" in our UI guidelines.

                                EDIT: There would be a switch in settings to turn the highlight off/on (default is on).

                                e4a4360a-a3eb-4596-b18a-2c3666d11045-grafik.png

                                D 1 Reply Last reply 20 Apr 2024, 05:32 Reply Quote 0
                                • D Offline
                                  danfro @danfro
                                  last edited by 20 Apr 2024, 05:32

                                  @danfro Or another idea (yeah, it never stops πŸ˜‰ ), it might be more consistent to show the padlock icon for encrypted files. This can be of course combined with the (optional, setting) file name color.

                                  dbd1525e-4604-4f09-8211-f8b6c7895690-grafik.png

                                  94e1d6ea-7a1f-478e-b51d-b33abcb6c91f-grafik.png

                                  D 1 Reply Last reply 20 Apr 2024, 05:33 Reply Quote 0
                                  • D Offline
                                    domubpkm @danfro
                                    last edited by 20 Apr 2024, 05:33

                                    @danfro Good idea to put the encrypted notes in another color. this will help a little. For the color to respect, why not orange in fact, or a purple which makes a slightly less significant contrast. Your idea of ​​giving encrypted files a different color makes me think that in the future, encrypted and unencrypted files could, if desired, be grouped into two groups.

                                    D 2 Replies Last reply 20 Apr 2024, 05:36 Reply Quote 0
                                    • D Offline
                                      danfro @domubpkm
                                      last edited by 20 Apr 2024, 05:36

                                      @domubpkm I actually had the idea of providing filters for encrypted/not encrypted. But not sure if that will work with searching. Yes, maybe grouping is another options that I can consider.

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        danfro @domubpkm
                                        last edited by 20 Apr 2024, 05:45

                                        @domubpkm said in tedit development and design discussion:

                                        or a purple

                                        I thought about purple too. But there we would need two purples to provide good contrast in dark and bright theme. Orange works for both.

                                        From first tests, purple looks actually better than orange in dark theme, but not good in bright theme. πŸ€” I could provide a setting with no color/orange/purple of course. But not sure if I get that ready for this release.

                                        D 1 Reply Last reply 20 Apr 2024, 05:53 Reply Quote 0
                                        • D Offline
                                          danfro @danfro
                                          last edited by 20 Apr 2024, 05:53

                                          @danfro Actually purple does look better than orange. I just need to find the right purple or purples. No orange I think...

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            domubpkm
                                            last edited by 20 Apr 2024, 06:04

                                            @danfro Another idea that could help in the search: the possibility of favorite files.

                                            D 1 Reply Last reply 20 Apr 2024, 06:05 Reply Quote 0
                                            88 out of 200
                                            • First post
                                              88/200
                                              Last post