Countly / countly-sdk-web

Countly Product Analytics SDK for websites and web applications
https://count.ly/web-analytics
MIT License
204 stars 147 forks source link

Recommendation: Any plan on modularising the application/splitting into multiple files and also any plan of converting to typescipt. #75

Open MaheshB0ngani opened 4 years ago

MaheshB0ngani commented 4 years ago

Reason: This would help in attracting more contributors. As it would be easy to understand the code and identify the issues/improvements.

Note: I can contribute in the migration. I did something related to it, splitting into multiple files (Also migrating to Typescript) and now it is working as it should. And it can be further improved for better readability.

ar2rsawseen commented 4 years ago

Hello, two main points here :)

Firstly, me as a maintainer not really interested in this at this point, as long as the code works as is, but most probably, eventually it will be transferred to some other SDK specific developer, and then this decision would be up to them.

Secondly, we have quite a low browser support requirements, like IE7 support at this current point, for some legacy software of our clients. So there would be lots of polyfilling needed :)

fatihyildizhan commented 2 years ago

@ar2rsawseen Hello,

Is there Typescript support among your plans this year?

ar2rsawseen commented 2 years ago

Hello, not managing this SDK myself anymore, now the decision is up to @ArtursKadikis and @turtledreams :)

ArtursKadikis commented 2 years ago

Adding Typescript support is something that we would want to do. Currently we can't give any specific timelines of when that would be done. It is possible that it is added by the end of this year.

MrSquaare commented 2 years ago

I am also interested in TypeScript support.

John0x commented 2 years ago

At least having some typings is pretty much a no-brainer nowadays. Not seeing even a single .d.ts files is a pretty big no go

hellocory commented 6 months ago

2024 - one of the best open source analytics platform.. no types :(

turtledreams commented 6 months ago

2024 - one of the best open source analytics platform.. no types :(

Hey thank you! We started adding them but then other SDKs/features took over. We will definitely be adding the types as soon as the availability arises.

turtledreams commented 2 months ago

Hey everyone, version 24.4.1 now includes types for the SDK.