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

Add new 'DesignTools' projects #3318

Merged
11 commits merged into from
Dec 10, 2020
Merged

Conversation

Nirmal4G
Copy link
Contributor

@Nirmal4G Nirmal4G commented May 31, 2020

Fixes #3252

Created the DesignTools projects and refactored the code to work with the new XAML Designer.

Both Design and DesignTools projects live SxS (Side by Side) now, so that, we can ship for both the designers for the foreseeable future.
Reason: It was decided that we don't need to support older Designer anymore.

Part of #3062

More info in each of the commits' description.

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactoring (no functional changes)
  • Build

What is the current behavior?

Design tools don't work well with our controls (after VS v16.4 upgrade) because of the new XAML designer.

What is the new behavior?

Now the design tools should work as before as the new DesignTools projects have been introduced to work with the new XAML designer.

PR Checklist

Please check if your PR fulfils the following requirements:

  • Tested code with current supported SDKs
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

Other information

Conversion to Sdk-style, adding more metadata and using source generators (once enough docs/samples available) to do it, will come in later PRs.

@ghost
Copy link

ghost commented May 31, 2020

Thanks Nirmal4G for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌

@ghost ghost assigned azchohfi May 31, 2020
@ghost ghost added feature request 📬 A request for new changes to improve functionality improvements ✨ labels May 31, 2020
@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from ca37481 to 66e841a Compare June 9, 2020 21:37
@michael-hawker michael-hawker mentioned this pull request Jun 23, 2020
70 tasks
@azchohfi
Copy link
Contributor

@Nirmal4G any update on this?

@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from 66e841a to 5762d01 Compare July 10, 2020 07:52
@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from 5762d01 to d11909b Compare July 17, 2020 17:21
@michael-hawker michael-hawker added this to the 7.0 milestone Aug 18, 2020
@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from d11909b to 6c1bac0 Compare September 1, 2020 15:40
@michael-hawker
Copy link
Member

@Nirmal4G see you have some commits here, are you expecting more changes or should we try to test this out in its current state?

@Nirmal4G
Copy link
Contributor Author

Nirmal4G commented Sep 1, 2020

@michael-hawker I still have that problem where I need an alternative solution to using the XML Doc.

Tried a few things, I might have something working as a potential replacement. Will update here once it's ready for review.

@Nirmal4G
Copy link
Contributor Author

Nirmal4G commented Sep 1, 2020

Feel free to test it out. From this point it's just fixes and metadata additions for more controls.

@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from 6c1bac0 to 757bc97 Compare September 14, 2020 21:28
@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch 3 times, most recently from 8fb133b to 263eab3 Compare September 24, 2020 23:51
@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from 263eab3 to 42bc139 Compare October 3, 2020 10:55
@Nirmal4G
Copy link
Contributor Author

Nirmal4G commented Dec 1, 2020

Yeah... I'm looking into it. Some changes between now and then broke it when I rebased on top of the latest master.

Found the issue: PR #3450 created smoke tests and the project file used older DefaultTargetPlatformVersion which I replaced with TargetPlatformRevision and same for min version property too. Since it was added later, I didn't see it in my rebase.

I renamed the property names and that should let the tests build properly now.

@Nirmal4G Nirmal4G force-pushed the feature/design-tools branch from 078bc12 to 9019a28 Compare December 1, 2020 19:46
@michael-hawker
Copy link
Member

Thanks so much @Nirmal4G for being on top of updates this morning! 🎉🎉🎉

We'll take a look at vetting the NuGets which have generated now and see how things are working. It'll be great to finally get this all together. Thanks so much again for your patience in getting this together for us, it's been very much appreciated. 🦙❤

@RosarioPulella want to do an initial pass next of updating to these PR NuGets in a fresh VS project and seeing how things work in the Designer with VS 2019 16.8.2?

Copy link
Contributor

@Rosuavio Rosuavio left a comment

Choose a reason for hiding this comment

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

Works well in my testing @michael-hawker.

Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

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

Looking good! Not sure why @Nirmal4G, but I couldn't see the MarkdownTextBlock in the Toolbox. I can't see an obvious reason why something would be different here? Main package and DataGrid seemed to work fine.

Can you also add a Wiki Page for this under the Development/Testing section with some guidance on how this project is setup and how someone would go about modifying info here or adding data for a new control? For instance are the Typedata files just hand-crafted copies?

@azchohfi can you take a quick glance at the prop/target file changes? Otherwise, I'm good with this once we tweak the MarkdownTextBlock package.

@michael-hawker michael-hawker dismissed azchohfi’s stale review December 10, 2020 21:18

Going to fix-forward after and get this merged.

@ghost
Copy link

ghost commented Dec 10, 2020

Hello @michael-hawker!

Because this pull request has the auto merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@michael-hawker
Copy link
Member

This should merge after the build, created #3620 to follow-up on remaining small open issues.

@ghost ghost merged commit 0975081 into CommunityToolkit:master Dec 10, 2020
@ghost
Copy link

ghost commented Feb 28, 2021

This PR has been marked as "needs attention 👋" and awaiting a response from the team.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merge ⚡ feature request 📬 A request for new changes to improve functionality improvements ✨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Update Designer Metadata to new VS2019 Model
8 participants