[Early access beta] New expression composer for more intuitive logic!

To answer your questions:

  • Yes, the additional “More”'s are intended! This is because we’ve made “parentheses” native to Bubble’s composer; you now have more expressivity in approaching your logic.
  • For the faded text, that seems to be a bug – could you submit a bug report, so we can repro and investigate further?
  • We currently don’t allow the ability to select parts of expressions, so in the instance you’d like to flip two sides of an “or” statement, you’d reconstruct each part. Since these result in the equivalent expression, what is the use case for switching the positions of these sub-expressions?
  • Yes, the corners do take the place of parentheses in this new UI. We heard overwhelming feedback that the parentheses were too overwhelming in their visibility, so we went for a more implicit look. Hovering over different parts of the expression also reveal how they’re part of their own sub-expressions, as well as how they form the larger expression as a whole.
  • We have a ticket to implement hovering over atoms to show the data type – that will be in the GA feature.

The image I posted is not a good example, but basically for performance (and WU) optimization per this enhancement regarding the way boolean operations are evaluated.

:+1:

3 Likes

I will get used to the corners, I’m sure, but I absolutely beg to differ with that feedback. The visual of the parentheses made perfect sense because they are, you know, actual parentheses. Tiny little corners that are hard to see are not parentheses… or at least they weren’t until today. Oh, well… time to start embracing tiny little corners (or TLCs, as I am going to call them) in the brave new world of Bubble expressions!

28 Likes

Yeah, and when there’s more than one dangling off the end of an expression, they look a bit forlorn - puny forlorn corners (or PFCs as I’m calling them). :smirk:

1 Like

Can’t tell you how not excited I am to explore this!

5 Likes

Yea keep talking, in the year 2198 when we can return values via client side action lets see how not excited you are :crazy_face:

8 Likes

Oh no! I loved the parenthesis!!!

I turned on the experimental feature and now my app won’t load at all. I can’t even go into the settings to turn it off :sob:

UPDATE
Had to use the URL Parameter that loads the app without the issue tracker so that I could get in my app and deactivate the experimental feature.

This sent me from 0 to 162 errors.

Sorry @grace.hong, I’d love to provide a bug report with error screenshots and specific information, but I can’t access my app with the feature on :frowning: Might have to submit a vague report and let your team do the troubleshooting.

I have the same bug that when I turn on the new feature in my app, I get 43 issues:
image

nice effort here, but i actually preferred the parentheses. only thing that it needed was better handling of replacing pieces of expressions. the general behavior is after the first logical expression if you try to swap out a variable later it basically clears everything out after it.

If you go this route with corners, would be great to let us choose whether we want “corners” or “parens”. my two cents

6 Likes

@grace.hong… if my post gets more likes than your original post, will you change the TLCs back to parentheses? :slight_smile:

Okay, I kid… well, somewhat. The more I think about and look at those corners, the more confused I get as to how it’s a good idea to change such a well-understood paradigm like parentheses denoting order of operations. If folks are overwhelmed with their visibility (whatever that means), couldn’t you have just “toned them down” a bit? I honestly think new (and even not-so-new) Bubblers are going to struggle to understand what the corners mean (or even realize they are there in the first place), and again, I completely disagree with the overwhelming feedback you got.

Anyway, just my two cents, so take it for what it’s worth.

Edit: if you combine the likes on my other post with this post, I am winning. :wink:

27 Likes

Yeah… I thought the experimental parenthesis feature was almost perfect (once you got your head around how it worked)… easy to add expressions and operators in the right place, simple to see at a glance which parts of the expressions were grouped together, etc.

All it needed was the ability to change internal parts of an expression without losing the whole thing.

I cant make any sense of this new implementation (admittedly I haven’t spent much time with it) - I can’t work out what it’s meant to show or how to know where your and/or operators are being placed, and it’s very hard to even see the tiny little corners (I seem to always have more right corners than left ones, or a load of extra corners in the middle)… and that’s aside from all the bugs (like it just doesn’t work at all as soon as an Option Set is introduced).

I was hoping the previous parenthesis feature would be taken out of beta and released as a full feature, with some improvements for handling in-expression editing.

Maybe, once all the bugs are fixed, and I’ve spent enough time with it it will start to make sense…

8 Likes

I thought it was a nice upgrade, but please put the parentheses back it’s so much easier to read than those tiny little corners, you can hardly see what is grouped together

13 Likes

Same here…
image

I think it’s great improvement on previous version, especially on larger expressions it gets very confusing.

However could we please, please, please start working with increased sizes. I mean most of us, develop on machines (not mobile, minimum space constrains).

image

These corners are so little and high resolution its hard to see, so is it possible to increase the size somehow?

2 Likes

I like the underline, I don’t need the parenthesis but the little hooks are pretty small.

I also think the update has effected the styles tab. Particularly when editing an input style the Layout and the Appearance Tab are not showing any information when selected. The conditional tab is ok

@mikeloc Looking at @robertas screenshot, I have absolutely no idea which expressions are grouped without )( symbols. Like my caveman brain can’t even comprehend it :laughing:

7 Likes

You’re not alone, how did anyone think this was a good idea :laughing: The lines underneath I can live with but the strange brackets are impossible to work around.

Heck if they’d made it so each ‘bracketed’ section was a slightly different colour I’d prefer that even if I was colourblind…

Though, it’s beta, so hopefully it’ll change. Being able to edit mid-expression is of course a good feature.

8 Likes

Yup, @tylerboodman, I just don’t get it. Being critical of Bubble isn’t my thing (even when they deserve it), but this particular design decision is just bad and needs to be reversed… in my humble opinion, of course. :slight_smile:

8 Likes

When I kept hearing “new expression composer” I pictured like colored groups we can drag and drop, with ends on each side indicating their compatible datatype it has to “connect to”? :man_shrugging: Just something more modular/grouped.

7 Likes

I think this is right, but then there are leftover bracketty things that wouldn’t make sense to add brackets over?? Like the first and last bracket, what purpose do they serve? To show that the entire expression is part of… the entire expression?

4 Likes