geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
504 stars 389 forks source link

Simplyfing Annotation creation and editing #5775

Closed dsuren1 closed 3 years ago

dsuren1 commented 4 years ago

The details about the annotation refactor is in a separated PDF [Annotations_redesign]

The re-design is mainly graphical. We need to reorganize the existing panels into the new view. All the requirements are correct and good looking. For this activity we should consider that a good part of the existing interactions, actions and controls belonging to the Annotation tool will need to be reviewed and changed to fit the new design and user interactions.

Open Annotations

This view is the same, no changes needed

Add Annotation

Add Geometry

note: the style on the map changes based on the accordion opened (edit style for coordinates, applied style for style accordion)

Annotation List

This point do not requires any change

Edit Geometry

Text visualisation and style improvements

The solution proposed by Austrocontrol seems reasonable, GeoSolutions will prepare and then share a mockup in order to agree with Austrocontrol before starting the development.

Reference https://github.com/geosolutions-it/austrocontrol-C125/issues/153 https://github.com/geosolutions-it/austrocontrol-C125/issues/187 https://github.com/geosolutions-it/austrocontrol-C125/issues/188 https://github.com/geosolutions-it/austrocontrol-C125/issues/189 https://github.com/geosolutions-it/austrocontrol-C125/issues/190 https://github.com/geosolutions-it/austrocontrol-C125/issues/191 https://github.com/geosolutions-it/austrocontrol-C125/issues/171 https://github.com/geosolutions-it/MapStore2/issues/4553

ElenaGallo commented 4 years ago

@dsuren1 here some notes:

How to Reproduce

dsuren1 commented 4 years ago

The description of the annotation

The annotation card is compact and cannot accommodate fieldValue as innerHTML, which is the reason for this issue. Can we display only texts without the formatting? Also, this will make the quill editor of no use for description with html formatting.

Please advice @offtherailz @tdipisa @allyoucanmap

offtherailz commented 4 years ago

@dsuren1 what is the probrem if I set:

.mapstore-annotations-info-viewer .ms-style-manager {
 overflow: hidden
}

Trying to fix somehow the position of the select menu or it's height?

dsuren1 commented 4 years ago

@dsuren1 what is the probrem if I set:

.mapstore-annotations-info-viewer .ms-style-manager {
 overflow: hidden
}

Trying to fix somehow the position of the select menu or it's height?

@offtherailz By setting the style tab-container's position and overflow. I have a fix ready for this.

The description of the annotation with more than one line of text

But I need some direction on how the description issue mentioned above should be handled. So I can give a combined fix

dsuren1 commented 4 years ago

Note: Description with ellipsis for lengthier texts and only text content will be displayed (No html formatting on the card preview)