Граф коммитов

11701 Коммитов

Автор SHA1 Сообщение Дата
Mike Battista 7873d8d5b1 Updated the link to the recommended Markdown extension. 2022-06-23 20:25:35 -07:00
Mike Battista 752b821117 Added a section on menu item handlers and a useful link on rule-based UI context. 2022-06-23 20:14:02 -07:00
Mike Battista 0c27735a30 Updated the ToC. 2022-06-23 20:06:16 -07:00
Mike Battista fb0455d9ad Added section on the Edit Project menu. 2022-06-23 20:00:49 -07:00
Mike Battista 66d36fa6f9 Updated guidance for resetting the experimental instance. 2022-06-23 19:09:38 -07:00
Mike Battista 554c993d33 Added FabricBot config with default templates. 2022-06-22 18:23:46 -07:00
dependabot[bot] 956d06eeab
Bump Newtonsoft.Json (#4552)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.0.1 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/9.0.1...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 13:55:25 -07:00
dependabot[bot] a132802fa6
Bump Newtonsoft.Json from 12.0.2 to 13.0.1 in /code/tools/Localization (#4551)
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.2 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.2...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 13:54:48 -07:00
Mike Battista 1b727ff96e
Restored edit project functionality in all extensions (#4550)
* Added links to docs and hardcoded variables to troubleshoot why the context menu isn't showing up.

The vsct file looks correct based on the docs and the VS 2019 extension. Not able to break the debugger on Initialize which suggests the VSPackage isn't autoloading. vsixmanifest appears to be including the VSPackage as an Asset as expected.

* Stubbed out or removed elements that control visibility to try and get the context menu to show up.

* Context menu is showing now after adding/updating some csproj properties, setting the build action of the vsct manually to VSCTCompile, and setting a generic SolutionExists activation context. Also had to reset the experimental instance before this payload worked.

* Added back menu icons and restored the UWP activation context and Enabled/Visible checks in code. Removed AlwaysCreate on the Menu in the vsct.

* Restored Edit functionality in the UWP extension.

* Restored Edit functionality in the WPF extension.

* Restored Edit functionality in the WinUI extension.

* Added links to docs and renamed GUIDs in the WinUI extension.

* Added SelfContained to the edit project menu.
2022-06-22 12:27:50 -07:00
Mike Battista 90f1bd6880 Set MenuBarContentMargin right margin. 2022-06-21 22:45:24 -07:00
Mike Battista 3482afe0ab
Enable Nullable for #4473. (#4544)
* Enable Nullable for #4473.

* Fixed bug.

* Fixed indentation bug.

* Fixed line spacing issue.

* Fixed line spacing issue.

* Fixed line spacing issue.
2022-06-21 09:12:33 -07:00
Mike Battista 40cfc2e5a3 Moved ImplicitUsings. 2022-06-21 01:11:48 -07:00
Varorbc 724b079310
Enable ImplicitUsings (#4546)
* Enable ImplicitUsings

* update url

* fully qualify "UnhandledExceptionEventArgs"
2022-06-21 01:03:51 -07:00
Varorbc 02e38265fb
Use CommunityToolkit.Mvvm Instead of Microsoft.Toolkit.Mvvm (#4524)
* Use CommunityToolkit.Mvvm Instead of Microsoft.Toolkit.Mvvm

* fix rebase error

* fix Spelling mistakes
2022-06-20 19:44:37 -07:00
Varorbc b77eb16786
Use file-scoped namespaces declarations. (#4545) 2022-06-20 16:50:04 -07:00
Mike Battista 90a21eb73b Moved variable out of ForEach body. 2022-06-19 22:16:45 -07:00
Mike Battista e694d370ad Added script to import localized files from TDBuild. 2022-06-17 00:19:55 -07:00
Mike Battista 7a3afa6881 Added spaces to localized display names. 2022-06-16 23:56:41 -07:00
Mike Battista c76c8cd584 Reorganized templatestrings.json files. 2022-06-16 21:40:02 -07:00
Mike Battista 1bc7c73244
Refactored ProjectTypes and FrontendFrameworks. (#4542)
* Changed casing on FrontendFrameworks and ProjectTypes.

* Refactored ProjectTypes and FrontendFrameworks for localization.

* Updated paths in the localization pipeline.
2022-06-16 21:29:17 -07:00
Mike Battista d39dda13cd
Cleaned up vstemplate files and folders (#4540)
* Removed stale translations in vstemplate files.

* Cleaned up vstemplate folders.

* Updated slnf files.
2022-06-16 01:45:30 -07:00
Mike Battista efae41eb92 Added comments to templatestrings.json and cleaned up some strings. 2022-06-15 13:09:50 -07:00
Mike Battista efd033f771 Formatted MSIX templatestrings.json files. 2022-06-15 12:33:03 -07:00
Mike Battista 54070b8e4b Updated some template descriptions. 2022-06-14 16:52:35 -07:00
Mike Battista 4e7e571e4c Formatted all template.json files for consistency. 2022-06-14 16:39:54 -07:00
Mike Battista a355d1118b Updated menu bar description for consistency. 2022-06-14 14:17:28 -07:00
Mike Battista 07850f9843 Merge branch 'main' into mikebattista/localization 2022-06-14 13:36:30 -07:00
Mike Battista 33128394de
Updated all localizable WinUI files to follow new guidelines (#4538)
* Moved WinUI description.md files to localize.

* Moved localized WinUI template.json files to localize.

* Removed strings that shouldn't be localized.
2022-06-14 13:34:06 -07:00
Mike Battista 2cd5b807ae Removed strings that shouldn't be localized. 2022-06-14 12:28:25 -07:00
Mike Battista 761f6a060a Moved localized WinUI template.json files to localize. 2022-06-14 11:52:17 -07:00
Mike Battista c7733cfc15 Moved WinUI description.md files to localize. 2022-06-14 11:29:51 -07:00
Mike Battista b3b805bd16 Merge branch 'main' into mikebattista/localization 2022-06-14 10:00:29 -07:00
Mike Battista 59b0cd3753
Localize template.json files and refactor description.md localization (#4537)
* Initial import of localization pipeline.

* Renamed StringRes.resx to Resources.resx in preparation for onboarding to localization service.

* Fixed test.

* Localize template.json name and description properties once localized files are in the right location.

* Moved missed template.json file.

* Added base templatestrings.json to all WinUI templates.

* Added templatestrings.json to localization pipeline.

* Accept language prefix or suffix for localized description.md files.

New files should use the suffix and old files should eventually be renamed to use the suffix. Supporting the prefix enables existing files to continue being supported in the meantime.

* Allow description.md files to be moved under the localize folder.

Updated the MSIX feature to use the new location.
2022-06-14 09:45:12 -07:00
Mike Battista aff72d26ab Removed .gitmodules. 2022-06-14 01:43:34 -07:00
Mike Battista ac8ddeea2b Updated CHANGELOG.md. 2022-06-14 01:24:43 -07:00
Mike Battista 896a8e61bf Renamed file. 2022-06-14 01:05:30 -07:00
Mike Battista b9056b3e23 Updated docs README.md. 2022-06-14 00:44:43 -07:00
Mike Battista 84e98784b1 Removed stale docs. 2022-06-14 00:36:28 -07:00
Mike Battista 5aa3ab4252 Removed stale doc. 2022-06-14 00:30:33 -07:00
Mike Battista 6bfc02c362 Removed stale spec.
Not worth reimplementing and supporting Azure portal interfaces in the Template Studio wizard when we can link to them in TODO comments.
2022-06-13 15:10:08 -07:00
Mike Battista b21491d038 Removed reference to stale sample. 2022-06-13 15:05:11 -07:00
Mike Battista e91449b4f2 Removed stale samples. 2022-06-13 14:55:23 -07:00
Mike Battista 2806aff47d Removed stale files. 2022-06-11 13:25:32 -07:00
Mike Battista 9cd9139893 Removed stale files. 2022-06-11 13:17:56 -07:00
Mike Battista 74c6308391 Allow description.md files to be moved under the localize folder.
Updated the MSIX feature to use the new location.
2022-06-11 13:13:56 -07:00
Mike Battista 7304dd1f98 Merge main. 2022-06-11 11:39:07 -07:00
Mike Battista 4ed488aebc Accept language prefix or suffix for localized description.md files.
New files should use the suffix and old files should eventually be renamed to use the suffix. Supporting the prefix enables existing files to continue being supported in the meantime.
2022-06-11 11:34:55 -07:00
Mike Battista 0a184fbd97 Added templatestrings.json to localization pipeline. 2022-06-10 21:21:59 -07:00
Mike Battista 85b4cfe3cd Added base templatestrings.json to all WinUI templates. 2022-06-10 19:50:10 -07:00
Mike Battista 7a1e5ffcfb Moved missed template.json file. 2022-06-10 18:58:29 -07:00