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

feat: update sync logic to fire on node selection #3497

Merged
merged 6 commits into from
Aug 5, 2020

Conversation

bheston
Copy link
Collaborator

@bheston bheston commented Jul 10, 2020

Description

Updated sync logic to fire on node selection. This will update a component when it's added or pasted into a new container.

Motivation & context

Currently you could have a themed design, but when adding a new theme-aware component it would not update to the theme settings. With this change it will update immediately when being placed into a themed container.

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Adding or modifying component(s) in @microsoft/fast-components checklist

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@EisenbergEffect
Copy link
Contributor

Going to pass on reviewing this since I'm not particularly familiar with this area of the codebase. What's the chance I could get a rundown on the Figma plugin sometime next week to bring me up to speed?

@bheston
Copy link
Collaborator Author

bheston commented Jul 10, 2020

@EisenbergEffect no worries. I could cover the "what" of the Figma plugin, but @nicholasrice or @Jeremy-Knudsen know the code better.

Copy link
Contributor

@nicholasrice nicholasrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a few nits

@bheston bheston force-pushed the users/bheston/figma-plugin-sync branch from b1a98c3 to 7299c51 Compare July 28, 2020 00:56
@EisenbergEffect
Copy link
Contributor

This PR is getting a little stale. @bheston Can you reach out to a few targeted individuals who you think can help with the review?

@bheston bheston force-pushed the users/bheston/figma-plugin-sync branch from 7299c51 to 7ccf8ac Compare August 4, 2020 22:44
@bheston bheston force-pushed the users/bheston/figma-plugin-sync branch from eeeada8 to 538b3f5 Compare August 5, 2020 15:38
@bheston bheston force-pushed the users/bheston/figma-plugin-sync branch from 538b3f5 to d7abe54 Compare August 5, 2020 15:53
@bheston bheston merged commit 17e5c8c into master Aug 5, 2020
@bheston bheston deleted the users/bheston/figma-plugin-sync branch August 5, 2020 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants