microsoft / devhome Goto Github PK
View Code? Open in Web Editor NEWThe new Dev Home experience for Windows!
Home Page: https://aka.ms/devhomedocs
License: MIT License
The new Dev Home experience for Windows!
Home Page: https://aka.ms/devhomedocs
License: MIT License
No response
No response
No response
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)
No response
No response
No response
No response
No response
Dev Home OAuth app
No response
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
Placeholder fields in the OAuth app.
No response
Having two ILogger
s is ambiguous.
No response
No response
1.0.0.0
10.0.23411.1000
OS Build Version: 10.0.23411.1000.amd64fre.ni_moment_directadept.230306-1233
.NET Version: .NET 6.0.14
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
I was expecting that the connection flow would be initiated.
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.
CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB
Processor Architecture: x64
0.99.72.1837 as of commit/aa089a1bff1c169c070c20370948b8907b16784e
No response
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.
Clone DevHome repo locally (new). Run Build.cmd. Open DevHome.sln in VS and build solution.
Build.cmd passes on first try :)
Build.cmd fails with errors output.txt
No response
No response
No response
Sometimes a picture is best.
Try to add "https://github.com/microsoft/windowsappsdk" to the widget. The data fields fill up and the "Add" button at the bottom of the widget page is pushed off the canvas and can't be clicked.
No response
No response
No response
No response
No response
No response
add issues widget -> type an invalid URL (or hit any issues) -> no error UX is shown
error ux is shown
No response
No response
No response
No response
No response
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.
No response
No response
No response
No response
No response
Latest builds of both from main azure pipeline artifacts.
Repro steps:
Download both packages from DevHome and GitHub Extension pipeline artifacts.
Install Dev Home, Launch DevHome, Install Extension -> No hang, works as expected (except only widgets work from DevHome)
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.
Repro steps:
Download both packages from DevHome and GitHub Extension pipeline artifacts.
Install Dev Home, Launch DevHome, Install Extension -> No hang, works as expected (except only widgets work from DevHome)
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
I was expecting it not to hang.
It hangs and is unusable.
No response
we should fetch the widget infos only once outside of the loop
No response
No response
No response
Add any amount of repos with the repo tool.
Data Grid pops up with all the repos I want to clone.
Sometimes the DataGrid won't populate until I click on DevHome.
No response
No response
No response
No response
No response
No response
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.
No response
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.
No response
No response
https://dev.azure.com/microsoft/Dart/_build/results?buildId=66877959&view=results
No response
No response
#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.
See "Startup_DevId_Event" in Telemetry.
Can see following breakpoints being hit in DevHome.Telemetry:
However, no actual Telemetry events show up in TTRT.
No response
No response
No response
No response
This is to track / dependent on a XAML bug 8281
No response
No response
No response
No response
No response
[] What's New Page does not adjust item height and can cut off content
[] The connect dev id button does not do anything
No response
No response
No response
No response
No response
No response
No response
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.
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.
Checkbox stays non checked, but no message to the user explaining why.
No response
No response
No response
No response
Standardize on "extension" rather than plugin. We should update the SDK accordingly.
No response
No response
No response
1.0.0.0
10.0.23410.1000
OS Build Version: 10.0.23410.1000.amd64fre.ni_moment_directadept.230303-1631
.NET Version: .NET 6.0.14
Text is legible over the background
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)
CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB (49.05GB free)
Processor Architecture: x64
1.0.0.0
10.0.23411.1000
OS Build Version: 10.0.23411.1000.amd64fre.ni_moment_directadept.230306-1233
.NET Version: .NET 6.0.14
Try to consume the DevHome SDK's .winmd file from a C++/WinRT application in Visual Studio.
The application can be compiled successfully.
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.
CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB (43.15GB free)
Processor Architecture: x64
1.0.0.0
10.0.23420.1000
OS Build Version: 10.0.23420.1000.amd64fre.ni_moment_directadept.230317-1531
.NET Version: .NET 6.0.15
I was expecting some sort of account connection flow to get initiated.
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'.)
CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
Physical Memory: 34.18GB (20.19GB free)
Processor Architecture: x64
No response
No response
No response
Write a plugin where is not present in package.appxmanifest
Run the plugin and devhome.
I see a logged error. DevHome does not crash
DevHome crashes
No response
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"))
This would automatically handle the following scenarios
No response
No response
No response
We need
No response
No response
No response
No response
No response
No response
No response
Dev Setup tool -> Account -> Select GitHub -> within 5 seconds, the clone a repository dialog updates, before you've completed the github OAuth flow
No response
No response
No response
No response
No response
No response
Go to AddRepoDialog. Type in clone path text box.
Backing textchanged events are only called once each time text is changed.
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;
No response
No response
No response
No response
Clone anything.
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.
Cloning should clone to the path specified in Clone Path
unless cloning would result in a conflict.
No response
1.0.0.0
10.0.23420.1000
OS Build Version: 10.0.23420.1000.amd64fre.ni_moment_directadept.230317-1531
.NET Version: .NET 6.0.15
Expected:
Auth flow gets kicked off in the browser and I can Authorize the app
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.
CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
Physical Memory: 34.18GB (19.5GB free)
Processor Architecture: x64
No response
No response
No response
go through setup flow (url) and enter a full URL
this fails, because setupflow prepends https://github.com/
to the URL the user pastes
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
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
No response
No response
No response
No response
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
No response
No response
No response
No response
No response
No response
Go to account tab, sign in, get to repo tab.
The drop down only shows accounts I've logged into and it won't accept inpu.
I should be able to type in the box to clone repos from other accounts.
No response
If I want to use another package manager I should be able to add those packages and not just the ones from WinGet.
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.
No response
No response
No response
No response
Clone a large repository.
A symbol, or something, should indicate that the task is running and not frozen.
No UI indication that the tasks is still being executed. Makes me think that the tasks froze.
No response
1.0.0.0
10.0.23410.1000
OS Build Version: 10.0.23410.1000.amd64fre.ni_moment_directadept.230303-1631
.NET Version: .NET 6.0.14
Pressing Enter should not submit the whole form, particularly when in multiline fields like "Steps to recreate".
Pressing enter closes the dialog and navigates to GitHub
CPU: AMD Ryzen Threadripper PRO 3945WX 12-Cores
Physical Memory: 68.57GB (48.99GB free)
Processor Architecture: x64
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.
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.
I don't have any other data to support this request.
I'd like to see the correct icons for packages.
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:
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.