Open liorkesos opened 5 years ago
Once you have created this placeholder please write in the issue comments about where this code is located and how to change this component so a different developer can continue the work in parrallel
The code of this widget is located here. `<Dialog onClose={this.closeLocationPopup} aria-labelledby="location-popup-title" open={isLocationPopupOpen}>
</Dialog>`
Put it in a separate component if needed. To open it in UI: open an experiment -> open a trial set -> "Add trial" button -> "Devices" tab -> fourth button with location icon on the left.
To implement a map you should use installed react-leaflet
library like in ExperimentForm/index.jsx
.
To implement drag and drop you should use installed react-beautiful-dnd
library like in AddSetForm/index.jsx
.
We use Material-ui for styling.
You should add the new icons in src/constants/icons.jsx
if needed.
Use SimpleButton/index.jsx
to add buttons.
Use colors from src/theme.js
and add the new ones if needed.
Weneedto create a placeholder for the device location allocation widget