Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    text gets glitchy and weird on blocks

    Feedback
    bug
    3
    12
    655
    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.
    • jeffreyrb03-gmail
      JaecadeJnight Mod Helper last edited by

      b5461c22-8ff7-43be-8791-288d8e312025-image.png
      I’m not sure what an easy way is to reproduce this, but I have a normal sized monitor,I have the page zoomed in at 90%, using Chrome, and I just zoomed out and in on my workspace.

      There’s also this one which also exists in normal Scratch where the entire screen will shift
      56c00046-d03c-4ec8-96bd-11fa93a36b30-image.png
      What if to fix this, long text inputs are shortened with a bold and colored elipsis (…) at the end to make it easier for the user to know if its too long or not, and when you click the string, a little basic text editor (with text wrapping enabled) will pop up and allow you to edit the string?

      And what if for databases, there are more inputs than the 3 already allowed?
      88d072d9-cc64-4fb0-bbd0-e45b90ddf234-image.png
      There could be stuff like color, url, email address, etc

      #LLJW
      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

      info-creaticode 1 Reply Last reply Reply Quote 0
      • info-creaticode
        CreatiCode @jeffreyrb03-gmail last edited by

        @jeffreyrb03-gmail

        The input box is indeed a bit hard to use for long input. As you noted, it is inherited from MIT Scratch. We will research how to improve it.

        For database, all the types you mentioned can be supported using the “Text” type. Usually databases do not have these specific data types, and your program needs to ensure the user input is in the correct format before you store them as text.

        jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
        • jeffreyrb03-gmail
          JaecadeJnight Mod Helper @info-creaticode last edited by

          @info-creaticode Hm ok, got it. For databases, that’s true but it just seems like adding more types (at least color) would make it so a program has to do less validation and make it easier to code something

          #LLJW
          <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

          info-creaticode 1 Reply Last reply Reply Quote 0
          • info-creaticode
            CreatiCode @jeffreyrb03-gmail last edited by

            @jeffreyrb03-gmail

            For color, if your input is a color picker, it should give you a value in the HEX format like “#FF00FFFF”, which is already a string. What kind of validation are you considering?

            jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
            • jeffreyrb03-gmail
              JaecadeJnight Mod Helper @info-creaticode last edited by

              @info-creaticode By validation, I just mean having the system automatically validate it for you, like if you try to put a string in a number column it won’t work because of data type doesn’t match the required data type. Basically so instead of you having to make a validation algorithm/code it’ll just do it for you. It’s not that much of a big deal (since I could just use a color picker and additionally check that its value is a hex color with some code) but that was just an idea I thought of

              #LLJW
              <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

              info-creaticode 1 Reply Last reply Reply Quote 0
              • info-creaticode
                CreatiCode @jeffreyrb03-gmail last edited by

                @jeffreyrb03-gmail

                This highly depends on the app you are building. Usually we do not let users to input any value into a database collection directly, right? What kind of user experience are you trying to create?

                jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                • jeffreyrb03-gmail
                  JaecadeJnight Mod Helper @info-creaticode last edited by

                  @info-creaticode I don’t actually have a need for extra data types but I just thought it’d be a cool idea. And I mean’t like via the projects’ inputs, like a textbox and a button to submit a value and that value would be rejected by the database if it was like a string trying to be put into a number column

                  #LLJW
                  <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                  info-creaticode 1 Reply Last reply Reply Quote 0
                  • info-creaticode
                    CreatiCode @jeffreyrb03-gmail last edited by

                    @jeffreyrb03-gmail

                    Right. For now, the programmer needs to validate the format of the color string. We can look into expanding the data types.

                    jeffreyrb03-gmail 2 Replies Last reply Reply Quote 1
                    • jeffreyrb03-gmail
                      JaecadeJnight Mod Helper @info-creaticode last edited by

                      @info-creaticode Got it

                      #LLJW
                      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                      1 Reply Last reply Reply Quote 0
                      • jeffreyrb03-gmail
                        JaecadeJnight Mod Helper @info-creaticode last edited by

                        @info-creaticode Also, I’m taking inspiration from this tutorial
                        https://www.forum.creaticode.com/topic/1027/chatgpt-ai-enhance-chatgpt-to-do-math-calculations-difficulty-3
                        I’m enhancing ChatGPT to be able to do math and have current updated data!

                        #LLJW
                        <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                        info-creaticode 1 Reply Last reply Reply Quote 0
                        • info-creaticode
                          CreatiCode @jeffreyrb03-gmail last edited by

                          @jeffreyrb03-gmail

                          Great.

                          1 Reply Last reply Reply Quote 0
                          • The_True_Odst
                            The True ODST Best Forum Helpers last edited by

                            :Me secretively controlling a government controlled agency:

                            ODST: Orbital Drop Ship Trooper
                            (Halo Reference)

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