[New feature] You can now override settings inherited from a Style

Good catch. Do you mind filing a bug report for this one?

Sure thing Nick

Team Bubble has a big problem. all the ids (expose ids) that I use in the functions stopped working. the site is completely wrong and I can’t solve it any other way without this option.

“Expose the option to add an ID attribute to HTML elements” doesn’t work anymore

@anon76235792 I have the exact same issue here. I already filled in a bug report. Hope they solve this quickly.

You folks might want to jump in over here… trying to funnel it all to one place.

thanks @mikeloc

@nick.carroll , are these changes affecting the plugins in any way? because here everything has stopped.

they should not be affecting plugins. What issues are you noticing?

I solved it by updating to 22 and re-enabling HTML in the settings

Hey @nick.carroll,

Was it intentional to make the style selection lighter when there is a style attribute assigned?

this screenshot is of a style attribute attached


Screenshot 2023-04-24 at 14.31.17

this is of no style attribute attached


It just seems so light in contrast

anyone else with problems on conditionals?

I have a style with a black font which font color changes when current users dark style is yes.
When overriding a style the conditionals are not working anymore.

When detaching style everything works as expected.

Yes, this was intentional. The contrast ratios aren’t great right now, but this is something we will address soonish. In the meantime, we wanted to introduce a model for overrides that would scale with our future plans for the editor :slight_smile:

Have you filed a bug report for this yet?

I don’t understand why you couldn’t make the Style Overrides like Conditionals and add them in as used rather than just a slab of mostly irrelevant data?

There is so much inconsistency with UI/UX.

Feature = OK
Implementation = Bubble Norm
Relative Use = I guess it replaces the ‘When Visible’ work around
More Important than Data Residency = Nowhere close!

Don’t know if its the right place to share it, but:

When clicking “Detach style”, the conditionals are added to the END of the conditionals of the element, but when applying style to an element, the conditionals are added to the BEGINNING of the conditionals. Since bubble processes conditions in sequence, I have to change the entire sequence again each time when detaching a style to have the same result.

Also I found it, that when having a condition like “current users xy → background color = dynamic color” and on the element on the page another “current users xy → top margin = xy” it seems that the condition from the applied style is not transfered to the element. (I will submit a bug for this, but the first part isnt really a bug, but could be a time saver)

Hi @nick.carroll thanks for this override feature.

I use styles as much as possible because I understand that using styles helps substantially with performance.

My question is, if I override a single setting of the style on an element, is all of the performance benefit of the style lost on that element? Or, is most of the performance benefit still retained on that element?

Relatedly, when I use the “Optimize application” feature, it appears that many of the style overrides I have implemented are being flagged. If I then proceed with optimization, those elements revert back to the original style (which I don’t want) so I have to uncheck them to remain un-optimized. Is this behavior intentional?

Thank you

Overriding a setting on a style should not reduce the performance benefit of using a style.

Thanks for flagging the issue with the optimize application feature & style overrides. I’ll check in with the team to see if its actually intended behavior.

Hi @nick.carroll

Following up on our March conversation, can you please confirm if this is intended behavior?

My Optimize Application window now has tens of thousands of “unused element property” style overrides being flagged, see screenshot:

This is problematic because whenever I delete an option set value, it is put at the BOTTOM of this gigantic list. My browser can barely load this huge list, then I have to scroll scroll scroll etc etc etc until I can finally get to the bottom, to and can check the option sets to delete

Thanks for any help