Closed leeyaunlong closed 1 year ago
Do you mind sharing block content here?
since update to 1.11.3, the copilot will show some random issue.
cannot show capture page's content in popup window(like above screen shot)
the link cannot jump to logseq in popup window (in sometime will happen, but link is good, i can run it in window).
for this case, the 4 links cannot jump to logseq, but it always workfine with old version.
Do you mind sharing block content here? The url schema jump to logseq function work well at v1.11.0 Since v1.11.1 , thejump function failed.
Do you mind sharing block content here? If I right click the "to block" or "note" , select open in new tab , the copilot will trigger the logseq open correct location.
I guess the link added some custom event , cause the issue.
Final I find out the popup source :
document.querySelectorAll('a').forEach((e) => {
e.onclick = () => {
connect.postMessage({
type: 'open-page',
url: e.href,
});
window.close();
};
If I remove the click event at those type link , will work well.
I was just looking at this and saw that the 'open-page' message was logged by this line, instead of the other message handler. Perhaps this helps with debugging the problem further?
Thanks for your information, which help me fix this issue!
The fix version on v1.11.4 will release on the store soon.
Chrome:102, copilot : 1.11.3 Save is work, icon will show correct saved item counts. But click the icon, cannot show query result.
I checked service work log:![snap_20230508_155733_chrome](https://user-images.githubusercontent.com/19405648/236769920-fef9f7be-9dc2-41b8-a017-9efe8110f134.png)