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

typo in rule-definitions.js #90

Closed
manishbisht opened this issue Apr 1, 2018 · 7 comments
Closed

typo in rule-definitions.js #90

manishbisht opened this issue Apr 1, 2018 · 7 comments

Comments

@manishbisht
Copy link

manishbisht commented Apr 1, 2018

Typo in Line 139: displayName: 'HRef',

I think 'R' should be small displayName: 'Href',

@pestevez
Copy link
Contributor

pestevez commented Apr 2, 2018

Hey @manishbisht, thanks for your comment. To be honest, I am not sure which one is the correct one (since most of the references I found to href is all lowercase. In any case, since the displayName is only used to generate the text of a label, both options should be fine.

I am leaning towards something like 'Destination (href)' what do you think?

@manishbisht
Copy link
Author

manishbisht commented Apr 2, 2018

'Destination (href)' is also good. I think 'Hyperlink' will look much better.

@pestevez
Copy link
Contributor

pestevez commented Apr 2, 2018

We are using 'Link' (which is closer to the one you are proposing) to describe the whole rule. In this case, I think 'HRef' (or a variation of it) describes accurately the attribute of the hyperlink that we want to set; but I am happy to discuss it with a broader group.

image

Perhaps clarifying the difference between the rule (for example, Hyperlink) and its properties (href, rel, etc.) is one of the areas where we should add some clarity.

@manishbisht
Copy link
Author

URL can also be a good replacement. What do you think @pestevez ?

@vaibhavsingh97
Copy link

@manishbisht @pestevez definitely URL is a good replacement, Should I go and fix the issue?

@pestevez
Copy link
Contributor

Hi @manishbisht and @vaibhavsingh97 - apologies for the delayed response. URL looks good to me.

@pestevez
Copy link
Contributor

Changed in #90. Closing now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants