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

ColorPicker #31778

Open
17 of 28 tasks
gouttierre opened this issue Jun 20, 2024 · 14 comments
Open
17 of 28 tasks

ColorPicker #31778

gouttierre opened this issue Jun 20, 2024 · 14 comments

Comments

@gouttierre
Copy link
Contributor

gouttierre commented Jun 20, 2024

💡 When you create a PR for any of the checklist items, add a link to this Epic under the PR's Related Issues section.

Preparation

Implementation

Validation

@gouttierre
Copy link
Contributor Author

gouttierre commented Jun 20, 2024

📢

  • Partners are asking about the ColorPicker v9 and are not interested in the ColorCompact variant.
  • Whiteboard, Office AI is using color picker v8 with swatch picker v9 + are willing to contribute.
  • ODSP, Viva are also interested in the ETA of the component.
  • Need design resources + PoC and Prague eng. allocation.

cc @tudorpopams , @JustSlone , @paulgildea, @jurokapsiar

@gouttierre gouttierre changed the title ColorPicker [TBD] ColorPicker Jun 20, 2024
@gouttierre gouttierre mentioned this issue Jun 20, 2024
28 tasks
@gouttierre
Copy link
Contributor Author

📢

  • On hold until a severity issue gets addressed by dev.
  • Valentyna will be the dev assigned and Toshie will be on the design PoC.

cc @tudorpopams , @ValentinaKozlova , @jurokapsiar , @JustSlone

@paulgildea
Copy link
Member

Designer is also interested in a v9 based ColorPicker

@ValentinaKozlova ValentinaKozlova self-assigned this Jul 3, 2024
@ValentinaKozlova ValentinaKozlova moved this from Todo to In Progress in Fluent UI React Component Roadmap Jul 9, 2024
@tudorpopams tudorpopams removed their assignment Jul 23, 2024
@gouttierre
Copy link
Contributor Author

gouttierre commented Jul 31, 2024

📢

  • Valentyna has almost completed research on the use cases and confirmed with our partners: Anuj / Amit at WXP, and Bakhodir at ODSP on their needs.
  • Each partner is interested in the default v8 functionality. However, Valentyna has gathered implementation details to enhance the component further and plans to incorporate these insights into her implementation strategy to scale the component in the future.
  • Valentyna will begin collaborating with Toshie on the design specifications for the behaviors.

cc @ValentinaKozlova , @tudorpopams , @JustSlone , @paulgildea , @jurokapsiar

@gouttierre
Copy link
Contributor Author

gouttierre commented Sep 4, 2024

📢

  • ColorSlider is merged. AlphaSlider is in review, ColorArea in draft PR mode.
  • Currently, the engineer is working on adding context to the ColorPicker.

cc~ @tudorpopams , @ValentinaKozlova , @paulgildea , @JustSlone

@gouttierre
Copy link
Contributor Author

gouttierre commented Oct 16, 2024

📢

  • ColorArea mouse events - in review.
  • Dev is working on ColorPicker combined along with ColorArea keyboard events.

cc @tudorpopams , @ValentinaKozlova

@gouttierre
Copy link
Contributor Author

📢

cc ~ @ValentinaKozlova , @tudorpopams , @JustSlone

@emil-eklund
Copy link

I cannot seem to install the preview package & all stackblitzes seem to fail.

Cannot find module '@fluentui/react-color-picker-preview' or its corresponding type declarations.ts(2307)

Looking at npm, it seems the package is empty. Am I missing something or is the package not fully available yet?

@ValentinaKozlova
Copy link
Contributor

I cannot seem to install the preview package & all stackblitzes seem to fail.

Cannot find module '@fluentui/react-color-picker-preview' or its corresponding type declarations.ts(2307)

Looking at npm, it seems the package is empty. Am I missing something or is the package not fully available yet?

Hello @emil-eklund, thank you for catching that. I'll investigate why it's not fully available

@ValentinaKozlova
Copy link
Contributor

Hey @emil-eklund, now ColorPicker is available.
https://stackblitz.com/edit/pbynm62n?file=src%2Fexample.tsx
There was an issue with version of tinyColor. It got latest and it didn't work.

@emil-eklund
Copy link

emil-eklund commented Dec 9, 2024

@ValentinaKozlova Thank you! Can confirm it works now!

As an aside, where do you collect feedback from the preview? I noticed the component tends to steal focus when paired with an input textbox but I don't want to disrupt your normal workflow.

Edit: added example from storybook

Image

@ValentinaKozlova
Copy link
Contributor

@emil-eklund,
Thank you for your feedback. For bug reports, you can create issues on GitHub, and for ideas or feedback, please use GitHub Discussions. Kindly assign them to me. Regarding this specific issue, it has already been addressed: #33415.
Thank you once again for looking into and reporting it.

@ValentinaKozlova
Copy link
Contributor

Hey @emil-eklund, the bug is fixed. You might want to check it out: https://react.fluentui.dev/?path=/docs/preview-components-colorpicker--docs

@emil-eklund
Copy link

Thank you, @ValentinaKozlova! It works beautifully in the demo now! 🥳
Haven't been able to try it out in our system yet as the npm package is a bit old. (latest published 3 days ago, your commit was yesterday and the nightly build is empty).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

5 participants