Rolling out improvements to Velo sites rendering

Apologies - I tagged this onto a thread above which was concerning the same problem - here goes again

Code below works in preview mode from dev editor but not on live. If you click through site as follows you’ll see issue.

  1. got to www.recognex.co.uk
  2. select ‘Resource Centre’ from menu
  3. select Pink ‘Open Finance’ Box
  4. select ‘WHAT IS OPEN BANKING?’
    5). select ‘Open Banking User Journeys’
    6). select ‘What are the Payment Initiation (PISP) journeys as identified by the UK’s Open Banking Implementation Entity’
  5. ‘Show More Info’ pink button at bottom
  6. Click ‘Open Banking International Payments’ and you’ll get a blank screen
  7. Screen shot attached for what you get in Dev preview mode. All permissions are fine on collection data (I think!!!)

Image of correct UI display is DEV is below.


The else statement runs as anticipated in Dev Preview mode but not on live. It feels like the If condition … if ($item( “#InfoLinksButton” ).hidden === true ) … works in Dev but not in Live as the button is incorrectly showing as hidden === true in live when it should show false

$w( “#table1” ).onCellSelect ( async (event, $w) => {
console.log( "The value from cell select was " + event.cellData);

let varSelectedTitle = event.cellData;
let $item = $w.at(event.context);
let clickedItemData = $item( “#FAQParentDataset” ).getCurrentItem();
console.log( "InfoLink button hidden is " ,$item( “#InfoLinksButton” ).hidden)
/
if ($item( “#InfoLinksButton” ).hidden === true ){

    setParentLevel(clickedItemData.title); 
      filter( "title" ,event.cellData); 
      $w( '#anchor1' ).scrollTo(); 
      tableresetter(); 

} 

else {
console.log( “InfoLinks click code was reached” );
queryInfoLinks(varSelectedTitle, “MoreDetail” )
.then( (items) => {
console.log( “DB Query Result - " + JSON.stringify(items));
if (items.length !== 0 ){
$item( “#table1” ).collapse();
$item( “#table1” ).hide();
console.log( “The infolinks query returned” + items.length + " records” );
$item( “#buttonShowLinkInfo” ).show();
$item( “#buttonShowLinkInfo” ).label = “-” ;
$item( “#textLinkDescription” ).text = items[ 0 ].title;
$item( “#textLinkDescription” ).expand();
$item( “#textLinkDescription” ).show();
$item( “#textLinkSample” ).text = items[ 0 ].linkSpecificText;
$item( “#textLinkSample” ).expand();
$item( “#textLinkSample” ).show();
console.log(items[ 0 ].link);
$item( “#textLinkURL” ).html = ‘

’ + items[ 0 ].link + ‘

’ ;
$item( “#textLinkURL” ).expand();
$item( “#textLinkURL” ).show();
$item( “#InfoLinksButton” ).disable();
$item( “#InfoLinksButton” ).hide();
}
});

}
});

@shaharn would really appreciate if you could take a look please,

I ran a quick test to see what happened when I used a session variable in the IF statement and tried calling show() for a hidden text box to see if that would work…it didn’t…once again - the page rendered correctly in Dev and didn’t render in live;

@Shahar Nahum
They still haven’t been able to do anything even though I told them it’s an issue with duplicated elements retaining onClick() handlers.
Also is there any way to allow users to switch between the new improvements and the original rendering? My site is still a work in progress and the original rendering is a bit slow at certain actions, but was extremely fast with the new improvements.
Lightboxes in general seem to be extremely slow on mobile when opened through code. Even an empty lightbox seems to take several seconds to open. I want to see if things like these are improved in the new improvements. Switching between the two methods of rendering, will allow me make sure my code is optimized and figure out if any performance issues I am having is due to rendering or my code.

@briapril30 This starts to make sense as to why my OnClick even isn’t firing properly now on one of my pages. It’s broken a major part of the functionality

@eugene-m I would love to know answer as my site has magically been broken by this change

Hi guys, another issue, however not really consistent.
I have 2 columns on my home page. Column 1 is on the left and column 2 is on the right. Sometimes, when I refresh my page, it looks like column 2 collapses and expands quickly, while I was not doing that on my code.

Hey @eugene-m !

I can’t recreate the issues you described and demonstrated on https://www.crzlawyers.com/
Do you mind checking if it was fixed for you as well?

@doron-alkalay Hi! Thank you. The site was fixed within an hour after my message was posted.

@jon83405 Hello. Sorry for the long waiting.
I checked your site and it seems that the issue there is not related to the new Wix updates.

However, there is a bug with collapsing mechanism on your site. I already reported it to our development team to fix.

I’d suggest to try the following workaround for now:

  1. Go to your page in mobile Editor

  2. Select container strip called “propertyStrip”

  3. Hide/Unhide the whole strip

  4. Make sure that the page design is still the same as before hide.

  5. Go to preview and see if the gap has disappeared

Please let me know if this works for you
Regards, Alex

Hey @mike51361 we’re currently looking into the issue.
Will let you know as soon as we have an update.

UPDATE: 1st problem solved by disconnecting dataset, then connect again…
Please help solve 2nd problem of fitMode, and the other bugs in the follow up comments under this thread

Hello Wix Team,

You helped me fixed another website before, now I have another website having a similar problem: Live site is not rendered the same as Preview site

1st problem:
Preview mode: The texts at tab items exist

Live mode: The texts at tab item disappeared

I am not sure which rendering code caused the problem this time. I set onclick
the text to change some html property. Not sure if that’s the reason. You can check the code at website. In any case, the inspect console shows the following error (which is similar to previous website with rendering error):

The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Also 2nd problem is that fitMode is not showing fixedWidth, which is the similar problem as another website.

Could you kindly help check it out. Thank you😕

Editor link: https://editor.wix.com/html/editor/web/renderer/edit/237bdd58-2ec9-4b54-b2db-9e8522e80935?metaSiteId=e614a8cc-a04f-4fe8-b004-0b4a6d865051&editorSessionId=c3408e22-1ce7-463a-aa49-2a65373086fc
Name: Antipodean

@doron-alkalay Many Thanks Doron. It’s not the only issue. When you look at the home page there is an empty white space (#columnStrip 14) between the header and #columnStrip 9 that used to be collapsed / hidden by the function HideFAQHeader() in the module FAQheader.js, this is also no longer working. It hides contents of columnStrip but no longer collapses the white space.

Hey @mike51361 !

Please check your site as the issue seems to be resolved.
I also can’t see the white space anymore.
Just note that the columnStrip14 is part of the header itself.

If the issue persists don’t hesitate to ping me again.

Doron.

@doron-alkalay Many Thanks Doron, I am extremely grateful, please could you let me know what the problem was. Mike

I used $w( “#checkboxGroup1” ).options (and checkbox groups 2-5, as I have several columns of data) to assign labels and values to 300 some multiple choice checkbox choices to a form. The form previews and submits from preview perfectly. The live site the labels/values don’t populate. The only code things I know have come from tutorials here, so it is likely I’m missing something; but since it works fine in preview I’m not sure what would change to the live.

The page is hidden in my nav, accessible at: [www.gs-rx.com/frame-consignment](www.gs-rx.com/frame-consignment
The)
The fields I’m referencing are in the 2nd page of the form. Help!

Hi !
All my notifications which made with code stopped working suddenly without notice. i didn’t change a single character in the code - so i geuss i’m not the reason this time :slight_smile:

I checked the API again to make sure and i see that the api was updated in this topic, so i updated my code accordingly with no luck, the issue remains the same…

I’m writing this for you to know and make sure that it is not caused by one of those updates you’ve mentioned.

thank you!

www.sbe-studio.com

Still haven’t got feedback on the above issues, and I found another bug that exist in Live site only (Preview site OK). It is related to the Rich Text Input box. If I click “align center” from Rich Text Input box, and save it to a database. The text in live site will show “undefined”

Click “align center” from Rich Text Input box

Text in live site will show “undefined”

Preview site won’t have such issue. Only Live site is not working. Please kindly help solve it also…:sweat:

Editor link: https://editor.wix.com/html/editor/web/renderer/edit/237bdd58-2ec9-4b54-b2db-9e8522e80935?metaSiteId=e614a8cc-a04f-4fe8-b004-0b4a6d865051&editorSessionId=c3408e22-1ce7-463a-aa49-2a65373086fc
Name: Antipodean

Hey @mike51361 .
As the title of the thread suggests we’re working on rolling out a new and improved version of Corvid. We had an issue on our end that was fixed. I just applied the fix on your site :slight_smile:

Hello Wix !!!
My site’s https://ajithkrr.wixsite.com/mini-guru/blank register function is not working …
(I haven’t designed the site properly)

Object { originalError: “NetworkError: WorkerGlobalScope.importScripts: Failed to load worker script at "https://8cd35387-43fc-427f-86cd-823164d981cf.static.pub.wix-…ar-w=true&module-name=ogfsr&remove_namespaces_from_self=true"”, url: “https://8cd35387-43fc-427f-86cd-823164d981cf.static.pub.wix-…ar-w=true&module-name=ogfsr&remove_namespaces_from_self=true” }

These are the errors I get…