-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Don't hide location entities that are "home" in the MapViewStrategy #23462
Conversation
This other PR I opened could also be considered related, as - when there are multiple gps and non-gps device_trackers configured - it greatly increases the likelihood that a Probably also something best to be reviewed by the UX Team |
We discussed it with the UX team and agreed that this should be an option to the map strategy. Changing it for everyone would be too disruptive. |
@Hypfer We've prepared a design that shows how this could be done without changing existing behaviors. |
@marcinbauer85 While I do appreciate that you people put time into considering this, I must say that this is quite a steep ask, given that I'm not on your payroll. Specifically communication like this is what I'd consider the paid kind of communication:
Emotionally, I find that a bit disrespectful and value-extraction-y. To shed some light onto my situation: I have an automated process that makes it trivial for me to run my custom patched home assistant instance. Because of that, there is very little pain for me that would encourage me to upstream what I do. That said, I committed to upstreaming a single line change. What I'd be at the very least expecting would be an acknowledgement that the scope increased by at least 10x, that you don't expect me to do it, but if I'd care then thank me and here's where to look. Granted, I suppose it's not always necessary and people will comply regardless, but at this point I feel that I personally contributed enough to the ecosystem to deserve that kind of acknowledgement and treatment as a human. |
@marcinbauer85 As for a stock Map card - you will need to provide a similar option because currently entities w/o coordinates are not shown. |
@Hypfer All your contributions are greatly appreciated, and I had no intentions to force you to complete this as per attached design. Frankly I'm surprised how you could have thought that since it's even you who noted that the design team should chime in - hence here I am. |
@ildar170975 Are you certain about this? Entities from the |
@marcinbauer85 |
@marcinbauer85 Thank you for your reply. Indeed I said that it might make sense for the UX team to have a look. I did not expect that to become a To-Do item though. But it probably did. Probably, there's some internal ticketing system and that maybe way assigned to you? I think what makes this really hard is how the lines between commercial software project and open source kinda blur. We have the FOSS-style contribution at the same time with what is for some people just their day job. Communication troubles might also just be growing pains. Who's to say. Speaking of resolving. Personally, I'm a person that really doesn't click with highly compartmentalized and standardized structures and processes of large commercial entities, so if someone throws a figma design at me and says "hey, do it like this", my initial reaction is to shriek. Another thing that is mentally holding me back here is that I still haven't gotten around to setting up the dev setup, because when I did, it requested full access to my GitHub account; so I shrieked and threw it away. That all said, I'll see if I can overcome those two things and implement the design. |
I think you might be mixing things up. While those topics are both things I proposed and called "somewhat relevant to each other", what you're after is happening in a different PR. Specifically home-assistant/core#134075 |
Yes, designers at Nabu Casa do monitor PR's for feedback or help with figuring out from a grand scale view (and having internal insights) what to decide in some aspects of HA that are aligned with what the community wants, and what it expects. I'm glad we've cleared this up. Let's focus on how we can move forward, and if you have any other questions you can always message me at discord @esseti85 💪 |
@Hypfer |
@Hypfer could you update your current status on this? |
@marcinbauer85 Uh.. I'm not sure if I understand the question correctly. My status is the same as 6h ago. As said, I'm just a random guy that is not on nabu casas payroll. I'm a bit confused why there should have been a change within that timespan, given that this work would if it would happen be purely volunteer and free-time work. |
@Hypfer sorry if it seemed pushy. The reason, Marcin asked is because we can take responsibility for the additional changes. As you said, they are beyond your initial intentions. If you want to continue working on this, please let us know. We would be grateful, of course. Otherwise we can merge this as is and continue with additional enhancements in a separate PR. |
@MindFreeze Ah I see! Thanks for the clarification. Yeah, in that case, I don't want to block this. Feel free to take over. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH, we may not be able to get to it sooner but we're trying to keep open PRs to a minimum.
Thank you for the contribution!
Proposed change
I've discovered that the
MapViewStrategy
that populates the defaultmap
dashboard filters any entity that is "home" no matter if it has geolocation data. Checking the history, I can see that this is how it always worked:https://github.com/home-assistant/frontend/blame/7542c03dbbfd64e20dbc061ab6d271d4aec8a76a/src/panels/map/ha-panel-map.ts#L61-L87
I'd like to challenge that, because to me, it is very confusing.
I first thought that maybe my android companion app was misconfigured, because even though I enabled my location, I just couldn't see anything. There was simply no feedback excluding maybe the devtools where my
person
entity suddenly gainedlatitude
/longitude
attributes.I was considering that maybe I'm supposed to "Take Control" of the Map dashboard, however that also seemed wrong so I started digging and eventually found that filter.
Another inconsistency about this filter is that the
person
marker will show up while in any other configured zone (e.g.work
,school
, etc.) but not whilehome
.Type of change
Example configuration
Default config
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: