Coder Social home page Coder Social logo

Allow zooming the timeline about gecko-dev HOT 3 CLOSED

replayio avatar replayio commented on August 19, 2024
Allow zooming the timeline

from gecko-dev.

Comments (3)

jasonLaster avatar jasonLaster commented on August 19, 2024

alt-click and alt-shift-click zoom the timeline. It would be nice if it were possible to zoom via the scroll action though so it is smoother and more intuitive

from gecko-dev.

bhackett1024 avatar bhackett1024 commented on August 19, 2024

This patch makes the following UX changes:

  • The timeline can be clicked and dragged to zoom in on the selected region. This feels pretty good with the new logic added by #13 to show the screen wherever we are hovering.

  • Add a zoom out button next to the timeline. While there isn't an explicit UI element that users can use to zoom in on the timeline, the presence of this zoom out button indicates that it is possible to zoom, and hovering over it shows a tooltip describing how to zoom in.

  • I removed the ability to double click and zoom out on the timeline. Clicks on the timeline register as jumps now, and we can't really distinguish between single and double clicks without introducing a delay after the first click event to see if a double click is impending. A click could be used in combination with a keystroke to zoom out (like we do with alt-click to zoom in) or we could just rely on the zoom out button for this functionality.

from gecko-dev.

bhackett1024 avatar bhackett1024 commented on August 19, 2024

Oh, and when zoomed in we show a percentage on the left and right for the positions of the endpoints in the recording, to help with understanding the current zoom state.

from gecko-dev.

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.