Code Monkey home page Code Monkey logo

Comments (1)

jacquesikot avatar jacquesikot commented on August 28, 2024

The current solution is not viable at this moment as it necessitates extensive modifications to implement.

Short-term Solution
This workaround involves introducing a new action and reducer to manage the addition of skeleton widgets to the canvas. It doesn't involve making any API calls to save the layout. However, this approach is suboptimal and temporary; it will alter the canvas state and may introduce edge cases to a solution that is otherwise stable.

Long-term Solution
The proper way to implement this feature is by leveraging meta widgets, a concept already present in the codebase and used by the existing list widget. This approach is more scalable and maintainable but requires significant changes to the canvas widget to accommodate meta widgets. Although it is more complex and time-consuming, this solution ensures better long-term stability and flexibility compared to the short-term fix.

Given the scope and implications of the changes needed for the proper solution, the immediate implementation will not proceed. We will close this issue and revisit it when we have the bandwidth to implement the long-term solution.

from appsmith.

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.