GithubHelp home page GithubHelp logo

Comments (4)

karolkolodziej avatar karolkolodziej commented on July 2, 2024

Hi @liorheber!

Thank you for contacting us!

  1. We do have resize and update events for components that you can listen to see in the API.
    Wouldn't it be sufficient for this use case?

  2. When it comes to updating the components on the change this sounds like a good idea! Do you think the confirm button should be obsolete now? Or it should be required to save the changes otherwise clicking on the cancel or outside of the popup will not change the component.

from highcharts.

liorheber avatar liorheber commented on July 2, 2024

Hi,
Thank you for the response.

  1. I think it's doable with the events on the components, that's a great idea!
    The main downsides are that the resize event will spam my callback and not be called only onMouseUp, and drag and drop will also send multiple calls. I think they can all be mitigated with some debounce but it would have been nice to have a callback on the dashboard level that will execute only when the dashboard has settled the layout.

  2. In the case that a component reacts to their configuration changes immediately I think the confirm button is un-needed. But there would need to be an event that tells the app that the configuration has changed so that it can be persisted somewhere later.

Thanks again for looking into this!

from highcharts.

karolkolodziej avatar karolkolodziej commented on July 2, 2024
  1. We can think of adding an event like resizeByUser that will be triggered only when the component size is changed in the edit mode.
  2. Thank you for the input!

from highcharts.

liorheber avatar liorheber commented on July 2, 2024

That would be great, thank you very much!

from highcharts.

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.