Comments (6)
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.
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.
What comes up on the autocomplete?
from query-builder.
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.
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.
Fixed!
2022-11-02-QueryBuilder-old-user-name-fix.mp4
from query-builder.
Related Issues (20)
- Add option to not open newly created discourse nodes in sidebar
- Filtering results when namespaces are on HOT 1
- Date / Name selections respecting proper UID's
- Add comment as option in conditons HOT 1
- Discourse Graph - Fix default node in dgraph specification HOT 1
- Discourse Graph - Migrating Format to Specification HOT 3
- Results in native Roam format HOT 5
- Re-add CSV to Export / Share Data
- Fresh install of Discourse Graph bugs HOT 1
- Relation Context in Discourse Context is not working HOT 2
- The second argument in the <%QUERYBUILDER%> command fails when a var is passed instead of a hard-coded value HOT 1
- "add" selection outputs date when passed DNP
- 'add' and 'subtract' formatting discrepancy between docs and autofill
- date-format autocomplete suggestion doesn't work
- Canvas - add Page/Block to Canvas References
- Canvas - allow for default shape color/styling
- Show page title for a block (from selections?) and group blocks by page HOT 3
- There seems to be no way to delete a "branch" using the GUI editor HOT 2
- Is there a way to make a "with text" condition be case insensitive? HOT 1
- Add "Copy Results as Table" option
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 query-builder.