Skip to content
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

Highlighted label while hovering over building #1529

Closed
Gaugi28 opened this issue Dec 1, 2020 · 3 comments · Fixed by #1586
Closed

Highlighted label while hovering over building #1529

Gaugi28 opened this issue Dec 1, 2020 · 3 comments · Fixed by #1586
Assignees
Labels
difficulty:low Solving this is likely not that difficult feature Feature requests pr-visualization Issues that touch the visualization pr(oject) which means web and desktop features. priority:medium Set by PO

Comments

@Gaugi28
Copy link

Gaugi28 commented Dec 1, 2020

Feature request

Description

As a user, I want a highlighted label when I hover over the associated building so that I can see directly the name of the file.

Acceptance criteria

  • if the user hovers over a building, the label appears in the foreground and is highlighted
@ce-bo ce-bo added feature Feature requests pr-visualization Issues that touch the visualization pr(oject) which means web and desktop features. labels Dec 1, 2020
@BridgeAR BridgeAR added difficulty:low Solving this is likely not that difficult priority:medium Set by PO labels Dec 1, 2020
@RomanenkoVladimir
Copy link
Member

A question: In case of hovering a building with label? Or in case of hovering any building?
So if the building has no label but is hovered do we create a label for the duration of the hover event?

@BridgeAR
Copy link
Member

BridgeAR commented Dec 1, 2020

Good question. I personally would prefer the building to visualize the label during hovering as well, no matter if it's already visible or not.

But this specific issue was only about the hovering effect of the visible label:

Label hovered (highlights the label and building):
image

Building hovered (highlights the building only. This should be fixed to also highlight the label):
image

Not hovered. Nothing is highlighted.
image

@RomanenkoVladimir
Copy link
Member

TODO: we also need to take into account constant highlighting and maybe add a tint to the label for a selected node

RomanenkoVladimir added a commit that referenced this issue Dec 20, 2020
ce-bo added a commit that referenced this issue Dec 21, 2020
* Refactor codeMapMouseEvent.ts, Highlight labels when hovering building #1529

* Add label for hovered node #1529

* Fix and Clean Up existing tests #1529

* Add tests for some functionality #1529

* Add tests for all not threeJS coupled functionality #1529

* Update Changelog

* Applied review feedback, Fixed issue with height coefficent #1529

* Fix test

* Added intersection tests #1529

* Fix test

* Fix test

* Review feedback

* Apply review feedback #1529

Co-authored-by: Cedrik Bormann <26900540+ce-bo@users.noreply.github.com>
Med-H pushed a commit that referenced this issue Jan 18, 2021
* Refactor codeMapMouseEvent.ts, Highlight labels when hovering building #1529

* Add label for hovered node #1529

* Fix and Clean Up existing tests #1529

* Add tests for some functionality #1529

* Add tests for all not threeJS coupled functionality #1529

* Update Changelog

* Applied review feedback, Fixed issue with height coefficent #1529

* Fix test

* Added intersection tests #1529

* Fix test

* Fix test

* Review feedback

* Apply review feedback #1529

Co-authored-by: Cedrik Bormann <26900540+ce-bo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:low Solving this is likely not that difficult feature Feature requests pr-visualization Issues that touch the visualization pr(oject) which means web and desktop features. priority:medium Set by PO
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants