Giter Club home page Giter Club logo

Comments (3)

brancz avatar brancz commented on September 27, 2024

So we're fine with how the relative and absolute range picker works, we just want to improve how to switch between either of them.

I agree with this, but then

We remove any action buttons (that might increase/decrease the range of the query)

Conflicts with this.

What if we left the relative picker as is and instead just when you click on the "text" we open a menu that is similar to what we used to have, but just not in 2 columns?

from parca.

yomete avatar yomete commented on September 27, 2024

Okay that sounds like a good compromise. Do you reckon the menu should only contain the absolute range picker with an "apply range" button to update the query? Also attached a rough mockup. I left the Use relative start time instead text in there as a way to dismiss the menu if you're only interested in typing in a relative time.

Image

from parca.

brancz avatar brancz commented on September 27, 2024

I think our previous picker was pretty close to what I'm imagining. Something to remember, at the time we ran queries immediately when we clicked a relative time range or clicked apply. Now we still need to hit search again.

I think the switcher we used to have (see #4024 again) for absolute/relative was really awesome, and I think just hitting that should do the switch we have today with clicking on the text.

from parca.

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.