Giter VIP home page Giter VIP logo

devhome's Introduction

dev-home-readme-header

Welcome to the Dev Home repo!

Dev Home is a new experience from Microsoft aiming to give developers more power on Windows.

This repository contains the source code for:

Related repositories include:

Installing and running Dev Home

Note: Dev Home requires Windows 11 21H2 (build 22000) or later.

If you are running Windows 11 23H2 (build 22621.2361) or later, you can install and run Dev Home just by finding it in the Start menu.

Otherwise, you can install Dev Home from the Microsoft Store. This allows you to always be on the latest version when we release new builds with automatic upgrades. Note that widgets may not work on older versions of Windows.

This is our preferred method.

Other install methods

Via GitHub

For users who are unable to install Dev Home from the Microsoft Store, released builds can be manually downloaded from this repository's Releases page.

Via Windows Package Manager CLI (aka winget)

winget users can download and install the latest Dev Home release by installing the Microsoft.DevHome package:

winget install --id Microsoft.DevHome -e

Dev Home roadmap

The plan for Dev Home can be found in our roadmap.


Dev Home overview

Please take a few minutes to review the overview below before diving into the code:

Dashboard

The Dev Home dashboard displays Windows widgets. These widgets are built using the Windows widget platform, which relies on Adaptive Cards.

Machine configuration

The machine configuration tool utilizes the Dev Home GitHub Extension, but isn't required to clone and install apps. The app installation tool is powered by winget.

Popular apps

The machine configuration tool provides a list of popular apps when selecting applications to install. This is currently a hard-coded list of applications that have been popular with developers on Windows. Popularity was determined by high levels of installation and usage. As this is a moment in time, we are not accepting submissions for this list. We're looking to improve the experience with Suggested Apps so the list can be optimized for developers.


Documentation

Documentation for Dev Home can be found at https://aka.ms/devhomedocs.


Contributing

We are excited to work alongside you, our amazing community, to build and enhance Dev Home!

BEFORE you start work on a feature/fix, please read & follow our Contributor's Guide to help avoid any wasted or duplicate effort.

Communicating with the team

The easiest way to communicate with the team is via GitHub issues.

Please file new issues, feature requests, and suggestions but DO search for similar open/closed preexisting issues before creating a new issue.

If you would like to ask a question that you feel doesn't warrant an issue (yet), please reach out to us via Twitter:

Developer guidance


Code of conduct

We welcome contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third-parties' policies.

Thanks to our contributors

devhome's People

Contributors

amelbawa-msft avatar bbonaby avatar chendrixson avatar chenss3 avatar cinnamon-msft avatar denelon avatar dhoehna avatar dkbennett avatar dreynor avatar ericjohnson327 avatar florelis avatar guimafelipe avatar hamnarauf avatar jsidewhite avatar krschau avatar manodasanw avatar matthyman avatar microsoftopensource avatar niels9001 avatar nieubank avatar rdmaclachlan avatar ryfu-msft avatar sergio0694 avatar sohamdas2021 avatar sshilov7 avatar ssparach avatar stefansjfw avatar subhasan avatar ujjwalchadha avatar vineeththomasalex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devhome's Issues

Repo tool should tell user when there is something blocking it from adding a Dev Drive

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Use up all drive letters, or have less than 50 GB available on the Drive where your OS is located. then open repo tool, and click "optimize repo performance with a new Dev Drive" check box.

Expected behavior

Should show at least a sentence telling the user they can't create a dev drive, for one of the 2 reasons above for example. and have the checkbox stay non checked.

Actual behavior

Checkbox stays non checked, but no message to the user explaining why.

Included System Information

No response

Clicking "Connect to Github" button on "What's New" page doesn't have any apparent effect?

Dev Home version

1.0.0.0

Windows build number

10.0.23420.1000

Other software

OS Build Version: 10.0.23420.1000.amd64fre.ni_moment_directadept.230317-1531
.NET Version: .NET 6.0.15

Steps to reproduce

  1. Install the GitHub package and DevHome package from the 3/17 self-host mail.
  2. Launch DevHome and click the 'Connect to Github' button on the 'What's New' page

Expected behavior

I was expecting some sort of account connection flow to get initiated.

Actual behavior

Nothing, as far as I can tell.

(There's also a spelling nit IMO on the button- I think 'Github' should be cased as 'GitHub'.)

Included System Information

CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
Physical Memory: 34.18GB (20.19GB free)
Processor Architecture: x64

DataGrid won't show any items unless app is clicked on.

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Add any amount of repos with the repo tool.

Expected behavior

Data Grid pops up with all the repos I want to clone.

Actual behavior

Sometimes the DataGrid won't populate until I click on DevHome.

Included System Information

No response

[FRE] What's New Page: Layout, Connect Button

Dev Home version

No response

Windows build number

No response

Other software

[] What's New Page does not adjust item height and can cut off content
[] The connect dev id button does not do anything

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Plugins should be able to close AdaptiveCard UI

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

https://github.com/microsoft/devhome/blob/main/pluginsdk/Microsoft.Windows.DevHome.SDK/Microsoft.Windows.DevHome.SDK.PluginUI.idl

In the current PluginUI design, there isn't a way for the Plugin to close the AdaptiveCard dialog.
It might be a good idea to have a design where "if TemplateJson is null" the parent dialog can query this and close itself. This can also just be an event on the AdaptiveCardController to signal that the Plugin wants to close the dialog.

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Add support for other package managers

Description of the new feature / enhancement

If I want to use another package manager I should be able to add those packages and not just the ones from WinGet.

Scenario when this would be used?

I might already have another preferred package manager, and I don't want to need to leave Dev Home just to use another package manager.

Individual requests for specific package managers:

Supporting information

No response

Telemetry doesn't work

Dev Home version

https://dev.azure.com/microsoft/Dart/_build/results?buildId=66877959&view=results

Windows build number

No response

Other software

No response

Steps to reproduce

  • Launch Dev Home
  • Check Telemetry on TTRT or Diagnostic viewer.
  • No Telemetry

#71 Adds telemetry on Dev Home Launch (and login and logout).
Launching Dev Home should send a telemetry event (on build https://dev.azure.com/microsoft/Dart/_build/results?buildId=66877959&view=results). This doesn't happen.

Expected behavior

See "Startup_DevId_Event" in Telemetry.

Actual behavior

Can see following breakpoints being hit in DevHome.Telemetry:
image

image

However, no actual Telemetry events show up in TTRT.

Included System Information

No response

Make devhome self-contained

Dev Home version

No response

Windows build number

No response

Other software

We need

  • self contained
  • ready to run
  • il trimming

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Give Feedback submits if you press enter in any of the TextBoxes

Dev Home version

1.0.0.0

Windows build number

10.0.23410.1000

Other software

OS Build Version: 10.0.23410.1000.amd64fre.ni_moment_directadept.230303-1631
.NET Version: .NET 6.0.14

Steps to reproduce

  • Navigate to "๐Ÿ™๐Ÿ’ฌ Give Feedback"
  • Type in a Subject/Title
  • Press Enter
  • Suddenly you're on GitHub

Expected behavior

Pressing Enter should not submit the whole form, particularly when in multiline fields like "Steps to recreate".

Actual behavior

Pressing enter closes the dialog and navigates to GitHub

Included System Information

CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB (48.99GB free)
Processor Architecture: x64

Widgets should scroll

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

add a widget e.g. issues for https://github.com/microsoft/adaptivecards
only 2 issues fit in the card, the card should scroll (e.g. 10 items or something)

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Add Icons to "Install Applications"

Description of the new feature / enhancement

I'd like to see the correct icons for packages.

Scenario when this would be used?

When I'm trying to install applications, it would help to see familiar icons so I can be sure I'm installing the right thing.

Related to:

Supporting information

No response

App window became nonresponsive when clicking around the Repository Connection page

Dev Home version

1.0.0.0

Windows build number

10.0.23411.1000

Other software

OS Build Version: 10.0.23411.1000.amd64fre.ni_moment_directadept.230306-1233
.NET Version: .NET 6.0.14

Steps to reproduce

I don't have an exact repro here, as I observed this while mostly clicking around in the user interface. I was on the Repository Connection page (without having previously connected to any GitHub accounts); I clicked on one of the items (don't remember which one, unfortunately) to try out the connection flow, at which point the interface became nonresponsive. I don't see any ghosting of the window.

I captured a dump of the process here: \\redmond\win\Users\ADITYAR\dumps\DevHome.dmp

Expected behavior

I was expecting that the connection flow would be initiated.

Actual behavior

The window stopped responding to input (it looks otherwise normal). One note, which I am not sure is relevant, is that I am RDP'd into the machine where I encountered this.

image

Included System Information

CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB
Processor Architecture: x64

Repo connection page needs margins

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

image

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Dev Home OAuth app should be updated

Dev Home version

No response

Windows build number

No response

Other software

Dev Home OAuth app

Steps to reproduce

No response

Expected behavior

Some details have to be updated in the Dev Home OAuth app.
https://github.com/settings/connections/applications/0b354bb03d7f1ee0128f

The following details have to be updated:
Name: Dev Home GitHub Extension
Description: GitHub Extension for Microsoft Dev Home application.
Logo.

Should file a ticket here: https://aka.ms/opensource/ticket
Support from: brandolph

Actual behavior

Placeholder fields in the OAuth app.

Included System Information

No response

Clone a repository / connect advances to page before auth completes

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Dev Setup tool -> Account -> Select GitHub -> within 5 seconds, the clone a repository dialog updates, before you've completed the github OAuth flow

image

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

App names for core app and extensions need renames

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

image

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Change the IPluginAdaptiveCard's `template` parameter name in `Update` in Microsoft.Windows.DevHome.SDK.PluginUI.idl

Dev Home version

1.0.0.0

Windows build number

10.0.23411.1000

Other software

OS Build Version: 10.0.23411.1000.amd64fre.ni_moment_directadept.230306-1233
.NET Version: .NET 6.0.14

Steps to reproduce

Try to consume the DevHome SDK's .winmd file from a C++/WinRT application in Visual Studio.

Expected behavior

The application can be compiled successfully.

Actual behavior

The header file that is generated from the .winmd contains syntax errors. This is because the IPluginAdaptiveCard's Update method contains a C++ language keyword.

image

Included System Information

CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB (43.15GB free)
Processor Architecture: x64

Loading screen should indicate that a task is still running.

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Clone a large repository.

Expected behavior

A symbol, or something, should indicate that the task is running and not frozen.

Actual behavior

No UI indication that the tasks is still being executed. Makes me think that the tasks froze.

Included System Information

No response

Clone path placeholder text is not a Windows path

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

image

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Submit button is too narrow in GH Issues widgets

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

image

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Clone a repository -> Dev volume doesn't work

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Clone path combobox is empty

image

even though I have a dev drive:
image

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Cloning repo appends extra path segments.

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Clone anything.

Expected behavior

The repository should be cloned to the path in Clone Path.

The only time Clone Path should be modified is in the case of a naming conflict or the directory exists and isn't empty.

Actual behavior

Cloning should clone to the path specified in Clone Path unless cloning would result in a conflict.

Included System Information

No response

Unable to manually add account through 'Clone a Repository' flow

Dev Home version

1.0.0.0

Windows build number

10.0.23420.1000

Other software

OS Build Version: 10.0.23420.1000.amd64fre.ni_moment_directadept.230317-1531
.NET Version: .NET 6.0.15

Steps to reproduce

  1. Launch DevHome
  2. Click the Dev Setup tool option and then click 'Clone a Repository'
  3. Click 'Add' under Repository Connection
  4. Click 'Account' on the 'Clone a repository' window
  5. Under 'Add account', choose the 'GitHub Repository Provider'

Expected behavior

Expected:
Auth flow gets kicked off in the browser and I can Authorize the app

Actual behavior

Actual:
The GitHub URL didn't actually resolve properly the first time (I didn't see the Authorization UI show up in the browser). I ended up closing the tab and trying again a few more times, but subsequent attempts never actually reloaded the GitHub URL.

Here's what I see in some of the log files for the GitHub package in case this helps reconstruct what happened:

DevId:
[2023/03/22 05:00:32.6871][DevId] INFO: Creating AuthenticationProvider singleton instance
[2023/03/22 05:04:54.2089][DevId] INFO: Uri Launched - Check browser
[2023/03/22 05:05:12.4534][DevId] INFO: Uri Launched - Check browser
[2023/03/22 05:06:00.5874][DevId] INFO: Exchanging code for tokens...
[2023/03/22 05:06:55.8337][DevId] INFO: Uri Launched - Check browser
[2023/03/22 05:06:58.8420][DevId] INFO: Exchanging code for tokens...
[2023/03/22 05:08:29.3586][DevId] INFO: Uri Launched - Check browser
[2023/03/22 05:08:32.4046][DevId] INFO: Exchanging code for tokens...

PluginServer (each group is a separate log file)
[2023/03/22 05:00:32.5935][Plugin] INFO: Launched with args: -RegisterProcessAsComServer -Embedding
[2023/03/22 05:00:32.6473][Plugin] INFO: Activating COM Server
[2023/03/22 05:05:15.7837][Plugin] INFO: Redirected with args: Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs
[2023/03/22 05:06:00.5785][Plugin] INFO: Redirected with args: Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs
[2023/03/22 05:06:00.5796][Plugin] INFO: Protocol Activation redirected from: devhome://oauth_redirect_uri/?code=43b21c31ae98574f4867&state=1324246830
[2023/03/22 05:06:58.8414][Plugin] INFO: Redirected with args: Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs
[2023/03/22 05:06:58.8419][Plugin] INFO: Protocol Activation redirected from: devhome://oauth_redirect_uri/?code=43d91efe12e9d90944f9&state=473899228
[2023/03/22 05:08:32.4038][Plugin] INFO: Redirected with args: Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs
[2023/03/22 05:08:32.4045][Plugin] INFO: Protocol Activation redirected from: devhome://oauth_redirect_uri/?code=15d6401933b74d8d341a&state=981923392

[2023/03/22 05:05:15.7476][Plugin] INFO: Launched with args: devhome://oauth_redirect_uri/?code=0308d46dfa19742ad754&state=1182285019
[2023/03/22 05:05:15.7728][Plugin] INFO: Not main instance, redirecting.

[2023/03/22 05:06:00.5470][Plugin] INFO: Launched with args: devhome://oauth_redirect_uri/?code=43b21c31ae98574f4867&state=1324246830
[2023/03/22 05:06:00.5726][Plugin] INFO: Not main instance, redirecting.

[2023/03/22 05:06:58.8106][Plugin] INFO: Launched with args: devhome://oauth_redirect_uri/?code=43d91efe12e9d90944f9&state=473899228
[2023/03/22 05:06:58.8340][Plugin] INFO: Not main instance, redirecting.

[2023/03/22 05:08:32.3745][Plugin] INFO: Launched with args: devhome://oauth_redirect_uri/?code=15d6401933b74d8d341a&state=981923392
[2023/03/22 05:08:32.3979][Plugin] INFO: Not main instance, redirecting.

Widgets
[2023/03/22 05:00:32.6621][Widgets] INFO: Provider Constructed
[2023/03/22 05:00:32.6770][Widgets] INFO: No running widgets to recover.

Included System Information

CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
Physical Memory: 34.18GB (19.5GB free)
Processor Architecture: x64

Adding a widget throws octokit exception

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

image

might require a fix in octokit?

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Possible memory leak in WindowsPackageManager

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

In the CreateInstance() method, we do AddRef (indirectly) on the native object twice:

1st when doing CoCreateInstance
2nd when doing FromAbi on the native pointer

This can result in the native object never being cleaned. We should do one release immediately. The other release would automatically be done when the object goes out of scope.

Included System Information

No response

No account is selected yet - but I've already set up an account

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

image

if there is only one account, it should be pre-selected for you

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

DevHome hangs if launched after extension is installed

Dev Home version

No response

Windows build number

No response

Other software

Latest builds of both from main azure pipeline artifacts.

Repro steps:

  1. Download both packages from DevHome and GitHub Extension pipeline artifacts.

  2. Install Dev Home, Launch DevHome, Install Extension -> No hang, works as expected (except only widgets work from DevHome)

  3. Now close and launch Dev Home again -> Hangs on app startup

To fix this state, remove both packages, go back to step 2. This appears to happen anytime the extension package is deployed before DevHome launches for the first time.

Steps to reproduce

Repro steps:

  1. Download both packages from DevHome and GitHub Extension pipeline artifacts.

  2. Install Dev Home, Launch DevHome, Install Extension -> No hang, works as expected (except only widgets work from DevHome)

  3. Now close and launch Dev Home again -> Hangs on app startup

To fix this state, remove both packages, go back to step 2. This appears to happen anytime the extension package is deployed before DevHome launches for the first time.

As an additional note, the launch order of extension and host app should not matter. You can subscribe to Package Install events for AppExtensions to detect when a new extension package has been installed. https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.appextensions.appextensioncatalog?view=winrt-22621

Expected behavior

I was expecting it not to hang.

Actual behavior

It hangs and is unusable.

Included System Information

No response

Add 'last sync time' information in the restore apps description

Description of the new feature / enhancement

Add the 'last sync time' in the restore apps description in the setup flow.
Note: this requires updating the restore API to expose this information before showing it on the UI.

Scenario when this would be used?

No response

Supporting information

No response

SAML support

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

try to add a PR/issue widget to a microsoft repo w/your microsoft GH account, it fails because we don't have SAML support yet

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Logging and Telemetry should be combined

Description of the new feature / enhancement

Having two ILoggers is ambiguous.

Scenario when this would be used?

No response

Supporting information

No response

Dev setup tool header won't meet contrast requirements (light mode)

Dev Home version

1.0.0.0

Windows build number

10.0.23410.1000

Other software

OS Build Version: 10.0.23410.1000.amd64fre.ni_moment_directadept.230303-1631
.NET Version: .NET 6.0.14

Steps to reproduce

  • Navigate to Dev Setup tool
  • Look at header image / text

image

Expected behavior

Text is legible over the background

Actual behavior

Text is colored to be legible over the background image. Either being light on dark, or by having contrast improving treatment (e.g. text shadow)

Included System Information

CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB (49.05GB free)
Processor Architecture: x64

Build.cmd fails even though VS "Build solution" passes

Dev Home version

0.99.72.1837 as of commit/aa089a1bff1c169c070c20370948b8907b16784e

Windows build number

No response

Other software

output.txt

Attached output from running Build.cmd.
There's some failure related to the SDK, which doesn't appear when I simply run build in VS.

Steps to reproduce

Clone DevHome repo locally (new). Run Build.cmd. Open DevHome.sln in VS and build solution.

Expected behavior

Build.cmd passes on first try :)

Actual behavior

Build.cmd fails with errors output.txt

Included System Information

No response

Create a robust mechanism to call plugin apis

Description of the new feature / enhancement

Calling plugin apis can currently result in crashing dev home if the exceptions are not handled. A robust mechanism can prevent such crashes.

The idea is to have a RunQuery api in PluginWrapper class which can handle the exceptions for the calling code.

class PluginWrapper {
  ...
  public void RunQuery(Func<IPlugin> queryHandler, Func<Exception> errorHandler)
  {
    // Start plugin if not running
    // Call & wrap queryHandler in try/catch
  }
  ...
}

And this can be called like:

_pluginWrapper.RunQuery((plugin) => {
   var provider = plugin.GetProvider();
   provider.Abc();
   provider.Xyz();
}, e => Display("The plugin crashed"))

Scenario when this would be used?

This would automatically handle the following scenarios

  • Start the plugin if not running
  • Catch & log any exception the plugin throws
  • (possibly) provide the caller with an option to restart the plugin if it crashes

Supporting information

No response

Consider saving in-progress feedback reports as drafts if the user navigates away

Description of the new feature / enhancement

The Windows Feedback Hub has a feature where if the user exits out of their current feedback request (intentionally or not), their feedback is saved in a Drafts section. This allows the user to continue authoring that feedback if they re-enter that flow. It would be a nice convenience for Dev Home to do the same.

Scenario when this would be used?

This would be used in the feedback workflow (naturally :)). I was nearly done filing a bug report, and I accidentally hit the escape key (I'm using a Surface keyboard so the keys are quite close together- perhaps this wouldn't be as much of an issue on other keyboards?). Anyway, doing this canceled out of the feedback request, so I had to redo the work.

Supporting information

I don't have any other data to support this request.

AddRepoDialog clone path has bad performance

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Go to AddRepoDialog. Type in clone path text box.

Expected behavior

Backing textchanged events are only called once each time text is changed.

Actual behavior

Backing textchanged events are called 3 times. Once for the original change and two more times for the below code:
CloneLocationForUrlTextBox.Text = locationToCloneTo;
CloneLocationForAccountTextBox.Text = locationToCloneTo;

Included System Information

No response

Can't type into the account combo box.

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Go to account tab, sign in, get to repo tab.

Expected behavior

The drop down only shows accounts I've logged into and it won't accept inpu.

Actual behavior

I should be able to type in the box to clone repos from other accounts.

Included System Information

No response

SetupFlow prepends https://github.com but doesn't tell the user

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

go through setup flow (url) and enter a full URL
this fails, because setupflow prepends https://github.com/ to the URL the user pastes

Expected behavior

either setupflow takes an absolute URL (doesn't prepend), or it allows for absolute and relative URLs, and makes it clear that it will prepend https://github.com

Actual behavior

setupflow broken (nothing cloned)

stack trace of the exception from libgit2sharp

 	LibGit2Sharp.dll!LibGit2Sharp.Core.Ensure.HandleError(int result) Line 154	C#
 	LibGit2Sharp.dll!LibGit2Sharp.Core.Proxy.git_clone(string url, string workdir, ref LibGit2Sharp.Core.GitCloneOptions opts) Line 280	C#
 	LibGit2Sharp.dll!LibGit2Sharp.Repository.Clone(string sourceUrl, string workdirPath, LibGit2Sharp.CloneOptions options) Line 779	C#
>	DevHome.SetupFlow.RepoConfig.dll!DevHome.SetupFlow.RepoConfig.Models.Repository.CloneRepositoryAsync.AnonymousMethod__0() Line 49	C#

where _cloneUrl is something like https://github.com/https://github.com/asklar/OpenAI.WinRT

Included System Information

No response

[SDK] Update mentions of plugin to extension

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Standardize on "extension" rather than plugin. We should update the SDK accordingly.

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Plugin not listing appxmanifest correctly crashes devhome

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

Write a plugin where is not present in package.appxmanifest
Run the plugin and devhome.

Expected behavior

I see a logged error. DevHome does not crash

Actual behavior

DevHome crashes

Included System Information

No response

[Perf] Improve launch perf

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

This is to track / dependent on a XAML bug 8281

Expected behavior

No response

Actual behavior

No response

Included System Information

No response

Need error UX when trying to add or configure widgets

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce

add issues widget -> type an invalid URL (or hit any issues) -> no error UX is shown

Expected behavior

error ux is shown

Actual behavior

No response

Included System Information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.