Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Feature Request: Tile opacity and 'group' backgrounds #3

Closed
xAPPO opened this issue Jun 19, 2018 · 7 comments
Closed

Feature Request: Tile opacity and 'group' backgrounds #3

xAPPO opened this issue Jun 19, 2018 · 7 comments
Labels
enhancement New feature or request

Comments

@xAPPO
Copy link

xAPPO commented Jun 19, 2018

Feature Request:

Consider allowing each tile background image to have an opacity set within the config.js

Consider allowing a background image to be defined in config.js for each group and for that too to have an optional opacity value.

@Evgeny-
Copy link
Collaborator

Evgeny- commented Jun 19, 2018

What do you mean by group background?

@Evgeny- Evgeny- added the enhancement New feature or request label Jun 19, 2018
@xAPPO
Copy link
Author

xAPPO commented Jun 19, 2018

When you define a group like the 'First Group' in your default config.js - that's what I'm meaning. So that it is then a background to all the items that you then include in that group. Each group could have a background and as they are each defined with a width and a height you should be able to size the backgrounds accordingly. They would sit above the page background and behind the tiles and they would be removed (along with the group tiles) when you changed pages.

@Evgeny-
Copy link
Collaborator

Evgeny- commented Jun 19, 2018

Tbh do not see any reason for doing background for groups in our case, though we can make some basic style object for groups, so you'll be able to make background for them. On the other hand background opacity for tiles have sense, will look into it

@Evgeny-
Copy link
Collaborator

Evgeny- commented Jun 19, 2018

I've added bgOpacity field for Tiles

63a1fb6

@xAPPO
Copy link
Author

xAPPO commented Jun 19, 2018

Wow, that was quick ...Thanks 😀

Re group backgrounds ..OK.. it’s not a big need for me. It just allows people to create visually nicer presentations .. I suppose I can have separate page backgrounds but then this become really messy, rather than being associated with a group. I just feel it would maximise ‘easy’ customisation. Making for a great UX.

I suppose one usage might be where you are displaying groups that are in fact rooms, and you might put an outline floorplan or image of the room behind the items that are in that group to provide easier identification of where the particular item is e.g. for lights or door open sensors.

@xAPPO xAPPO changed the title Tile opacity and 'group' backgrounds Feature Request: Tile opacity and 'group' backgrounds Jun 19, 2018
@xAPPO
Copy link
Author

xAPPO commented Jun 20, 2018

I have found a way around this request for group backgrounds (by just using an oversized and overlapping tile) which works really well. So I'll withdraw that feature request.

Thanks for implementing bgOpacity so promptly ..

I'll close this issue now.

@xAPPO xAPPO closed this as completed Jun 20, 2018
Evgeny- added a commit that referenced this issue Jun 20, 2018
@sy-per
Copy link

sy-per commented Dec 25, 2018

I have found a way around this request for group backgrounds (by just using an oversized and overlapping tile) which works really well. So I'll withdraw that feature request.

Thanks for implementing bgOpacity so promptly ..

I'll close this issue now.

Hello,
I have the same request as you for the same need!
How do you do to have a background image for a group?
Thank you

rchl pushed a commit that referenced this issue Mar 11, 2021
Align from resoai master
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants