Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo: selelectWithoutLabel #146

Closed
kgeis opened this issue Dec 13, 2019 · 4 comments
Closed

typo: selelectWithoutLabel #146

kgeis opened this issue Dec 13, 2019 · 4 comments
Assignees
Labels
problem bug or something isn't working

Comments

@kgeis
Copy link

kgeis commented Dec 13, 2019

Describe the bug
The text tag has a parameter selelectWithoutLabel. It should be selectWithoutLabel. I am hesitant to offer a pull request because a change could break users' existing solutions. A deprecation strategy is suggested, and I'm not sure how to do that with your code.

To Reproduce
Steps to reproduce the behavior:

  1. Visit https://labelstud.io/tags/text.html
  2. See spelling

Expected behavior
The label should be selectWithoutLabel.

@kgeis kgeis added the problem bug or something isn't working label Dec 13, 2019
@shevchenkonik
Copy link
Contributor

@kgeis Hi! I'm not sure about default state is withoutLabel.

The main reasons:

  1. The logic for all tags should be the same for future HOC.
  2. The main task of markup data is to separate different labels & entities.

But I think it's a good idea to create more concise names of parameters for tags. For example change selectWithoutLabel to emptyLabel (or similar).

@kgeis
Copy link
Author

kgeis commented Dec 16, 2019

@shevchenkonik, I don't understand your comment. I'm just saying that the parameter name has an extra "le" in it. Maybe this makes it more clear: se<le>lectWithoutLabel

@shevchenkonik
Copy link
Contributor

@kgeis haha I did not notice typos :)

Yes, you are right about deprecation strategy and in the the current version we can leave a selelectWithoutLabel and add new one as selectWithoutLabel (and add TODO comment):

/** TODO */
if (!self.selelectwithoutlabel || !self.selectwithoutlabel) /** ... */;

In the next major release, we will update the logic of this tag and will add major release note.

@deppp
Copy link
Collaborator

deppp commented Dec 19, 2019

@kgeis Thanks for reporting. That was fixed in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem bug or something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants