text gets glitchy and weird on blocks
-

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

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?

There could be stuff like color, url, email address, etc -

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

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?

There could be stuff like color, url, email address, etcThe 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.
-
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.
@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
-
@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
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?
-
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?
@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
-
@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
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?
-
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?
@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
-
@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
Right. For now, the programmer needs to validate the format of the color string. We can look into expanding the data types.
-
Right. For now, the programmer needs to validate the format of the color string. We can look into expanding the data types.
@info-creaticode Got it
-
Right. For now, the programmer needs to validate the format of the color string. We can look into expanding the data types.
@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! -
@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!Great.
-
:Me secretively controlling a government controlled agency:
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