Comments (4)
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:
- full wizard with: "upload file", "selecting entity", "creating entity configuration", "import preview / manual editing" (the already existing one)
- wizard with pre-selected import configuration: "upload file", "import preview / manual editing" (the current issue)
- 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.
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.
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.
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)
- Error initializing application using data-import together with attachable component HOT 1
- Support to stop the loading process on unique violation HOT 1
- initial values for entity attributes HOT 6
- Adding Data Import and Tagging together throws an error HOT 1
- You have attempted to set a value of type class java.lang.String for parameter propertyValue with expected type of class java.lang.Integer from query string HOT 1
- Import configurations, does nothing HOT 1
- CUBA 6.10 support HOT 2
- Unable to import data for complex key entity HOT 3
- MySQLSyntaxErrorException: Unknown column 'ASSOCIATION_LOOKUP_ATTRIBUTE' in 'field list' HOT 2
- CUBA 7 support HOT 1
- Import Wizard cannot save Unique Configuration with reuse = true
- Unable to use Excel file for DataImportAPI HOT 1
- Contraint violation HOT 1
- Data Import fails with Unique Configuration: Update and association attribute binding HOT 1
- Transient fields with only a getter are trying to be imported HOT 1
- GuiDevelopmentException: Property 'isColumnRequired' is not found in entity 'ddcdi$ImportAttributeMapper' HOT 1
- Issue with number fields HOT 1
- Bug in the DataImportAPI.java
- unique configuration with composition
- Setting Entity Attribute to next running number
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuba-component-data-import.