Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 13, 2021. It is now read-only.

Conversation

@ilokhov
Copy link
Member

@ilokhov ilokhov commented Apr 27, 2020

We have several visualization types that rely on chart header (div.dw-chart-header) having an id value of header. From what I can see, it gets used at least in locator-maps, visualization-columns-charts and visualization-pie-chart.

This PR adds the ability to add id to BlockRegion and adds the id header to chart header.

@ilokhov ilokhov requested review from gka and sto3psl April 27, 2020 10:29
@gka
Copy link
Member

gka commented Apr 27, 2020

ok with me. we will at some point change all these selectors to classes, and also make sure they are only searched within the chart parent element. but we don't have to do it now

@ilokhov
Copy link
Member Author

ilokhov commented Apr 27, 2020

Ok thanks, I'll merge this now.

I don't mind going through the visualizations and changing relevant selectors to target .dw-chart-header instead of #header, but I thought that for now it's easier to replicate the old behaviour, since I'm not sure what other impact the missing header id might have.

But in the future we can still get rid of the ids (also in footer etc).

@ilokhov ilokhov merged commit e27ad16 into master Apr 27, 2020
@ilokhov ilokhov deleted the add-header-id branch April 27, 2020 10:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants