Giter VIP home page Giter VIP logo

Comments (4)

mariodavid avatar mariodavid commented on June 15, 2024

I implemented a simple version of the solution in here: #45 (especially: 78b1f09)

Unfortunately I don't really have a good plan on how to make the solution DRY, because there will be basically three wizards:

  1. full wizard with: "upload file", "selecting entity", "creating entity configuration", "import preview / manual editing" (the already existing one)
  2. wizard with pre-selected import configuration: "upload file", "import preview / manual editing" (the current issue)
  3. wizard with selected entity but without import configuration: "selecting import configuration", "upload file", "import preview / manual editing" (#33)

A few options that came into my mind:

  • make the tabs content in frames for easily share in different wizards
  • create an abstract superclass for the different kinds of wizards
  • create a single wizard with different modes / switches

Perhaps we can share some ideas how to create a proper abstraction with the ImportWizard @aleksey-stukalov @knstvk?

That would be great. Thx

from cuba-component-data-import.

knstvk avatar knstvk commented on June 15, 2024

I would go for the first option - making the tab content in frames. We do it for large screens very often, even when we do not reuse the frames, just for maintainability. Unfortunately, I cannot suggest any specific details without diving into the implementation code, which I cannot afford now :)

from cuba-component-data-import.

mariodavid avatar mariodavid commented on June 15, 2024

Thanks for the info. Based on this comment as well as further ideas on that topic I created this app component which will hopefully be the baseline of this wizard. Although i'm not really sure when this will be ready to be used :)

https://github.com/mariodavid/cuba-component-wizard

from cuba-component-data-import.

mariodavid avatar mariodavid commented on June 15, 2024

implemented mostly a copy in #76 . Once the wizard is properly implemented i'll do a proper refactoring.

from cuba-component-data-import.

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.