This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GH-12457] Migrate 'components/widgets/menu' module and associated te…
…sts to TypeScript (#4118) * Fix Menu Group references. * Migrate 'components/widgets/menu/menu_group.jsx' and associated tests to Typescript. * Fix references to components/widgets/menu/menu_wrapper_animation.jsx * Migrate 'components/widgets/menu/menu_wrapper_animation.jsx' to Typescript * Fix references to 'components/widgets/menu/menu_wrapper.jsx' * Migrate 'components/widgest/menu/menu_wrapper.jsx' and related test to Typescript * Change back 'components/widgets/menu/menu_group.tsx' to PureComponent * Fix 'components/widgets/menu/menu_items/menu_item.jsx' references * Migrate 'components/widgets/menu/menu_items/menu_item.jsx' and related test to typescript * Fix references to 'components/widgets/menu/menu_items/menu_item_action.jsx' * Migrate 'components/widgets/menu/menu_items/menu_item_action.jsx' and related test to Typescript. Also added "displayName" property to MenuItem. * Fix references to 'components/widgets/menu/menu_items/menu_item_external_link.jsx' * Migrate 'components/widgets/menu/menu_items/menu_item_external_link.jsx' and related test to Typescript. * Fix 'components/widgets/menu/menu_items/menu_item_link.jsx' references * Migrate 'components/widgets/menu/menu_items/menu_item_link.jsx' and related test to Typescript. * Fix references to 'components/widgets/menu/menu_items/menu_item_toggle_modal_redux.jsx' * Migrate 'components/widgets/menu/menu_items/menu_item_toggle_modal_redux.jsx' and related test to Typescript * Fix 'components/widgets/menu/menu_items/submenu_item.jsx' references * Migrate 'components/widgets/menu/menu_items/submenu_item.jsx' and related tests to Typescript * Fix 'components/widgets/menu/menu.jsx' references. * Migrate 'components/widgets/menu/menu.jsx' and related tests to Typescript * Fix problem with modal tests by adding again the 'show' prop. * Fix 'components/widgets/menu/menu_modals/submenu_modal/submenu_modal.jsx' references * Migrate 'components/widgets/menu/menu_modals/submenu_modal/submenu_modal.jsx' and related tests to Typescript. * Place again the ref prop on the 'ul' element instead of the 'div' element. * Add the properties of the original component to the MenuItem class * Migrate 'components/widgets/menu/menu.stories.tsx' to Typescript * Rename new snapshot for 'menu_item_toggle_modal_redux.jsx' to consider typescript migration * Fix 'menu_item_toggle_modal_redux.test.tsx' snapshot to expect a MockFunction instead of a Function.
- Loading branch information
1 parent
96fa1bf
commit 9c6e5d9
Showing
30 changed files
with
241 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.