Skip to content

Improve layout for the support of the non-spatial dataset #11746

@subashtiwari1010

Description

@subashtiwari1010

Description

To visualize the attribute table of the non-spatial dataset and update the layout for it. Also, to improve the adding, editing, or disabling some functionality (filtering, snapping, syncing) that does not make sense to the non-spatial dataset in the attribute table.

Improve editing for non-spatial dataset

  • For the feature grid, expose a new selector (hasNoGeometry) if there is no geometry field at all in the dataset
  • hasSupportedGeometry - used for the restrictions in adding new feature in web/client/components/data/featuregrid/toolbars/Toolbar.jsx - need to pass the hasNoGeometry so the visibility logic for the Add/Edit feature can be updated
  • Use the same selector:
    • to show/hide only the necessary fields like we may need to hide the column where no geometry present is displayed
    • to restrict some functionality like draw feature/geometry, sync map with filter, activate snapping, filter data by viewport, delete geometry
    • only display Quit edit mode, Add new feature, Delete selected feature

Review layout for attribute table

  • Pass a configuration that will change the visualization of attribute table to different layout
  • Add a container for feature grid that will take all the spaces available

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Sub-issues

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions