Skip to content

Fixing circular dependency and non-AMD references in ContextualMenu#4946

Merged
joschect merged 2 commits intomicrosoft:masterfrom
serkan-inci:master
May 22, 2018
Merged

Fixing circular dependency and non-AMD references in ContextualMenu#4946
joschect merged 2 commits intomicrosoft:masterfrom
serkan-inci:master

Conversation

@serkan-inci
Copy link
Copy Markdown
Contributor

@serkan-inci serkan-inci commented May 22, 2018

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ npm run change

Description of changes

There were problematic references under ContextualMenu:

  1. Files under ContextualMenu were referencing root file which is causing circular dependent references. I believe, references like "OfficeFabric/Component" should only be used outside of the component itself.

  2. There were references to the component folders which is causing issues for AMD since there is no corresponding file (fine for node module resolution since it resolves to Componet/index).

The fix just uses more specific references.

Focus areas to test

(optional)

Microsoft Reviewers: Open in CodeFlow

@serkan-inci serkan-inci requested a review from joschect as a code owner May 22, 2018 13:24
@joschect
Copy link
Copy Markdown
Contributor

Thanks!

@joschect joschect merged commit 7ee2f54 into microsoft:master May 22, 2018
Markionium added a commit to Markionium/office-ui-fabric-react that referenced this pull request May 23, 2018
* master: (67 commits)
  Applying package updates.
  Revert ChoiceGroup change in 5.0 to minimize potential partner impact. (microsoft#4962)
  Applying package updates.
  ChoiceGroup: getStyles conversion (microsoft#4852)
  Export SASS variables and mixins (microsoft#4959)
  Variants: update algorithm (microsoft#4949)
  Allow for customization of keycodes that cause the focus rect to appear (microsoft#4948)
  Mergestyles facepile (microsoft#4950)
  Fixing circular dependency and non-AMD references in ContextualMenu (microsoft#4946)
  Clean up semantic slots (microsoft#4932)
  Added missing merge-styles background-size typing (microsoft#4935)
  Applying package updates.
  Split menu button styles (microsoft#4922)
  Experimental Chiclet Component (microsoft#4678)
  Remove hover and pressed background colors (microsoft#4908)
  Remove @cschleiden as Rating code owner (microsoft#4929)
  Addressing Issue microsoft#3691 - SplitButton: In Safari, the SplitButton has mismatched heights (microsoft#4797)
  Applying package updates.
  Adding option for focus on tags in disabled picker (microsoft#4833)
  Jest merge-styles serialization fix for animation-name (microsoft#4927)
  ...
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants