-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Convert vis_type_tagcloud to Typescript #63592
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Hi @flash1293 , I would like to start contributing to Kibana. Can I start working on solving this issue? |
Hi @arjunvijayanathakurup , it's great you want to participate! Contributors are always welcome 💚 This issue is not in progress already, feel free to work on it. I will assign it to you so nobody else will start working on the same thing. |
Thank you @flash1293, really appreciate for assigning it to me. |
Hi @flash1293 , I've been having some issues with the conversion. Can you help me out with them? |
@arjunvijayanathakurup sure, list them out here. |
@arjunvijayanathakurup Hm, I'm not sure about the context here, it's probably related to other changes you did. Please put your current state in a draft PR, that makes it easier for me to reproduce. |
@flash1293, sure I'll add them |
Hey @flash1293, I have resolved some more errors but two remains. I got to know that |
@arjunvijayanathakurup In such a case if it's just a single occurrence in the code it's fine to cast it to the matching type. I took a look at your draft PR and there are still quite some Just a simple example: https://github.com/elastic/kibana/pull/64747/files#diff-4de8d7e461522a046f6fd82208d9fdd1R91 here |
@flash1293, I will change them. I was unsure about the types for some of them, but I will look into it. |
Hi @flash1293 , I have updated the code with the suggested changes. |
@arjunvijayanathakurup I went through parts of the PR, but there are still a lot of The reason I'm not feeling comfortable merging this in is that it gives the illusion of having type safety when in reality there is almost no protection. Leaving a few untyped parts in there because they are very difficult to type correctly is usually fine, but in the current state it's definitely too much to get merged, especially when the types are relatively straight forward to add. A basic rule of thumb is to not have |
@flash1293 Can I take this ? |
Hi @ashikmeerankutty , as you can see above @arjunvijayanathakurup started working on this a while back but wasn't active lately. I'm fine with you taking over, but you can also look into #65839 which is similar and nobody has started working on it yet. |
Hi @flash1293 ,I'm sorry for not being active. I will be committing the latest today. I have already made several changes as per your directions. |
Closing it as word cloud got ported and it uses TypeScript. |
The tag cloud visualization is still partially implemented in JS. These portions of the code should be converted to typescript to make it simpler to iterate and refactor
The text was updated successfully, but these errors were encountered: