Roam-Research / issues

Roam Research - A note-taking tool for networked thought.
https://roamresearch.com/
304 stars 7 forks source link

Creating and editing query results in erratic behaviour (characters disappearing, entire query disappearing, etc.) #610

Open mckplus opened 3 years ago

mckplus commented 3 years ago

Summary Explanation

When adding or editing queries, the query behaves unexpectedly by doing one of the following: 1) Not accepting links to pages (as soon as a link is made using [[]], it disappears) 2) Not allowing deletion (deleting elements of the query have no effect; they remain on screen and the query output does not change) 3) Disappearing entirely when clicking away, only to reappear when re-clicking the node associated with the query

The result of this bug is that I'm unable to create any new queries or edit any existing queries currently

Videos of bug I have added 2 videos to capture this issue. See: https://youtu.be/ywg4x_ef67A and https://youtu.be/TjS3DRxI1c8

A few notes on video 1: 1) I start by adding {not: [[query]]} but the same issue persists regardless of what I enter between the [] 2) At around 10 seconds into the video the cursor moves backwards. This is me using the backspace key (not the back key), so it should be deleting the }} characters. 3) At around 45 seconds I use the keyboard shortcut to toggle brackets (from being hidden, to being shown) just to show there's nothing strange going on there. This doesn't make a difference.

A few notes of video 2 - this video captures more unexpected behaviour such as: 1) The query removing what I input into [[]] and replacing it with the default text [[ex-B]] 2) The spacebar having no effect 3) The backspace key not deleting characters 4) The query deleting one or multiple } characters

To Reproduce

  1. Go to a page
  2. Start typing a query (this issue persists regardless of whether the query is typed out manually or using the /query function
  3. See bug as you type the query out

System Information:

Bardia95 commented 3 years ago

I was unable to reproduce this issue. Do you have any roam/js or roam/css turned on?