Git Product home page Git Product logo

Comments (9)

dvargas92495 avatar dvargas92495 commented on September 14, 2024 1

Let's make a note to discuss these New Issues on our next call before triaging

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

for the maximize button bug:

  • the issue only happens when there is a selection
  • error is undefined mode

https://github.com/dvargas92495/roamjs-query-builder/blob/a818f89d88937419352a5e9039a6c5544d314b34/src/components/ResultsView.tsx#L207

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

I noticed that Query Drawer does not add results > views to the query tree, where Query Block and Query Page do.
It seems related, so I am looking into that as well.

from query-builder.

dvargas92495 avatar dvargas92495 commented on September 14, 2024

ah damn yea - this views stuff was my initial idea for ORs. If you find it easier to delete stuff here by all means. It's not actually being used right now

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

Just to be clear, this is what I was referring to.
Looks like they are used to store the Column Views setting.

2023-02-08.19-20-11.mp4

from query-builder.

dvargas92495 avatar dvargas92495 commented on September 14, 2024

OH - viewsByColumn should then take a default value if there is no views subtree

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

Yeah, that would make it so the drawer doesn't close, but then I don't think you will be able to set a column view.

2023-02-09.17-36-01.mp4

from query-builder.

dvargas92495 avatar dvargas92495 commented on September 14, 2024

Oh man this is getting gnarly - would it be solved more simply if Query Drawer passes in the views subtree as well? If not, seems like there's some other memoized state here that might not be updating in response to new views settings.

from query-builder.

mdroidian avatar mdroidian commented on September 14, 2024

Possibly. It seems there are multiple other issues tied to this.

RE: Refresh
After looking into the code, if Refresh is meant to compare the inserted results (on a Playground page) with the current version of the saved query, then I think this actually works as intended. Aside from #41
The initial reason for reporting this issue was that I assumed Refresh was suppose to act like it does in Query Block and Query Pages.
Maybe a UX issue?

That being said, if the results of the query were to change in between inserting and refreshing (via another tab or sidebar, for instance), as a user I would expect my Results View to update accordingly. Which I don't think does.

It may also be the case that the refresh button doesn't work as intended on regular pages, but I didn't look too deeply into it, and I'm not certain that was it's intention.

I wonder if it would be best to just patch this, close it, and re-triage the new issues?

New Issues

Query Drawer - Updating Settings / Initial Views on Saved Queries
Query Drawer - Add Results > Views Subtree
Query Drawer - Refresh Button, update UI/UX to represent function
Query Drawer - Refresh Button, update query
Query Drawer - Refresh Button, handle DNP maybe
Query Drawer - Refresh Button, fix on regular pages maybe

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.