-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Move Calendar and DatePicker to legacy package #9253
Conversation
Component perf results:
|
I think you might need to update some things on the perf-test? Some of these things are blank. |
Given that I didn't touch buttons, I doubt those are my fault. Maybe it's related to @khmakoto's recent PR touching Button in Fabric 7? |
Yes, I think those Button's are related to my PR. I'll check on why those entries are appearing as blanks. |
Chatted offline with @jdhuntington about these deprecation. Was going to comment about lacking code mods but realized those are all separate work items. So that's fine! I was also hoping that there would be a dedicated "legacy" section in the website for these components so people know not to choose them if they can help it -also another work item :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natalieethell Oops, I checked the Implementation sections for Calendar/DatePicker/Nav but assumed everything else would still work... Thanks for catching that! |
Looks like these lines are the culprit. Since this is in the following for loop the page data associated with each page name is being overwritten with the addition of the legacy apiJsonPath. This isn't an issue for references, because there aren't any pageNames in that blob: |
Okay here's what I think will work: We can move the following lines out of the for loop, so right above line 85 The |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
Pull request checklist
$ npm run change
Description of changes
Move the old Calendar and DatePicker components to the legacy package. Also fixed API doc generation for the legacy package.
Microsoft Reviewers: Open in CodeFlow