Comments (14)
@sywhb just a separate question which i can raise as a separate issue if you want..
Can you confirm how this plugin deals with logseq or omnivore updates?
For example, if I sync logseq and omnivore, then subsequently
- make an update to an existing article within omnivore like an update or a removal; OR
- move the block within logseq to another page
what is your expectation?
From my understanding of the code, you search with save:lastSyncedTimeAt and always insert new blocks
so in theory it should always just create a duplicate block for that article
(which is probably the better way of dealing with this since it would be very hard to deal with conflicts in data)
I was playing around with it but didn't seem to work but i believe it is an issue on the omnivore API search/query side.....
as even within the web app it cannot seem to query properly with some of the advanced queries like is:read
I can give more details but wanted to first confirm the expectation for how this plugin was supposed to work with data updates...
Apologies if I should have created this issue in another repo or another issue.
Thanks
EDIT: I just realised omnivore has a discord channel so i will ask there instead..
from logseq-omnivore.
I also experienced this issue on v0.7.3. and after upgrading to the latest (0.7.5), the issue was solved and replaced with this new one #4 :(
from logseq-omnivore.
@wingy3181 Thank you for letting me know.
Yeah having the highlights in the order of the article would be more natural and useful. There is a location index in the response allows us to do it.
I don't think adding annotation as a nested block would impact the performance. It's just I haven't figured out a better way to present the highlights. We are planning to reformat the highlight section in this PR: omnivore-app/omnivore#868
from logseq-omnivore.
Also adding a deep link to the highlight here: omnivore-app/omnivore#869
from logseq-omnivore.
I get the same issue as this and not the one you mentioned @pararang
I did debug it and can see that this plugin is making a query via graphql POST to the omnivore graphql API
I noticed in the logseq developer tools that it is missing the auth request header
also noticed that this plugin has a dependency to the logseq/libs at version 0.0.6 (
See https://github.com/omnivore-app/logseq-omnivore/blob/main/package.json#L26)
versus the 0.0.7 that i believe was released recently... (See https://github.com/logseq/logseq/blob/master/libs/package.json#L3)
Following the logic i can assume the issue is trying to get the settings from the logseq API on these few lines here
https://github.com/omnivore-app/logseq-omnivore/blob/main/index.ts#L262
Maybe if someone who has the development environment setup could try update the library to see if it fixes the issue
from logseq-omnivore.
my bad...they havent published 0.0.7 yet
https://www.npmjs.com/package/@logseq/libs
from logseq-omnivore.
Thanks @sywhb
I think you released something recently and now its fixed?
I just uninstalled and reinstalled the plugin in logseq and can see a more friendlty settings UI
from logseq-omnivore.
I obtained the api auth key from the developer tool, then in the settings I input the log in info as 👍🏼 { "username": "jarodise", "api key": "thelongstringkeyIgotfromdevelopertoo" }
However, it didn't work.
I kept on getting an error message as below:
How should I set it properly so the sync would work? Thanks!
Sorry for the inconvenience caused. I have released a new version (v1.4.0) to address this issue.
Could you please kindly update the plugin and try again?
from logseq-omnivore.
Thanks @sywhb I think you released something recently and now its fixed? I just uninstalled and reinstalled the plugin in logseq and can see a more friendlty settings UI
Yeah, I just released a new version (v1.4.0) to address this issue and make some improvement on the UI.
May I know if it works now?
from logseq-omnivore.
yep all good for me
from logseq-omnivore.
Hey @wingy3181 , I have just released v1.4.3 to resolve this issue.
So now, the latest change of an article will be inserted in Omnivore page too and the old one will be removed.
Please let me know if it works for you!
from logseq-omnivore.
from logseq-omnivore.
@sywhb it works now but i noticed the order of the highlights is in descending order of last creation
I think that's existing from my quick look at the code...
my preference would be to have the highlights in the order of the article.......which i hope is the just the order that comes back in the array of highlights?
will have a look later
UPDATE: thinking about it and looking at the API...i'm not 100% sure there is a way to do this...since you cant guarantee the order based on any date.....
also i noticed the annotation could be added to the highlight and maybe a create nested block under the highlight for the annotation? is this something you want to do or you think will impact the performance
from logseq-omnivore.
Duplicate here: sywhb/logseq-omnivore#1
from logseq-omnivore.
Related Issues (20)
- Logseq:Format of date variables and pages name according to that HOT 4
- Separate child node for full text in the back of the Highlight HOT 1
- Multiple Profiles HOT 2
- How to display highlight note as a child bullet to the highlight? HOT 5
- Importing like the Raindrop plugin? HOT 2
- Import to specific location on a page HOT 1
- Feature Request: Replace Double Backslashes with Single Backslashes
- Version 1.14.0 does not work HOT 11
- Settings schema Error! HOT 4
- request: make article content collapsed by default or give the choice HOT 1
- Setting `headingBlockTitle` to empty generates extra asterisks HOT 7
- Failed to fetch HOT 6
- Omnivore plugin stopped working in logseq version 0.10.0 HOT 3
- Synchronization with Logseq not working HOT 23
- 页面引用中文章内容和高亮内容无法默认折叠
- Put syncAt config field in separate config file HOT 3
- Article and Highlight template `note` variable breaks template with complex text HOT 1
- failed to fetch articles HOT 1
- Articles fail to import when isSinglePage set to false HOT 6
- FeatureRequest/HelpNeeded: highlight is not an exact subset of the text content HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logseq-omnivore.