Closed asolove closed 4 months ago
@asolove aside from the bug I reported via email and the error highlighting improvements, I can't find anything else to complain about! I suspect we'll get an influx of such items after 3/21, once the Pyreteers start digging in again...
Yeah, I was similarly expecting to find more, but haven't yet, so let's just get this out.
@jpolitz this small change can merge to make a slight improvement to blocks on horizon
Looks good!
I know this is closed, but had a few comments
I 100% agree that the distinction between the string value boxes (rectangles) and number-value boxes (slightly rounded rectangles) doesn't seem clear enough to me. I make this mistake a lot. The Snap UI was designed for a language where you are almost always using literal strings or numbers, it's obvious from context which is right, and you're rarely using variables or nesting another computation to generate the value. I think I'd prefer a single box type that represents "a Pyret value literal", where digits become numbers and strings have to be in quotation marks.
Yep, this is very annoying and I have a fix planned. (Today, we listen to a Snap event to run codegen when an edit operation finishes. Because of async fun, that event fires a few ticks after the blur event, which is fired only just before the event on our button. The fix is to just forcibly re-run codegen, possibly waiting a few ticks, when the run button is pressed.)
Nope, there are two separate issues: in the delete column case, Snap wasn't firing an event at all after the delete. (That is now fixed.) This is now a separate but related issue where if you're editing a value in the Snap text boxes, it only takes effect after you move the cursor somewhere else. So if you click the run button right while in the middle of an edit, we don't get the edits.
@asolove got it. Different issues.
Did you say the first one is now fixed? Seems like it's still an issue for me.
@schanzer the snap update was in the same PR as error highlighting, and appears not to have been deployed.
Now that the core Blocks demo is mostly working on Horizon, I expect a long list of tiny nitpicks to the block definitions as we try things out. Creating this as a tracking issue to get them cleaned up.
image-scatter-plot
block to actually call that function instead ofscatter-plot
.Please send requests!