Code Monkey home page Code Monkey logo

Comments (7)

flash1293 avatar flash1293 commented on July 17, 2024 1

No, I was talking about aborting the previous query once the user starts typing again after they submitted.

But as you say, aborting the previous query when the user submits the new query is the better behavior, so I think we are aligned here.

from kibana.

lukasolson avatar lukasolson commented on July 17, 2024 1

I just did a little test and it does look like we're canceling the previous query when re-submitting a new one, although it does seem to be a bit delayed (takes a couple seconds before we do it).

Untitled.mov

from kibana.

elasticmachine avatar elasticmachine commented on July 17, 2024

Pinging @elastic/kibana-esql (Team:ESQL)

from kibana.

stratoula avatar stratoula commented on July 17, 2024

cc @lukasolson, @vadimkibana for your thoughts on that

from kibana.

flash1293 avatar flash1293 commented on July 17, 2024

Just to make sure, as you didn't spell it out - When would the cancellation of the previous query happen? I would say it should happen once the user submits the new query. When thinking about it, what came to mind for me is when the user starts typing, but actually I think that's too early.

By keeping the old query running until the new one is submitted, I can do the following:

  • I know I want to do two queries, both will take 10s or so
  • I type the first one and submit it, it starts loading
  • While it loads, I type out the second one
  • Once the first query finishes, I quickly look at the result, then submit the second query I typed in the meantime

I often find myself working like this with query boxes that might take a while - it might seem like a small thing, but for such a central component, speed of interaction is extremely important, as you will have tons of power users.

from kibana.

stratoula avatar stratoula commented on July 17, 2024

By keeping the old query running until the new one is submitted, I can do the following:

This is what I meant. Do you suggest something different? I got confused from your message 馃

The queries run only when the user hits the submit button (or CMD/CTRL + Enter), it is not submitted when the user starts typing. I don't want this if this is what you imply 馃槺

from kibana.

stratoula avatar stratoula commented on July 17, 2024

Great, thanx for clarifying, is a bit late and I am not at my 100%

from kibana.

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.