-
Notifications
You must be signed in to change notification settings - Fork 5
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
Move workflow button to toolbar #839
Conversation
WQPS workflow is empty on first selecthttp://localhost:5173/topology/node/water_level/oceanographic_water_level_d3d/map/oceanographic_water_level_d3d After reopening window |
This is also fixed with auto-selecting the first workflow. In addition, we now show the workflow ID in the selection box if no description of the workflow is provided. |
New warningSpatialDisplay.vue <SpatialDisplayComponent
:layer-name="props.layerName"
:location-id="props.locationId"
:latitude="props.latitude"
:longitude="props.longitude"
:filter-ids="props.filterIds"
@changeLocationId="onLocationChange"
:layer-capabilities="layerCapabilities"
:times="times"
v-model:elevation="elevation"
v-model:current-time="currentTime"
@coordinate-click="onCoordinateClick"
:secondaryWorkflows="secondaryWorkflows"
></SpatialDisplayComponent> Have to remove :secondaryWorkflows here and maybe also in the parents Could also remove the v-show for the other warning: WorkflowsControl.vue:16 <v-dialog v-show="!selectBbox" width="500" v-model="workflowDialog">
<v-card>
<v-card-title>Workflow</v-card-title>
<v-container>
<v-col> |
Terra draw has a default max coordinate precision of 9 decimals. |
b9a56d1
to
1ba4e0b
Compare
We now use a FEWS PI provider in the WorkflowsControl component, so we no longer need the useWorkflows service.
This type explicitly names its members, so no confusion can exist over which of the 4 values is min/max or latitude/longitude.
This prevents us having to deal with Terra Draw's specific flavour of GeoJSON outside of the drawing component.
This prepares for moving the workflow control to the side bar.
This prepares for moving the workflows button to the side bar. In that case, we need to gather the required information from several independent components, so we use a store to do this.
This is more preparation for moving the workflow button to the sidebar.
Do not keep track of their IDs, we do not need them.
04367e8
to
109ba56
Compare
Closes #797
Closes #832
This is a rather involved change since the workflow control needs data from the topology and the current WMS layer (start and end times). Furthermore, I extracted some functionality from
WorkflowControl
to separate modules.