cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

fix: changed assign to field as typeable input

Open joe-shajan opened this issue 2 years ago • 8 comments

What does this PR do?

Fixes #8412

Changed assign_to field as a simple typable input.

After assign to dark

So after this ChildrenEventTypeSelect file is not used anymore right? but when I tried to delete it. I noticed that it's also used in event-types/[type]/index.tsx Can I remove it from there also? Or is there any other use for it?

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works

joe-shajan avatar Apr 23 '23 18:04 joe-shajan

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 3, 2023 11:20am

vercel[bot] avatar Apr 23 '23 18:04 vercel[bot]

@joe-shajan is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 23 '23 18:04 vercel[bot]

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

github-actions[bot] avatar Apr 23 '23 18:04 github-actions[bot]

e2e test is failing is it because I changed the select input to normal typable input? @PeerRich

joe-shajan avatar Apr 24 '23 06:04 joe-shajan

I think what @PeerRich meant here was to enable search within the select. What I see is it has become just a text field now.

Really? Sorry, my bad. Will change it then. Do we have that component? @hariombalhara

joe-shajan avatar Apr 25 '23 10:04 joe-shajan

Select supports it already. I think it's disabled there not sure why

hariombalhara avatar Apr 25 '23 10:04 hariombalhara

Select supports it already. I think it's disabled there not sure why

Ok thanks, will check that out.

joe-shajan avatar Apr 25 '23 10:04 joe-shajan

Hi, @hariombalhara searchable for select was set to false. So I removed that line because the select compnent is searchable by default.

https://user-images.githubusercontent.com/69904519/235213736-0a41db5c-041f-4670-bb00-da89a54ef5b3.mp4

joe-shajan avatar Apr 28 '23 17:04 joe-shajan

@joe-shajan just create a new branch and raise a new PR with packages/features/eventtypes/components/ChildrenEventTypeSelect.tsx changes

Udit-takkar avatar May 03 '23 11:05 Udit-takkar

@joe-shajan just create a new branch and raise a new PR with packages/features/eventtypes/components/ChildrenEventTypeSelect.tsx changes

Sure will do that 👍

joe-shajan avatar May 03 '23 11:05 joe-shajan

Closing this pull request and raised a new one #8637

joe-shajan avatar May 03 '23 11:05 joe-shajan