Closed dsuren1 closed 3 years ago
@dsuren1 here some notes:
The description of the annotation with more than one line of text is displayed as follows:
Opening the LineDash from the dropdown menu displays an additional an extra space (or a scroll bar if the screen size is small)
How to Reproduce
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
@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 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
Note: Description with ellipsis for lengthier texts and only text content will be displayed (No html formatting on the card preview)
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
When an Annotation is clicked, the editing window will be opened: according to general usages of the tool, it isn’t a good practice to directly switch in edit mode as soon as the annotation is clicked in the list (within the annotation panel), a view mode need to be activated first for consultation purposes only, then if the user has right permissions on the map, also the possibility to switch to the edit mode with a button should be provided. What we can do here is to introduce an additional configuration option (by default to false) to directly activate the edit mode once an annotation is clicked in the list
The existing interface allows to zoom to the annotation and this detail is not present in the new mockup: we assume to maintain this functionality as it is now in the new UI, GeoSolutions will provide a new mockup
Two ways hover (from panel or from map) highlight of geometries when selected
Move download annotation
Text visualisation and style improvements
Text Rotation: there is a separate offers for this in the estimates
Text Style options refactor
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