Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. text gets glitchy and weird on blocks

text gets glitchy and weird on blocks

Scheduled Pinned Locked Moved Feedback
bug
12 Posts 3 Posters 3.0k Views 1 Watching
  • 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.
  • JaecadeJnightJ Offline
    JaecadeJnightJ Offline
    JaecadeJnight
    Mod Helper
    wrote on last edited by
    #1

    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>

    CreatiCodeI 1 Reply Last reply
    0
    • JaecadeJnightJ JaecadeJnight

      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

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by
      #2

      @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.

      JaecadeJnightJ 1 Reply Last reply
      1
      • CreatiCodeI CreatiCode

        @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.

        JaecadeJnightJ Offline
        JaecadeJnightJ Offline
        JaecadeJnight
        Mod Helper
        wrote on last edited by
        #3

        @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>

        CreatiCodeI 1 Reply Last reply
        0
        • JaecadeJnightJ JaecadeJnight

          @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

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @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?

          JaecadeJnightJ 1 Reply Last reply
          1
          • CreatiCodeI CreatiCode

            @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?

            JaecadeJnightJ Offline
            JaecadeJnightJ Offline
            JaecadeJnight
            Mod Helper
            wrote on last edited by
            #5

            @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>

            CreatiCodeI 1 Reply Last reply
            0
            • JaecadeJnightJ JaecadeJnight

              @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

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #6

              @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?

              JaecadeJnightJ 1 Reply Last reply
              1
              • CreatiCodeI CreatiCode

                @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?

                JaecadeJnightJ Offline
                JaecadeJnightJ Offline
                JaecadeJnight
                Mod Helper
                wrote on last edited by
                #7

                @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>

                CreatiCodeI 1 Reply Last reply
                0
                • JaecadeJnightJ JaecadeJnight

                  @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

                  CreatiCodeI Offline
                  CreatiCodeI Offline
                  CreatiCode
                  wrote on last edited by
                  #8

                  @jeffreyrb03-gmail

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

                  JaecadeJnightJ 2 Replies Last reply
                  1
                  • CreatiCodeI CreatiCode

                    @jeffreyrb03-gmail

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

                    JaecadeJnightJ Offline
                    JaecadeJnightJ Offline
                    JaecadeJnight
                    Mod Helper
                    wrote on last edited by
                    #9

                    @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
                    0
                    • CreatiCodeI CreatiCode

                      @jeffreyrb03-gmail

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

                      JaecadeJnightJ Offline
                      JaecadeJnightJ Offline
                      JaecadeJnight
                      Mod Helper
                      wrote on last edited by
                      #10

                      @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>

                      CreatiCodeI 1 Reply Last reply
                      0
                      • JaecadeJnightJ JaecadeJnight

                        @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!

                        CreatiCodeI Offline
                        CreatiCodeI Offline
                        CreatiCode
                        wrote on last edited by
                        #11

                        @jeffreyrb03-gmail

                        Great.

                        1 Reply Last reply
                        0
                        • TheNicknameGovT Offline
                          TheNicknameGovT Offline
                          TheNicknameGov
                          trusted helpers
                          wrote on last edited by
                          #12

                          :Me secretively controlling a government controlled agency:

                          Please help all my projects are 3000+ blocks

                          1 Reply Last reply
                          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
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • CreatiCode