Welcome to "What the Wix??" where we bring you the latest and greatest news, updates, tips and tricks for the Wix Ecosystem.
How it works -
There are 5 sections in each edition covering gradually more complex topics.
No Code
Test sites on Wix Studio
This is one I happened upon by mistake and haven't managed to replicate again so it must be an experiment. What you see below is the url of a test site generated in Wix Studio.
There are a few things to note here:
One which you can't see here is that as soon as I generated the test site, I was taken directly to it in a new tab (vs. being presented with a url to optionally follow).
Second and most important - the ?siteRevision=3947 (or some other number of site version) query param is gone and replaced by ?rc=test-site. Not sure what 'rc' is referring to but critically there is no number which seems to indicate that the test URL will remain static. This is huge because until now every time you published a new test site it would break the previous one.
Honorable Mention - CMS updates
In a recent 'Studio hours' a few cool new CMS features were introduced such as color fields, site role based permissions, and automatic redirects for dynamic pages.
Low Code
I knew I was right to hate this - event handlers
In the past, when you added event handlers to Wix elements through the side panel it would add it in a unique function-like format like such:
//example of a 'static' event handler
export function myButton_click(event) {
console.log("Button clicked");
// Additional code here
}
These existed on the bottom of the code body outside the onReady and made code less logical and readable. Wix has now revised the approach so that when you add an event handler from the panel it adds a 'dynamic' handler just as you would write it if you were typing it out yourself.
You can even migrate from the old 'static' to the new 'dynamic' (or so it seems).
This only leaves us with the question - do we even really need this event handlers panel? Could the space be used for something else?
Code Mode
Let's dive deep into Wix eCom
We have been covering eCom a lot in the newsletters and on the channel. This is largely due to huge changes Wix has been making in the way Ecommerce works and interconnects on the platform.
About two weeks ago Wix had a webinar on the topic where they invited people from the team to dive deep into the topic and present an overview and peek behind the scenes at the Wix eCom structure.
Next week on our livestream, we will also take the leap by watching parts of the webinar together and discussing how it connects with the documentation.
Soo Code
Wix App Docs AI Assistant
Wix has introduced a new AI assistant for its Apps documentation.
It wasn't very good at basic math but it did do an excellent job explaining how to choose between the CLI and Wix Blocks when building an app.
If we could get something like this in the Velo reference I think it could give a huge boost in accessibility of the documentation.
Also worth mentioning - Blocks Update
Panels in Wix Blocks now connect without hard manual coding labor!
Read more here.
Wow Code
I don't have much to share in the Wow Code section this month but I would like to introduce an idea for a new section - community member highlight!
Yes, we would like to feature you and your project.
If you are interested please send us an email to newsletter@thewixwiz.com with some details about you, your project and which Wix Wiz videos you used to guide you along the way.
It's a wrap!
Thanks for reading! If you are thirsty for more, you can join us for the What the Wix?? Livestream next week where we will be chatting about these updates and taking questions from the community.
Not subscribed to the newsletter yet?? Please click this not suspicious link: https://forms.wix.com/f/7222698448494002339
If you found any mistakes in this article or want to share suggestions for the next edition, please don't hesitate to reach out to newsletter@thewixwiz.com.
Commentaires