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.9k 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 @Br1
        last edited by

        @Br1 True, not having to swipe a note to open it is something I would prefer too.

        I will think if having several start page options is possible: new (empty) note, notes list, last used note. But not sure yet if that is easy to do.

        I will certainly not only support dark theme. Many users like Ambiance too. So an app needs to support that. But I may reduce coloring options to make this work. Although maybe I add a setting for a fixed theme in tedit like other apps do (system theme, Ambiance, SuruDark).

        arubislanderA 1 Reply Last reply Reply Quote 1
        • arubislanderA Offline
          arubislander @danfro
          last edited by

          @danfro said in tedit development and design discussion:

          @Br1 True, not having to swipe a note to open it is something I would prefer too.

          Nevertheless, swiping the app away will remain possible. What happens to the note being edited then? Are the unsaved changes lost?

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

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

            @arubislander said in tedit development and design discussion:

            @danfro said in tedit development and design discussion:

            @Br1 True, not having to swipe a note to open it is something I would prefer too.

            Nevertheless, swiping the app away will remain possible. What happens to the note being edited then? Are the unsaved changes lost?

            Yes, unsaved changes are lost on swipe&close of the app.

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

              @danfro Sorry, but I'm not on gitlab. So I can't open a feature request.

              Therefore I appreciate your survey here. πŸ‘

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

                To open a note I would also prefer a tap instead of a swipe.

                Having all notes on the initial screen would be a good option.

                That unsaved changes are lost on swipe&close of the app is okay for me, because you get a red warning.

                I like your idea of a toolbar. If there would be a save-button you may use two different colors for it. E.g. grey button (inactive) = note is already saved or black botton (active) = note is unsaved.

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

                  Hi, I got enough done to release a new version of tedit. Could you please test before I do release? The build can be grabbed from the latest pipeline here (https://gitlab.com/Danfro/tedit/-/pipelines).

                  Changelog is:
                  v.3.2.0

                  • fixed: #1 notes page background color is now persistent
                  • added: #5 clear clipboard option
                  • added: infomessage, when trying to paste from clibpoard and clipboard is empty
                  • improved: edit area now resizes height when OSK is visible
                  • improved: all pages follow system theme now, except custom main pages background
                  • improved: settings page design, font size setting moved up
                  • updated: translations, many thanks to all translators!

                  (I know, not all features discussed above are included yet :smirking_face: .)

                  D Josele13J 2 Replies Last reply Reply Quote 0
                  • D Offline
                    domubpkm @danfro
                    last edited by

                    @danfro Everything seems ok for this version. Thanks again.

                    Curious to test a read-only mode to see how the UI reacts: because what has always bothered me a little in Tedit is, when scrolling through long texts with the swipe, the non-voluntary selection of text randomly which randomly too causes the message 'cut copy paste' to appear, which interferes with reading. Involuntary modifications of texts, without consequences if there is no recording, can be made. I always thought that scrolling text and having a clean visualization needed improvement in tedit if possible.

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

                      @danfro
                      I think I have installed from the right place, now tedit is perfect, when you change the wallpaper to black in the menu and in the options the chosen wallpaper colours stay πŸ‘
                      I like it better now, with these modifications 😍
                      Maybe the share note option is missing, I think that putting the share icon inside the slide to open note is a viable solution,
                      Thank you...

                      Xiaomi Redmi Note 9 pro
                      Oneplus Nord 100
                      Xiaomi Redmi Note 7
                      Nexus 5
                      Bq E4.5 Ubuntu edition .... is dead

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

                        @Josele13 Thanks for the feedback. Share note is on my todo list for the next release.

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

                          Actually I consider to remove the word suggestion option in a future version.

                          If nothing is set, it is using whatever is set in system settings. I don't see much point in overriding the system wide setting within the app. Who does not want word suggestion will have it turned off in system settings.

                          It just fills the settings page. Also only word suggestion is turned off, not spellchecking. So it might confuse users that still something is suggested even with the option turned off.

                          Or do I miss any benefit to make it worth to keep that setting?

                          D Josele13J 2 Replies Last reply Reply Quote 0
                          • D Offline
                            domubpkm @danfro
                            last edited by

                            @danfro Personally, I've never used word suggestion in tedit. Just activating through the system settings seems enough to me.

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

                              @danfro I never use the spellchecker and neither do the word suggestions, you can remove it perfectly well, whoever wants to use word suggestions should use the system one.

                              Regards...

                              Xiaomi Redmi Note 9 pro
                              Oneplus Nord 100
                              Xiaomi Redmi Note 7
                              Nexus 5
                              Bq E4.5 Ubuntu edition .... is dead

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

                                @Josele13 and @domubpkm thanks for the quick feedback. I removed it in the release I did a few minutes ago. Done is done. πŸ™‚

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

                                  @danfro For scrolling long texts, I would see two scrolling buttons (text down or up) if it's possible which would allow a minimum use of the swipe Just an idea like that. If you think yes, i will make a feature request.

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

                                    @domubpkm Do you mean a "jump to top" and "jump to bottom" button? That I can understand for long texts. From my usage I don't quite understand, how would pressing a button be quicker/better than swiping on a mobile device? Or are you talking about a tablet?

                                    This is going to be tricky anyway, since the current swipe functionality is "built in" in TextArea. So likely going to be tricky.

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

                                      @danfro said in tedit development and design discussion:

                                      Do you mean a "jump to top" and "jump to bottom" button?

                                      No, I apologize for any vagueness. The purpose of the buttons would be to gradually scroll the text either towards the beginning or towards the end.

                                      ikozI danfroD 2 Replies Last reply Reply Quote 0
                                      • ikozI Offline
                                        ikoz @domubpkm
                                        last edited by

                                        @domubpkm You can already do that with the keyboard. Swipe to top and press the scroll keys which replace the keyboard keys, there is also something like a trackpad.

                                        May the source be with you

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

                                          @domubpkm My answer wasn't clear enough too. But you confirmed my thoughts. My question tried to address this usecase with two buttons for gradually scrolling. How would that be better than swiping?

                                          A button would either scroll line by line for fine placment. That I would think to be tedious to scroll large areas. But if scrolling several lines at once (how many?) fine placement would not be possible.

                                          I would think a swipe does allow much quicker and more precise handling here. But since you ask for those buttons, maybe I am missing something. Would you want them for large files and jumping several (many) lines at once? Or for fine jumping line by line?

                                          And I tried the workaround suggested by @ikoz , that works for jumping to top and bottom. The swipe is less nice than the swipe implemented in TextArea in my opinion.

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

                                            @danfro Forget πŸ™‚ . My goal is to find a mechanism so that the text is not polluted when scrolling. I have nothing against swiping.
                                            screenshot20240115_202653279.png

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

                                              @domubpkm Ah, thanks, now I understand what your goal is. πŸ‘ I will need to think up a mechanism to control the edit area. Another idea is to have a swipe area besides the edit area. But not sure yet what will be technically possible and what will work in terms of UI. Please file an feature request or issue for that, so I don't forget. But this might take a while to get sorted...

                                              D 1 Reply Last reply Reply Quote 1
                                              • First post
                                                Last post