Giter Site home page Giter Site logo

devhomegithubextension's Introduction

image

Welcome to the Dev Home GitHub Extension repo

This repository contains the source code for:

Related repositories include:

Installing and running Dev Home GitHub Extension

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

Dev Home Extensions library [Recommended]

You can install the Dev Home GitHub Extension from the Extensions library within Dev Home. This page can be found in the left-hand navigation pane. The list of available extensions will provide links to install from the store.

Microsoft Store

You can also install the Dev Home GitHub Extension directly from its Microsoft Store listing.

Other install methods

Via GitHub

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


Dev Home GitHub Extension overview

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

Widgets

The Dev Home GitHub Extension provides widgets for Dev Home's dashboard, which is built as a Windows widget renderer. These widgets are built using the Windows widget platform, which relies on Adaptive Cards.

Machine configuration repository recommendations

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


Documentation

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


Contributing

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

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

Building the code

  • Clone the repository
  • Uninstall the Preview version of the Dev Home GitHub Extension (Dev Home has a hard time choosing which extension to use if two versions exist)
  • Open GitHubExtension.sln in Visual Studio 2022 or later and build from the IDE, or run build\scripts\build.ps1 from a Visual Studio command prompt.

OAuth App

Since secrets cannot be checked in to the repository, developers must create their own test OAuth app for local tests.

Follow this link https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app to create a Git OAuth app (with RedirectUri = "devhome://oauth_redirect_uri/").

The OAuth App ClientId and ClientSecret can be added as environment variables using the following instructions:

On an elevated cmd window:
    setx GITHUB_CLIENT_ID "Your OAuth App's ClientId" /m
    setx GITHUB_CLIENT_SECRET "Your OAuth App's ClientSecret" /m

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 are subject to those third-party's policies.

devhomegithubextension's People

Contributors

agnelukoseviciute avatar amelbawa-msft avatar cinnamon-msft avatar crutkas avatar davidegiacometti avatar dhoehna avatar dkbennett avatar donlaci avatar elmarj avatar ericjohnson327 avatar ethanfangg avatar guimafelipe avatar joadoumie avatar krschau avatar manodasanw avatar matthyman avatar microsoft-github-operations[bot] avatar microsoft-github-policy-service[bot] avatar microsoftopensource avatar snickler avatar ssparach 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

devhomegithubextension's Issues

Customize title for widgets

Suggested new feature or improvement

Title should be customizable in the widget's Customize dialoge.

Scenario

All issues and PR widgets are currently named by org/repo with no way to identify widgets for the same repo using different query filters.

Additional details

No response

[Widgets] Repo/query field shouldn't be blank if you "Customize" PR Widget

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Have a widget setup and working. In my case it was the PR widget pointing to microsoft/devhom.
From widget's menu on dashboard click->Customize

Result:
It pops up and lets you change things. BUT the field is the blank default, instead of what you'd already entered. Or a fully qualified URL of what you entered originally.

Expect:
What I had there in the first place.

The current behavior is a workaround since there is no way to currently do what is expected. We need to work with the Widget Platform team and ask them for an API.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

GitHub "mentioned me" widget displays oldest instead of newest

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1702

Other software

OS Build Version: 10.0.22621.1702.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

  • Add Widget
  • GitHub "mentioned me"
  • Pin the widget

My expectation is it would show most recent mentions instead it's showing oldest ones. It's displaying data from 2017 instead of 2023. There are many many thousands of mentions for me in GitHub. If it's showing the oldest that's not useful.

Expected result

Either

  • Show newest
  • Let me clear the existing list so I can see mentions moving froward.

Actual result

It shows oldest mentions, not newest.

Included System Information

CPU: AMD Ryzen 9 5950X 16-Core Processor
Physical Memory: 63.92GB (38.77GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

[Widgets] Authorized GitHub when adding a GitHub widget, but the add widget window did not change. It's still showing the original sign in button.

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
When trying to add the Issue widget I gave authorization. When returning to the add widget window it remained unchanged. Clicking sign in opened an edge window to authorize that immediately closed itself. So in the end I'm unable to add or use the widget.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Individual issues/PRs in GitHub widgets should have rounded corners

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Hovering over an individual item in a GitHub Issues widget highlights the item from side to side in the whole widget box with no padding. I would expect some left-right padding for this highlight (and also expected the individual issue items to have rounded corners).

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

[AdaptiveCard styling] Rendered AdaptiveCards missing Buttons in Dark Theme

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Light theme:
image

Dark Theme:
Image
image

Button could just be behind something else, but this is happening only for DarkTheme. Button is not clickable either (so not just invisible).

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

DevHome and GitHub extension both register the devhome protocol

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
After authorizing the dev home GitHub app, the redirect sends you to a devhome:// URI. Both DevHome and GitHub extension register the protocol, and Windows is asking me which one to choose. This is confusing to me as the user; I'm not sure which one should be chosen and I think I chose the wrong one the first time (DevHome seems to be blocking on this callback).

PS: You can create a Feedback Hub URI that sets the category for the user, preventing some mistakes.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Add GitHub project widget with sort and filter

Suggested new feature or improvement

Please allow me to add a widget that specifies a GitHub project.
Add a filter field
Add a sort field (ascending or descending)

Scenario

I am working on a project that covers multiple repositories. I would like to add a "Project" widget that filters by @previous, @current, or @next iteration. Then, would allow me to sort by the added "start date" column.

Additional details

I have too many issues assigned to me in too many repositories to make "Issues" or "Repository" widgets useful.

My organizational levels of work are Project > Iteration > Issue (start date)

Widgets not loading on Windows Widgets Panel

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1778

Other software

OS Build Version: 10.0.22621.1778.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

  1. Login with GitHub
  2. Open Windows Widgets Panel (Win + W)
  3. Click on the + button
  4. Add widgets of Dev Home GitHub Extension (such as 'Assigned to me' or 'Pull requests')
  5. Complete the widget setup. (For 'Assigned to me', click on Submit, and for 'Pull requests', click on Next after entering the repo URL)

Expected result

For the example widgets mentioned above, both 'Assigned to me' and 'Pull requests' should display lists.

Actual result

'Assigned to me' only displays the GitHub username and an icon without any list below. 'Pull requests' gets stuck on the loading text. Also, I would expect icons to be smaller as they appear larger than how they are displayed on the Dashboard page in the app.

Included System Information

CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
Physical Memory: 15.75GB (4.99GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

Account repo list doesn't show private org repos

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description

I have access to private repos owned by Microsoft (i.e. microsoft/devhome), but they don't appear in the repo list when I select account. Searching doesn't pull it up either.

Originally opened by @cinnamon-msft

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

New Widget: Codespaces

Suggested new feature or improvement

Provide a Codespaces widget that lists all of my Codespaces and provides options to connect, stop, delete, create, change name etc.

Scenario

Would use this as a launcher for Codespaces as well as to create new ones quickly

Additional details

Here is a similar widget created for Raycast: https://github.com/jclem/raycast-github Looking for something like this in Dev Home

screenshot-2023-02-24T14-46-12@2x

Authorization process failing to reopen Dev Home

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Go through almost the entire authorization process and at the very end the browser does not reopen devhome with my account added. It seems the web credentials are not stored to my machine either.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Widget refresh button

Suggested new feature or improvement

It would be nice if I could have a refresh button for my GitHub issues and other dashboard widgets.

Scenario

In the morning I open Dev Home and hit refresh on my GitHub Issues button letting me know all the tickets shown there are up to date and I'm not missing anything.

Additional details

Having this feature would allow me to get a sense of my day without needing to open a browser or the app and viewing each projects dashboard.

Repo pulse widget

Suggested new feature or improvement

I'd love to see a repository pulse widget with metrics like PRs opened, commits, issues opened, total downloads, stars, etc.

Scenario

Used to keep tabs on the general health of a repo. Which ones are inactive? Which ones are rapidly growing? Have I passed any big downloads or stars milestones?

Additional details

No response

Review Requested widget does not indicate an empty state

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1778

Other software

OS Build Version: 10.0.22621.1778.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

Add the GitHub Review Requested widget when you have no review requests

Expected result

Expect an indication that there are no pending requests

Actual result

blank widget.
Can't tell if the widget is supposed to be displaying "none" or there's an error.

Included System Information

CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Physical Memory: 15.92GB (1.84GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

Sign in on widgets is misaligned within content box

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

If I am not signed into GitHub and I add a widget, the sign in button is misaligned in both the set up and when I pin the widget, it should be centered or better aligned within the UX. See screenshots for detail
image

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

New Widget: PR Approved

Suggested new feature or improvement

A widget for when your PR is approved and not merged, you can quickly see

Scenario

No response

Additional details

No response

Review requested: User vs teams

Suggested new feature or improvement

Currently, the Review Requested widget shows PRs with a request for review to both you directly and to teams you belong to.

I'd like to have the option to display only PRs requesting a review from me dirctly.

Scenario

Some teams I belong to are requested to review a lot of PRs. In order to filter out the noise, I like to only look at PRs that have requested a review from me directly.

Additional details

In GitHub, this is the difference between the filter review-requested:me (me and any teams I belong to) and user-review-requested:me (me directly)

GitHub integration filters

Suggested new feature or improvement

Allow me to filter in my GitHub widgets which organisations to display.

Scenario

It's common to use a single GitHub account for work and personal, when using Dev Home at work, I'd like to be able to filter to view only my work related issues, pull requests etc.

Additional details

No response

Action required: migrate or opt-out of migration to GitHub inside Microsoft

Migrate non-Open Source or non-External Collaboration repositories to GitHub inside Microsoft

In order to protect and secure Microsoft, private or internal repositories in GitHub for Open Source which are not related to open source projects or require collaboration with 3rd parties (customer, partners, etc.) must be migrated to GitHub inside Microsoft a.k.a GitHub Enterprise Cloud with Enterprise Managed User (GHEC EMU).

Action

✍️ Please RSVP to opt-in or opt-out of the migration to GitHub inside Microsoft.

❗Only users with admin permission in the repository are allowed to respond. Failure to provide a response will result to your repository getting automatically archived.🔒

Instructions

Reply with a comment on this issue containing one of the following optin or optout command options below.

✅ Opt-in to migrate

@gimsvc optin --date <target_migration_date in mm-dd-yyyy format>

Example: @gimsvc optin --date 03-15-2023

OR

❌ Opt-out of migration

@gimsvc optout --reason <staging|collaboration|delete|other>

Example: @gimsvc optout --reason staging

Options:

  • staging : This repository will ship as Open Source or go public
  • collaboration : Used for external or 3rd party collaboration with customers, partners, suppliers, etc.
  • delete : This repository will be deleted because it is no longer needed.
  • other : Other reasons not specified

Need more help? 🖐️

Support for GitHub Projects + Milestones

Suggested new feature or improvement

A GitHub Projects (v1) widget that allows for issue and feature progress tracking, also Milestones are an important widget to add .

Scenario

In the Dashboard, the project details are shown, and with milestones the issues for the upcoming milestone are shown as well.

Additional details

No response

GitHub repo Releases widget

Suggested new feature or improvement

Implementation of the Releases page, showing cards with versions, their tags, and a small description as well as a timestamp on when the release was made

Scenario

This could be used to stay up to date when new releases drop. I see this as an important feature as a person who uses a lot of open-source packages. A releases widget will allow for quick and ease of access into this type of information.

Additional details

No response

Add a GitHub Contribution Tracker widget

Suggested new feature or improvement

The GitHub app on iOS and Android has a widget that allows you to see your GitHub Contribution table pretty easily while on the home screen so adding it to the Dev Home app will be a no brainer decision.

Scenario

Scenarios that this feature will be used for are:

  • Maintaining the developer's motivation and schedule about their coding performance for the day.
  • A way for keeping up with the amount commits that the developer should have on his routine.

Additional details

No response

Dev Home locked up after clicking "Connect to Github"

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Installed app (via store), clicked the first button I saw, app is now hung.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

GitHub OAuth apps configuration

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1702

Other software

OS Build Version: 10.0.22621.1702.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

  1. Link to a GitHub account that has a controlled third party access policy
  2. Try to add a GitHub widget for a repository in that organization

Expected result

The widget is added for example you should be able to see issues etc

Actual result

You get an error message stating that although credentials are okay, the organization is using OAuth app policy.

Included System Information

CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
Physical Memory: 15.69GB (2.16GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

Turning off GitHub Extension doesn't do anything

Toggling off Dev Home GitHub Extension (Preview) under Settings -> Extensions, doesn't work. The widgets are still available and working properly even though as an end user I'd expect them to no longer be listed until I toggle it back on

Feel free to close as dupe of 44118901 if there's nothing else to do here besides disable widgets.

[Widgets] Widget summary should display query filters

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
After entering a URL with a query, the applied filters should be displayed in the summary text above the Pin button.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Can't add pull requests widget for organization private repo

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1702

Other software

OS Build Version: 10.0.22621.1702.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

Add widget, pull requests, then enter the url to an organization's private repo and click the arrow

Expected result

Adding is blocked by the organization's oauth policy, and the requests appears in the GitHub org's oauth policy page to be approved.

Actual result

Adding is blocked by the organization's oauth policy, but there is no request to be approved so no way to unblock this.

Included System Information

CPU: 12th Gen Intel(R) Core(TM) i7-12700H
Physical Memory: 63.68GB (44.49GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

Trying to add a new GitHub account doesn't appear to launch browser

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
I am trying to go through the flow to add a new account on this device. Dev Home tells me to check my browser in the background, but it doesn't appear to actually initiate a connection to GitHub so that I can auth.

(The spacing also seems off in the message for that UI, see attached screenshot.)

Expected result

I believe from looking at the repro, there are two issues happening here:
Clicking the sign in button did nothing initially until it was closed and re-opened. I was seeing something similar and I debugged that and it looks like an adaptive cards issue.
Clicking the sign in button does do something and show the wait for browser message, but browser doesn't start up. I briefly saw this when I had multiple Edge browsers installed which I also see is the case in this repro. Using this bug to track that.

let's make sure this isn't the same "extension crashes because it tries to load the asset files" problem. Right now in the store, this is the experience you get on a fresh machine.

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Wrong labels in issue widget

Dev Home version

0.1.137.141.0

Windows build number

10.0.22621.1702

Other software

No response

Steps to reproduce the bug

  1. Add a issues widget for a random repo, ex. github.com/pester/pester

  2. Add Issues widget for another repo using URL with query string.

    • Ex. https://github.com/microsoft/devhomegithubextension/issues?q=is%3Aopen+is%3Aissue+label%3AArea-Accessibility
    • Or https://github.com/microsoft/devhomegithubextension/issues?q=is%3Aopen+is%3Aissue+label%3AArea-Widgets

Likely corrupt local cache, but worth a try. Looks like it only occurs when URL has query string.

Expected result

Actual labels for each issue

Actual result

Issue is shown using a label unrelated to the repo. The label belongs to pester/pester-repo that I have in a different issue widget.

image

The issue should've shown the following labels atm
image

Also occured with another query string (Area-Widgets label, see steps to reproduce).
image

Included System Information

No response

New Widget: Merge conflict

Suggested new feature or improvement

Be made aware on your dashboard when a merge conflict happens

Scenario

No response

Additional details

No response

Support custom GitHub issue queries

Suggested new feature or improvement

Whilst there is a GitHub widget and it allows for you to query repositories, pull requests and assigned items, it does not allow you to add a custom query link for all issues/pull requests.

Scenario

In an organization, I may choose to see all open pull requests or issues collated by a certain user or number of variables.

I want to see a widget that collates the following query, for example:

https://github.com/issues?q=is%3Aissue+user%3Afoobar+no%3Aproject+is%3Aopen

Additional details

No response

The time difference is not calculated based on the time zone

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

屏幕截图 2023-05-25 093226
It was actually just released, but it shows 8 hours ago (UTC+8)

Expected result

No response

Actual result

It shows that it was just published or a few seconds ago

Included System Information

No response

Included Extensions Information

No response

Make Review Requested widget editable

Suggested new feature or improvement

I am not happy with the default GitHub 'review requested' widget configuration in DevHome.
I would want a 'review requested && all checks passing && ...' change, as an example.
The generic mechanism could be for entering either an existing URL or query parameters into the widgets, using the same notation as they are used on GitHub web.

Scenario

The GitHub widget would come with a default query, but it would be editable.

Additional details

This is an example of a query I use daily and would love to see as the result of a widget load:

is:pr is:open draft:false status:success -reviewed-by:@me

AdaptiveCards Action not getting triggered when trying to add a new GitHub account

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

I was looking into 44532648 and there seems to be two issues going on. Splitting out the adaptive cards one into this bug. From my debugging of this, sometimes when the GitHub sign in button is clicked on the adaptive card, the registered action handler lambda (renderedAdaptivecard.Action) is not called. It does seem adaptive cards itself does get called for the click but when it gets to AdaptiveActionInvoker::SendActionEvent, it finds it cannot get a strong reference on the m_weakRenderResult. I am not sure why that is the case. Typically when this happens, closing the adaptive cards window and clicking add account again to open a new adaptative card window resolves it, but it seems to be happening somewhat often.

void AdaptiveActionInvoker::SendActionEvent(winrt::IAdaptiveActionElement const& actionElement)
{
    if (auto strong = peek_innards<winrt::implementation::RenderedAdaptiveCard>(m_weakRenderResult.get()))
    {
        strong->SendActionEvent(actionElement);
    }
}

Please see other feedbacks in userfeedback Vso for feedbacks that are tracked by this work item.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Mention Me and Assigned to Me widgets - combobox and button should align to issues and PRs controls (Dev Home)

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Move combobox and button in Mention Me and Assigned to Me widgets to have the same margins as the searchbox in PRs and Issues widgets.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

All widgets should utilize the database

Suggested new feature or improvement

We have some widgets that don't utilize our database, but they probably should

Scenario

This'll help improve the quality of the database content as well

Additional details

No response

Settings for notifications

Suggested new feature or improvement

We should have more notification settings for the GitHub notifications.

Scenario

This can help us add additional notification parameters with the ability for people to tweak which notification types they want

Additional details

No response

Ability to display 'created' PRs in the Pull requests widget

Suggested new feature or improvement

Right now in the PR widget you have to attach a specific repo to track. This is an incredibly helpful way to organize PRs within repos, but it'd be really great to also keep track of all the PRs I have 'created' that are still open.

This is a feature that the iOS GitHub widgets have that I find pretty useful.

My suggestion is that we include in this configuration template the choice for users to either input a URL or select to track all 'created' PRs attached to that account that are still open:

image

Scenario

I can add a Pull requests widget to my dashboard that is not repo specific, but rather shows me all of the open PRs I have across whatever repos I am working on.

Additional details

Need to adjust the Pull requests template here to allow users to choose whether they want to attach a specific repo or if they want to track all PRs across the account.

[Reliability] Can't sign back in to GitHub extension

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Signed out through Dev Home, then clicked sign in and got the "something went wrong" error. (screenshot attached)
Also the text on the error is weird - it says to make sure my inputs are correct, but I only clicked sign in, so I don't have any inputs? Also "feedback" should have a lowercase F and we should remove the period from the second line

Expected result

The screenshot shows that the LoginUI failure state AdaptiveCard is being displayed. This can happen if there is a failure retrieving a DeveloperIdProvider instance (under a lock) or even when the resource loader is not properly initialized. There are logging events that would indicate if we failed at retrieval of DeveloperIdProvider or if we ran into an alternate exception (for instance resource loader failure). However, the diagnostics do not contain any relevant information to Dev Home/Dev Home GitHub extension so it is hard to tell.

Though, the content of the failure card can be refined per suggestions in this bug. Here is a PR with proposed changes: Change error message in adaptive card for LoginUI failure by ssparach · Pull Request microsoft/devhome#77 · microsoft/devhomegithubextension

@james Pike as FYI

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

refesh of the plugins

Dev Home version

0.137.141.0

Windows build number

10.0.22621.1702

Other software

OS Build Version: 10.0.22621.1702.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.16

Steps to reproduce the bug

just add a new plugin and w8 for a few minutes , the aplication is open in one of my secondary monitors

Expected result

well the result i w8 to see is that the refresh time do not stop or atlast there is a option to say ho many updates i want every few seconds or many 5 minutes or if they stop after a period of time atlast to have the option to refresh from time to time

Actual result

the plugins after a period of time they do not refresh they stay static and not update the content , the only solution that ive found is to reactualize the plugin in order to pick new information but this is a pain you should add a button to itin the section of plugins

Included System Information

CPU: 13th Gen Intel(R) Core(TM) i9-13900K
Physical Memory: 31.79GB (19.59GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.137.141.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.137.141.0_x64__8wekyb3d8bbwe

Clicking "Sign into github.com" form settings does nothing

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Go so setting in DevHome app.
Click "Add account"
Click "Sign into github.com"
Nothing happens

Expected result

A pop-up or ability to enter your github.com credentials should open.

Actual result

nothing happens

Included System Information

No response

Included Extensions Information

No response

[Store] Extension should be labeled preview just like Dev Home

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Go to store, look at PDP. Doesn't say preview.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

After a reboot I'm still seeing "Connect to GitHub"

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
I restarted my machine and launched "Dev Home". I saw the "Connect to GitHub" button. I clicked it and it gave a message that I was already connected. I wouldn't expect to be prompted if my account is already connected.

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

Multiple Accounts

Suggested new feature or improvement

I think that it would be helpful to allow users to connect more than one GitHub account to Dev Home.

Scenario

I have one GitHub account for personal use, as well as one for school. It would be nice to be able to manage activity from both accounts in Dev Home.

Additional details

No response

[Widgets] Dev Home why is there a Submit/preview option for Assigned/Mentioned widgets but not PRs/Issues?

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Description
Go to add a widget, try each option. For Mentioned or Assigned, there's a button that says "Submit" where I can see the widget before I pin it. For Issues/PRs, I have to type in the URL and afterwards I get confirmation I have the right one... but no preview of the widget. Why is this experience so different?

Expected result

No response

Actual result

No response

Included System Information

No response

Included Extensions Information

No response

[Widget] General Notifications

Suggested new feature or improvement

I'd like a single widget that has all of my unread github notifications.

Scenario

It would be used the same way as any other widget.

Additional details

Preferably, it should be on feature parity with the mobile view for the Github Notifications

image

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.