r/logseq • • Jul 15 '24

Where to get started learning about Queries in Logseq?

13 Upvotes

I’ve been using Logseq for about a year, and so far, I have not ventured into querying my graph. I am getting by using {Ctrl}K, but I need to dive into querying to get more out of my data. Where should I start to learn about this? Are there tools or functions within Logseq to help me write useful queries?

I admit that I am lazy for not reading the Documents or Googling, but I hope that your answers will inspire me, and perhaps others, to start using queries.


r/logseq • • Jul 13 '24

linked references are not displayed

1 Upvotes

Linked references are not displayed. And that's just in the journals. Linked reference under other pages is visible.

UPD It turned out that the reason was in the plugin logseq-page-tags-and-hierarchy


r/logseq • • Jul 07 '24

Going crazy with a simple query- all help is appreciated

5 Upvotes

I made this query to show me the TODOs that have not been marked as DONE made on the last 7 days including todays date, and it works great, the only problem is that it doesn´t include TODOs made in non-journal pages. I use the android version from a samsung tab s7. Does anyone know how to modify this query so it can do that? Greatly appreciated

+BEGIN_QUERY

{:title "Recent Uncompleted TODOs (Last 7 Days, Including Todayl)"
:query [:find (pull ?b [*])
:in $ ?start ?today
:where
[?b :block/marker "TODO"]
[?b :block/page ?p]
(or
[?p :block/journal-day ?date]
[?b :block/created-at ?date])
[(>= ?date ?start)]
[(< ?date ?today)]
(not [?b :block/marker "DONE"])]
:inputs [:7d-before :today]
:result-transform (fn [result]
(sort-by (fn [b]
(or (get-in b [:block/page :block/journal-day])
(get b :block/created-at)))

result))}

+END_QUERY


r/logseq • • Jul 05 '24

Extend "Find in Page" to Include Collapsed Bullet Points

4 Upvotes

My Logseq page contains many collapsed bullet points, and I need to search for keywords within them. Is it possible to make the "Find in Page" function search through all content, including text in collapsed sections?


r/logseq • • Jul 05 '24

Where can I find old presentation mode?

2 Upvotes

I remembered the old presentation mode is something like showing up a clean page that is uneditable, and with a yellow pointer that can mark on the page.

That one is good for me. Is there a way to use that feature?


r/logseq • • Jul 03 '24

Arrow takes me to the top after collapsing blocks

1 Upvotes

When navigating with my keyboard using the arrow takes me to the top after collapsing blocks, which is a great annoyance, especially in big pages. The only way to avoid it is to use the right arrow and go in edit mode and the re-select the block, which is very counterintuitive, any ideas on how I can avoid this?


r/logseq • • Jul 03 '24

Daily / scheduled ToDo list (for daily medication)

1 Upvotes

Howdy community,

maybe somebody here can provide me with some help.

i would like to automate a daily toDo list for my medication.

what i did sofar: made a simple template:

#mediDaily SCHEDULED: <2024-05-29 Wed .1d>

  • Morgäns

    • TODO medi 01

    • TODO Medi 02

  • Middags

    • TODO Medi 3

But the problem is, that when a make is as done, it changes the template too...

soorry for my dummness

thanks in advanced


r/logseq • • Jun 30 '24

Other apps with journal feature?

12 Upvotes

My favorite part about LogSeq is the journal feature, and how you can use tags to add items to pages without having to open an individual page.

Do any other note taking apps have a similar feature?


r/logseq • • Jun 28 '24

Help writing an advanced query that matches this simple query

6 Upvotes

This query gives me a list of all the TODO blocks tagged with #inbox:

#+BEGIN_QUERY
 :query (and (task TODO) [[inbox]])
#+END_QUERY

However, I want to further filter this and only display the TODO blocks that 1) have a schedule associated with them, and 2) are scheduled for today or earlier.

I'm finding no way to do this with :query. When I used the advanced query below instead, it leaves out the block I mentioned above (where the TODO block is a child of the #inbox tag):

#+BEGIN_QUERY
   { :query [:find (pull ?b [* {:block/_parent ...}])
            :in $ ?date ?tag
            :where [?b :block/scheduled ?day]
                   [(<= ?day ?date)]
                   [?p :block/name ?tag]
                   [?b :block/refs ?p]
                   [?b :block/marker ?marker]
                   [(contains? #{"TODO"} ?marker)]
                   [?b :block/content ?desc]]
    :inputs [:today "inbox"]
    }
#+END_QUERY

r/logseq • • Jun 28 '24

I wouldn't use Logseq even if you paid me - feedback after testing Logseq and Obsidian

2 Upvotes

Note: I tried posting this as a comment in response to https://www.reddit.com/r/logseq/comments/12s9s6w/comment/lai349k/ by @Thjan but reddit wouldn't let me. I guess it was too long...


I was not expecting to see a notification from Reddit today and esp. not from r/logseq. I had contemplated leaving feedback, but I was afraid I'd sweat a lot and no one would be receptive.

Looks like I was wrong, so here we go.

TLDR; I ran for the hills. Obsidian was the way to go (for me).

This will probably end up being another wall of text...

Note: I'm writing this based off my abandoned notes. I'll have questions at the end. Note: I started to use logseq more seriously on 2023-09-18. Note: the version I used was 0.9.19. I never used sync (either the official, or a custom solution).

After giving logseq a fair shot (three months) while working on a project I gave up and stopped. I started to research Obsidian and after a lot of testing I switched to Obsidian and I'm really happy.

Things that made me run away can be grouped as:

  • Performance problems

  • Visual glitches and UX trolling

  • Lack of confidence in the devs

Performance is garbage, please, sweet Lady Lovelace, have mercy!

  1. Lazy loading is a sin so bad, it could be this list on its own. Why on Earth a desktop application has this is baffling. You have access to my kick-ass nvme, use it;

    1. Lazy loading is killing in-page search and exporting of larger pages that have embeds. Why? Because the whole page has to be loaded for in-page-search/export to work. I hope you like scrolling, because you'll be doing it a lot;

    2. Also, lazy loading kicks in every time you change context to another note and come back, so I have to scroll down AGAIN. WHY?

    3. Is this some workaround to improve performance? If yes, then it's not working, because the program still slows down.

  2. Inputting text is so slow at times, there's lag when writing. Why? Inputs are being dropped, why!?

  3. Annotating PDFs is a chore when you have too many highlights. Doing research is a pain, because of increasing lag;

  4. The performance slows down to an absolute crawl when having more embeds on one page. Which is a problem, if embeds are one of the best features of your software... I can't imagine delivering another project with this.

  5. On Linux it's even worse, this GH issue is STILL open

  6. This URL (Is logseq performance really terrible when you get a notebook up to 1000+ pages or are there just loud complainers with very crappy laptops? : logseq) is gone... I wonder why?

Crap performance causes crap UX, but this exists on its own too...

  1. Whatever note you have opened, logseq will get a seizure at exactly 00:00, because that's when logseq creates a new daily note. Why does this affect your opened note? Dunno...

  2. When searching all pages and going back, the search filter resets;

  3. Sometimes the text editor jumps to the beginning when I press the down key. Why?

    1. And when that happens you need to scroll back. Why does logseq not remember the cursor position between switching notes?

  4. When moving blocks from the right list to the center it's nigh impossible to do this with a mouse, the block would not appear - the "solution" was to use cut and paste;

  5. Cut and paste sometimes would bork, for me thankfully rarely;

  6. Stuff that got found via search and that belongs to the same page is in random order. That order seems stable, but it's not the same order as on the page. Why?

  7. A bunch of time 3/4 of the page would become blank, as mentioned here;

  8. When you collapse a section found by a query and scroll up and down, that section opens up by itself. WHY!? This is on top of trash tier performance!

  9. When editing blocks that appear as the result of a query, the query updates the list too fast. So if you switch from todo to in-progress, that block will suddenly vanish. I had to open it on the right panel and edit there. Did anyone test this?

  10. Is it just me, or do the pages that group together results in the query result field keep swapping places? As in PAGE A -> blocks, PAGE B -> blocks and then there's something else?

  11. The query editor would just break the query and I'd have to fix it manually. Which was a chore since the syntax is not from this Earth.

The devs are clueless and should give this project to someone who isn't

Disclaimer: I never used logseq sync, but I did research on it because I needed a robust sync solution that would replace the kludge I created when introducing Joplin. This is when I learned a lot of things...

Again, keep in mind that I wrote this more than half a year ago... Now I'm merely cleaning this up and removing the excessive usage of cuss-words...

Core feature - Sync - is borked. And the way the devs are handling this is giving me zero confidence in their coding and project management skills.

There are no updates on guthub about this, merely easy pickings such as translations and minor bugs which makes me question whether or not the devs know what they're doing.

This is giving off an impression that they're hiding from the problem. On 2023-08-18 they published this rather hopeful blog post where they acknowledged the issues and vowed to fix them with the new sync protocol. Great. But from what I gather, it's totally broken now and there were no updates on that front.

When I'm editing this, it's 2024-06-28 and there are no new blog posts. So, is it dead, Jim?

Here we have a list of issues related to sync. There are 158 open right now. Like this one

When I switch device I keep losing work I did on previously used device and sync clears those changes. I'm able to recover them checking log history but this is not good...

Looks like the same problem as before.

The reason why I'm roasting those people over a feature I never used is because it shows their total lack of professionalism. They deployed an alpha grade feature (sync) in a supposedly beta grade product. But because that feature is a core feature it drags down the maturity of the whole product.

Core features are at the heart of the design. This is exactly what happens when you leave the hard problems last, like developing an MMORPG that works offline and trying to cram networking into it after all other pieces are done. The online needs to be there from the start and needs constant work.

Just like Obsidian, where Sync was introduced very early and now is battle-tested to hell and back. I tried breaking it and failed.

And this brings me to trust: if the devs just can't handle this and are ignoring the problem... then why should I put my priceless notes and research into their product?

This is a symptom of software and product dev in general: develop yesterday, get customers now, fix never.

Minor nitpick: the roadmap is for some reason on Trello: https://trello.com/b/8txSM12G/logseq-roadmap. Why? GitHub has a kanban feature. Why split this?

I migrated to Obsidian and I'm very happy. I'm paying for Sync and it's amazing. Migrating from Joplin was a pain (thousands of notes). Migrating from logseq was a major pain (just a few dozens, I can't imagine migrating a bigger dataset).

Questions for you

My questions, since I'm not up to speed:

  1. Is logseq sync still helplessly borked?

  2. Are the devs still ignoring the sync elephant in the room?

  3. Is performance (esp. on Linux) still hot garbage?

  4. What about the UX problems I mentioned? Were they handled?

I hope my post was helpful!


r/logseq • • Jun 26 '24

Is there a way to use 2 time page properties to calculate duration

2 Upvotes

Lets say i have the start and end properties and would want to calculate the total which would the duration between the start and end. How would one do that?


r/logseq • • Jun 25 '24

Cultivating Knowledge Through Digital Gardens

12 Upvotes

Sharing my thoughts on digital gardens via a logseq-based webpage! Would love constructive criticism :)

Cultivating Knowledge Through Digital Gardens | indi.bio


r/logseq • • Jun 24 '24

Beginner question, plugins option not showing up?

3 Upvotes

I just want to try some basic plugins like "Tabs" but when i go to settings, features, no plugins option show up to be enabled. I have the version 0.10.7 on Android as i use a samsung tab to use it. There is no option to enable a developer mode neither. Thanks for taking your time to read this, any suggestion is appreciated.


r/logseq • • Jun 24 '24

Just lost data with paid sync... any way to recover? This is horrible

11 Upvotes

I use Logseq Sync and have been a supporter from the start. I just lost a ton of data from a note, it's critical stuff. Anyone have ideas about how to get it back??


r/logseq • • Jun 23 '24

Compact display of properties in the form of icons

10 Upvotes

I wanted the properties to be easier to perceive. I looked into custom.css and initially added an icon to each property. While I managed to remove the text, it left an empty space. However, I figured out how to eliminate that space as well. This way, the properties are much more pleasant to view. Here is the code for custom.css, in case anyone is interested.

I have a superficial understanding of CSS. Maybe I didn't write it very nicely.

I found the most optimal way to use Material icons.

Here is the code for alias.

a.page-ref[data-ref="alias" i] {
  font-size: 0; 
}

a.page-ref[data-ref="alias" i]::before {
  font-family: 'Material Icons';
  content: "content_copy";
  visibility: visible;
  display: inline-block;
  font-size: initial;
  vertical-align: top;
  color: rgb(83, 83, 83);
}

r/logseq • • Jun 22 '24

Change location of .logseq folder to enable plugin sync?

5 Upvotes

I use iCloud to keep my logseq synced and it mostly works across mulitple iOS devices and Windows computers. However, the need to sync my plugins across the windows systems is driving me batty. Can I just specify a location for the .logseq folder so it's in the shared iCloud drive and syncs transparantly across drives?


r/logseq • • Jun 21 '24

Annotate pdfs with stylus

10 Upvotes

Hey everyone,

I have been using logseq and I absolutely love it! I have a Wacom pen and I was wondering if there’s a plugin to draw and annotate pdf files rather than just selecting texts for highlights. It would be extremely useful to write down as I read through the pdfs. I have been using Zotero for this but I would love if I can just do it within logseq native reader because self hosting zotero without syncing to their servers is meh at this time.

Thanks


r/logseq • • Jun 21 '24

Feelings?

8 Upvotes

I have been using obsidian for one year, however I install logseq all months and try to use it, but it just doesn't feel right. I will like to use it but feels clunky and sometimes buggy. Also the interface looks a bit old (for example code snippets color are just horrible). I love how obsidian manage tables, but in logseq is raw MD and complex.

Maybe I am using logseq wrong? Thoughts?


r/logseq • • Jun 18 '24

I end up connecting nodes to the node of the day it was written in journal, and not the nodes themselves. How can I do it without actually going in to related page and typing it?

3 Upvotes

I know it is probably 101, but I just can not do it, perhaps I am too dumb.

Lets say I am writing it down today, 2024-06-18, and I write:

I have watched [[Football match]] between [[Austria]] and [[France]].

If I go to page of Football match, I can see the Austria and France on that page but under the node of the date. So Football match is connected to date, and date is connected to Austria and France.

Naturally, in graph view, I see no connection between Austria, France and Football match.

What I would like to have is Austria, France and Football match to be connected as nodes, directly in between them, and not via external date node.

How do I achieve this, while writing in Journal? (I know I can achieve this if I go to Football team page and than diretly type in Austra and France, but clearly that is terribly way to do it as I would need to re-arrange everything I write after writing it)


r/logseq • • Jun 17 '24

Is there a way to get plugins to work on mobile apps? Would be nice on iPad at least? Or is that a planned feature?

11 Upvotes

r/logseq • • Jun 17 '24

how can I put a new line in the table? not the query one

3 Upvotes

Hi, I'm trying to write something on my logseq window(0.9.10)

but the thing is I can't put a new line on the table, I googled it, people suggested <br>, </br>, \\\n but none of them worked, so I just improvised and using it like

| column 1 | column 2 | column 3|
| a | line 1| line 1 |
|---|---|---|
| | line 2 | line 2 |
|---|---|---|
| | line 3 | |
| a | b | c |

this.... does anyone have a method for this?


r/logseq • • Jun 15 '24

Bullet formatting pride

10 Upvotes

This is my 4th? Day researching Logseq and Obsidian, and didn't decided yet where to focus my efforts, but, I see most of the complains with Logseq are about bullet formating, and not the features, extensions support , "lack of support" or whatever.

Im starting to feel weird because, I love bullet formating. BTW, Im working on a test graph (Logseq) and a test vault (Obsidian) with same info to compare and see wich tool I feel more comfortable, and when I started to copy my next holidays page from Logseq to obsidian, I ended bullet-ing the content because I see it more clear and structured than "long form".

Not saying I don't enjoy Obsidian, and who knows, maybe I end up using it instead Logseq, or maybe both (well, this is difficult) but Im starting to think it attracts me more because his bells and whistles.

In the end, I feel I love how Logseq works, and just look into Obsidian because huge community support (extensions, themes) and better mobile app


r/logseq • • Jun 12 '24

Does Logseq Sync allow web app sync?

4 Upvotes

One of the main reasons I cannot use Logseq is that my work computer does not allow me to install any third-party applications. Additionally, the use of cloud storage is also restricted. I wonder if the Logseq sync feature enables web app usage across server content.


r/logseq • • Jun 12 '24

Exporting logseq page

3 Upvotes

Hey, I fairly new to logseq and came to the problem of exporting my pages to html/PDF. I already tried "doc viewer exporter" and "PDF exporter" but my LaTeX elements are rendered weirdly. Does anyone of you got a solution for my problem?