Pro Beta 6.0 rc1 - paramter lock issue / Preset(library template) issue

Not sure if misunderstanding but thought would create a staging site for testing upgrade of a large site converting things to parameters and seeing how components are different to Global blocks. Seem to have an issue straight away with the lock parameter from blog is my understanding correct that should be able to setup a parameters then lock the section and only be able to edit the parameter but seems when locking nothing is editable which is different from your blog.

Next is understanding how presets seem to be no longer a thing and instead saving everything as templates. Seem to have issues with this tried saving a section with a parameter on it as a template to re-use on a different page but doesn’t seem to be saving correctly. Also not sure how this works for individual elements anymore such as headline and text, sliders.

Again looks like lots of good changes and may just be misunderstanding use or maybe not all features ready for testing or may be our server setup having compatibility issues that I am unaware of so happy to answer any follow-up questions to provide details on different aspect. Or provide access to staging site.

1 Like

We’ve been making some changes on how locking works correct. Currently we’ve been leaning towards a photoshop approach where you can do nearly nothing when something is locked. I can see how locking parameters would cause some headaches. Does unlocking to change parameters then locking feel nice to you and anyone else that wants to chime in? What is your ideal functionality of locking elements?
When you save a template you are losing parameter data? Trying to understand what you mean by not saving correctly.
We do have a concept of prefabs now, however I don’t think there is docs on that yet. I believe that is the new preset system, I’ll have to talk with Kory though.
Thanks for the feedback, have a great day.

Hi Charlie,

Thanks about explaining the lock feature. I thought the lock feature so only allowing the edit of certain parameters would be great for creating a simpler editing experience for say clients who just need to make text and images which especially if you create grid layout less techy clients are more prone to making mistakes or being confused how to edits things. Or colours that are used in multiple places within a section that you want to change with one parameter making this easier for clients. Reason when saw earlier videos thought it was great idea. If possible to have both solutions sounds like would be great for people wanting the lock feature like photoshop, but being rc guess might be too late for that type of change.

For the preset/template saving this is separate to the parameters aspect. So I see how the section templates works fine for finding under the new template section search. But if you click on for example a section and click options and then have option to ‘save template’ which since no prefab option here assume is replacing the save presets.


But it seems this saves fine but cannot be loaded under section templates search yet I can find it under manage my library link at the bottom of ‘section templates’ but from there you cannot add it. Also with presets you used to be able just search with the normal add new element search and it would bring up presets but now seems neither of these ways of saving templates can be found by standard element search now. Nor is there a way to overide current say section with a saved template like how presets worked. Both these methods of loading presets is how I often used wonder if just not implemented again yet.

Thanks for the feedback!
I’ll have to get with Kory and see if we can get that template sections in the elements list. I’m afraid it might end up creating a list too large, but we’ll see our options.
We will definitely fix the issue where the template sections only show up in the template manager modal and not the templates tab. I think because they were created from components in these examples it causes it not to show up in that templates tab.
When you click “Library Top Level” button in the component settings does this fix any of your issues?

I must admit I am confused by the Prefab option. It would be helpful from a beta perspective to know what some of these options do?

I have started to play components in ernest recently and while I like them a lot, I really do miss the simplicity of apply preset style to an existing element

2 Likes

Thanks for adding this to discussion.

When you say click “Library Top Level” I am not sure where this is anymore I thought this was just replaced with the templates tab that has Library as a sub level, which is where I was looking and not able to find even templates saved on page after update. I see presets I saved before update coming up hence seems like potentially a bug. Screenshot for reference where I am looking and don’t think the scroll part being to big would be an issue since you have a search function for this which means can start typing to find it which is how anyone with a lot of saves would look most of the time I would expect.

“Library Top Level” is in the settings popup window from the inspector “gear” button. It is sorta replaced with the template sections, but sometimes it can be useful. I’ll be taking a look at the issue where these template sections aren’t showing up where they need to sometime this week.

@scotbaston if this helps, we added a context menu in the element list tab. Find your template and right click to see the copy action. You can use this in the live preview and in the outline to paste or paste styles.

Oh excellent about the right click copy. I requested that from Kory awhile back but didn’t know it had been implemented.

Still no idea what Prefab does though :wink:

Found this from Kory:

When you make a Component export a “prefab,” it basically means that the exact way you have it styled in the Component Builder is how it will be output when you drag it in. It also means that any children you have nested within your Component will come out looking exactly like that as well. This is a very powerful way to nest Components within Components and have them come out in a pre-styled fashion. It’s almost like a gray area between presets and Components because you get all the performance, usability, and markup gains of Components, but it’s basically like taking a snapshot of that Component at a moment in time.

The main thing to remember is that a prefab Component will not update globally like a standard Component if you change a core value on it (e.g. if your Primary Button had a padding of 1em and you change it on a Component to 2em , every instance of that Component will now use 2em ). If your Component is a prefab, the moment you drag it into the builder it is using those default values and is locked into that moment in time.

2 Likes

Um are you talking about my earlier screenshot saving templates. I had already tried this. If not talking about that then are you able to provide a screenshot as I cannot see any other reference to templates apart from save template under element inspector options.

Okay just double checking. We’ll get those template sections showing up properly. Appreciate the feedback.