vibe icon indicating copy to clipboard operation
vibe copied to clipboard

Checkbox Component Typescript converstion

Open orrgottlieb opened this issue 2 years ago • 2 comments

TypeScript here we come! We are migrating to typescript, we are doing so component by component

We would love some help in converting some of our component to typescript - we've created a README https://github.com/mondaycom/monday-ui-react-core/blob/master/TYPESCRIPT_MIGRATION.md

in this PR we expect you to convert the following files

  • [ ] Checkbox.js
  • [ ] useSupportFirefoxLabelClick.jsx
  • [ ] checkbox-tests.jest.js
  • [ ] checkbox-snapshot-tests.jest.js

Good luck!

orrgottlieb avatar Oct 02 '22 08:10 orrgottlieb

Hey @orrgottlieb it would be great if you assign this issue to me

Rahul-Palahwat avatar Oct 02 '22 08:10 Rahul-Palahwat

@Rahul-Palahwat go for it!

orrgottlieb avatar Oct 02 '22 09:10 orrgottlieb

Hey @Rahul-Palahwat ! Are you still working on this issue?

hadasfa avatar Oct 12 '22 07:10 hadasfa

Hey @hadasfa so sorry for delay. Please assign this issue to anyone else

Rahul-Palahwat avatar Oct 12 '22 08:10 Rahul-Palahwat

Hey @orrgottlieb can I pick this up?

suvnshr avatar Oct 12 '22 16:10 suvnshr

@suvnshr You got this! Good luck 🥇

hadasfa avatar Oct 18 '22 08:10 hadasfa

Thanks @hadasfa

suvnshr avatar Oct 18 '22 08:10 suvnshr

@suvnshr Hey are you still working on this issue?

hadasfa avatar Oct 24 '22 11:10 hadasfa

yes, got a busy schedule as of today...will start working on it again tomorrow onwards.

I have some changes left still.

suvnshr avatar Oct 24 '22 12:10 suvnshr

@orrgottlieb I have a doubt

Here, isFirefox is imported from user-agent-utils, where it is defined as a simple function.

but isFireFox is also calling a jest function in the same file here.

I'm confused, what type I should assign to isFireFox?

are they supposed to be 2 different variables? one for calling the jest function, and one for that user-agent function?

suvnshr avatar Dec 07 '22 18:12 suvnshr

Hi @orrgottlieb, @hadasfa, I hope you are doing well. I noticed that useSupportFirefoxLabelClick.jsx is still not converted to typescript. I have a PR ready to be created with relevant changes for the useSupportFirefoxLabelClick hook file Also, I have tested the functionality and it works as needed, I would be so happy to create a PR for it. Let me know if it is still relevant.

kabhamo avatar Mar 10 '23 14:03 kabhamo

Hi @kabhamo , Thanks! going over the PR now

orrgottlieb avatar Mar 12 '23 07:03 orrgottlieb

is it still opened?

lidoravitan avatar May 07 '23 09:05 lidoravitan

Hi @lidoravitan, this is done, but we have another great option for you if you want ResponsiveList https://github.com/mondaycom/monday-ui-react-core/blob/master/src/components/ResponsiveList/ResponsiveList.jsx

if you want i can create an issue for you and assign it to you ?

orrgottlieb avatar May 07 '23 09:05 orrgottlieb

sure let me know what needs to be done on ResponsiveList

lidoravitan avatar May 09 '23 10:05 lidoravitan

@orrgottlieb any update?

lidoravitan avatar May 17 '23 10:05 lidoravitan