hslayers-ng icon indicating copy to clipboard operation
hslayers-ng copied to clipboard

Layman 2 & more

Open FilipLeitner opened this issue 8 months ago • 1 comments

Description

  • Mainly refactoring of all code which works with layman. The most important change that was worked on is that we try to avoid calling getCapabilities for layman layers GET Workspace layers is used instead. This led to separate handler implemented into connectToOWS along with changes related to rerouting layer creation to this pipeline (for example from compositions).
  • Various typescript type improvements/additions again mainly related to the code related to the Layman
  • Some component refactors which were intended to simplify them and port to standalone + signals

Apart from that few UI/UX changes. For example updated

  • recursive-dd component image
  • save map form . Notable change here is also removal of micka as a possible datastorage image

Related issues or pull requests

Please list issues or pull requests that the changes you propose are related to. It does not matter if they are still open and/or unmerged, any link is appreciated.

Pull request type

Please check the type of change your PR introduces:

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Dependency updates
  • [ ] Code style update (formatting, renaming)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] Documentation content changes
  • [ ] Other (please describe)
  • [ ] I am unsure (we'll look into it together)

Do you introduce a breaking change?

  • [ ] Yes
  • [ ] No
  • [ ] I am unsure (no worries, we'll find out)

Checklist

  • [x] I understand and agree that the changes in this PR will be licensed under the [MIT License]
  • [ ] I have followed the guidelines for contributing
  • [ ] The proposed change fits to the content of the code of conduct
  • [ ] I have added or updated tests and documentation, and the test suite passes (run npm test locally)
  • [ ] I'm lost; why do I have to check so many boxes? Please help!

FilipLeitner avatar Apr 14 '25 05:04 FilipLeitner

The recursive-dd-component UI was something I was dissatisfied with for a long time, thanks many times! :-)

jmacura avatar Apr 29 '25 11:04 jmacura

image hide loader on error and log the error to the console.

jmacura avatar May 19 '25 08:05 jmacura

The "Set permissions" form is cleaned when a tab is switched.

layman2_permissions.webm

jmacura avatar May 19 '25 11:05 jmacura

I have a layer which is private for everyone (both read and write), but it is public for a specific user group (both read and write). The layer is properly hidden when not logged in and properly visible in the list when logged in as a user from the priviledged group. But! When trying to add this layer as a user from the priviledged group, following error arises: image

jmacura avatar May 19 '25 12:05 jmacura

image hide loader on error and log the error to the console.

3c58313

FilipLeitner avatar May 19 '25 13:05 FilipLeitner