lovelace-plotly-graph-card icon indicating copy to clipboard operation
lovelace-plotly-graph-card copied to clipboard

URL duplicated in the `no_default_layout` deprecation message

Open ankostis opened this issue 1 year ago • 3 comments

When using the deprecated no_default_layout (replaced by raw_plotly_config), eg:

type: custom:plotly-graph
no_default_layout: true
...

... the warning message contains 2 links to the docs: image

... but the 2nd link is the same as the 1st one, while it should point to #204 (i guess): https://github.com/dbuezas/lovelace-plotly-graph-card/blob/661dab2f2886565f0e93262d7bc50378595bcf0a/src/parse-config/deprecations.ts#L12

ankostis avatar Nov 29 '23 08:11 ankostis

Thanks for the issue. It's intentional, the deprecation guide is just to replace it with what is stated in the linked section of the readme:

image

Is there anything missing from that?

dbuezas avatar Nov 29 '23 08:11 dbuezas

No, it's fine (just surprised the msg has 2 links pointing to the same URL)

ankostis avatar Nov 29 '23 13:11 ankostis

Oh, I see. I'll remove one of them later then to avoid confusion. Keeping open for now

dbuezas avatar Nov 29 '23 14:11 dbuezas