Mass edit / Bulk edit of tiles

I’d like the ability to be able to select multiple tiles and make a change that affects all of them. An example would be selecting all of my lights or fans and assigning them the same icon.

bulk editing of dimensions, styles, etc would also be great.

Dimensions would probably be pretty straight forward since they are standardized. Styles / Icons are a bit trickier since we moved away from generic default/active states to a more flexible state-mapped approach (eg. on/off, locked/unlocked).

It’s pretty straight forward when you want to copy from one light to another light, but what should happen when you attempt to copy from a light to a lock?

To help clarify, imagine your source was:

Bedroom Light:

  • Dimension:
    • Height: 1
    • Width: 2
  • Icons:
    • on: lamp
    • off: lamp
  • Styles:
    • on: lights-active
    • off: lights-default

What happens when you try to copy to a different tile type that doesn’t have the same state mappings?

Front Door

  • Dimension:
    • Height: 2
    • Width: 2
  • Icons:
    • locked: unset (eg. ‘locked’)
    • unlocked: unset (eg. ‘unlocked’
  • Styles:
    • locked: unset (eg. ‘active’)
    • unlocked: unset (eg. ‘default’)

My gut feeling is that if there aren’t matching state mappings, then that particular property wouldn’t get copied over (eg. icons and styles), but for something like the dimension it would successfully copy that property over (and overwrite the existing setting).

1 Like

Moving a couple of posts in here to consolidate threads :point_down::point_down::point_down:

@josh was There ever any movement on this topic? I often need to edit multiple tiles at the same time…this would reduce build times substantially.

There’s a feature request open for bulk editing of tiles here that you may want to vote on:

I totally agree. Making any kind of sweeping changes is just so cumbersome and painful right now. I did some of mine but gave up hoping for something more efficient.

I have been working most of the day playing with CSS style types (which never having used CSS before I kind of enjoy), but yes once I get the style the way I like it having to update each tiles dims, style, and occasionally icon takes a little bit of the fun out of it. I do however understand Josh’s point in your thread that different attribute types would not be able to handle the same styles in all cases. Perhaps an error handler could give a pop up warning when trying to copy incompatible styles between tiles that don’t have the same capabilities?