Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Tecton Upgrade Causing Race Condition

Currently, we are taking one of our older extensions from tecton version 1.15.0 to 1.66.0. We are now experiencing race conditions where Tecton at times does not load in time. We have always used tecton.connected.then to ensure it loads first. The exact error is:

TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'. (anonymous) @ q2-tecton-sdk.js:1

This problem is not experienced in our development environment, only in Test. Has anyone experienced this when jumping tecton versions or any ideas on a possible solution?

Posted 6 months ago
0

Hi Tyler, can you share your repo URL so we can take a look?

Thanks
Alex

— Alex Jeong   6 months ago
0

Hi Alex, thank you for your reply, please see below:

https://code.q2developer.com/Q2Antilles/visions/visions/-/tree/master/TectonSsrAddressChange

— Tyler Maus   6 months ago
Votes Newest

Answers


Hey Tyler, thanks for replying back to us.
In frontend/public/js/main.js, https://code.q2developer.com/Q2Antilles/visions/visions/-/blob/master/TectonSsrAddressChange/frontend/public/js/main.js?ref_type=heads#L15
Line # 15 (DOMContentLoaded) should be enough over using document.readyState, then "tecton.connected.then"

Let me know how it goes.
Feel free to schedule a call: https://scheduler.zoom.us/alex-jeong/30min-meeting

Thanks
Alex

Posted 6 months ago
Alex Jeong
60 × 1 Administrator
186 Views
1 Answer
6 months ago
6 months ago
Tags