Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reusable importer steps #8

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Conversation

milafrerichs
Copy link
Collaborator

#Configuration

The importer wizard is easily customizable. You can specify the order and type of steps to be displayed in the wizard.
Right now we have a few limitations. Form types is limited to textfields and select fields. This will probably change in the future when more requests come in.

But a lot can be accomplished from these two types.

The LayerImport Dialog can differ with different geonode instances,
this adds the ability to specify what is displayed in the importer
window
There are a few preconfigured elements, that can be turned on/off
for example the layerName and permssion handling.
The config will be set via reduy and read from there eventually.
As well as the saving for all the fields in the other section
used for example for selecting a time window, start and end time using
the available fields from the layer/api
generate the list of keys for the layer and display them in the select
field
needed to include the tap-event plugin, otherwise the select fields
would not have worked
use a service to generatwe the necessary configuration files for the
LayerImport component
add tests for service and the component
make sure, that clicking import will call the import module
use steps and add defaults by design
a step can have multiple substeps that are displayed in the same window
define your importer steps via vanilla js and convert the values put in
by the users to json for the api to consume
define your fields via json to let material-ui handle the display
it is an reusable format which should be easy to implement
inspiration from Mike Bostock (creator of d3)
add way to generate the config from the new configs and generate the
steps necessarx pout of a single string or function array
convert the text/function config to steps to be used for
material-ui/react
add new component step to handle promises in the values for select
fields
covergae html reporter now works again
adding summarx reporter to include in the console
add more tests and remove old code
add more tests to increase test coverage
use new components in layerImport
Add documentation how to customize the LayerImport
Add a new default for the customization, permissions, to show more ways
to customize the layerImport
for permissions we need to select multiple users
this adds the ability to have a select field which allows to select
multiple users
it is not a configuration but a customization of the layer import
move tests into separate files instead of one big file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant