Git Product home page Git Product logo

Comments (6)

dvargas92495 avatar dvargas92495 commented on September 14, 2024

What does the datalog query say? On the bottom left, it should output the equivalent datalog query that you could enter in the console and start manipulating the query to see what the bug could be

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

Ah, one thing I didn't try was fully typing in his username and trying to run the query.
I just assumed because it wasn't in the autocomplete that it wouldn't work. My mistake.

If I manually type in the username and run the query, it returns the expected results. 👍

from query-builder.

dvargas92495 avatar dvargas92495 commented on September 14, 2024

What comes up on the autocomplete?

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

It is just blank from the UI while looking for the user (creator of the graph).

I believe it has something to do with the fact that the creator of the graph was "anonymous" for some time then changed his name to "Matt" just recently.

I tested this by creating some queries to show blocks that were created when he was "anonymous" vs when he was "Matt". Query Builder gives an error trying to show the selection of created by when he was "anonymous". But no error is given when querying blocks created after the change to "Matt" was made.

Blocks from templates were created in 2022 by "Matt"
Blocks from page zettels were created in 2020 by "anonymous"
Removing the selections removes the error and allows the query to run.
Third query shows "Matt" not displaying in the created by UI.

QueryBuilder-CreatedByBug2.mp4

Below is showing the error from Chrome Console.

QueryBuilder-CreatedByBug3.mp4

from query-builder.

dvargas92495 avatar dvargas92495 commented on September 14, 2024

Ok was able to confirm these issues in the code but can't reproduce on my end - just pushed a fix for review on Roam Depot.

While it's being reviewed, we could verify the fixes from downloading the zip and loading it in developer mode from here: https://roamjs.com/extensions/query-builder

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

Fixed!

2022-11-02-QueryBuilder-old-user-name-fix.mp4

from query-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.