Skip to content

Should "Report Issue" work for built-in extensions in Running Extensions view? #109781

Closed

Description

@usernamehw
  1. Open Running Extensions
  2. Open context menu
  3. Built-in extensions have disabled menu for Report Issue

Screenshot (367)

Activity

  1. alexdima commented on Nov 6, 2020

    @alexdima
    Member

    Sandeep Somavarapu (@sandy081) I don't remember creating the "Report Issue" action, so I don't think I own it.
    Isidor Nikolic (@isidorn) Maybe you did this?

  2. isidorn commented on Nov 6, 2020

    @isidorn

    Yeah I did this.
    Code pointer

    export class ReportExtensionIssueAction extends Action {

    The issue here is that the JavaScript Debugger does not seem to provide the repository URI in the package.json
    Thus the action gets disabled here

    && !!extension.description.repository && !!extension.description.repository.url;

    Connor Peet (@connor4312) can you maybe provide the repository information of the JavaScript debugger so this button gets enabled here?

  3. added
    extensions
    under-discussion
    on Nov 6, 2020
  4. usernamehw commented on Nov 6, 2020

    @usernamehw
    ContributorAuthor

    There are multiple built-in extensions with disabled menu item, like, vscode.css-language-features, vscode.emmet, ... (Not only js debugger).

  5. isidorn commented on Nov 6, 2020

    @isidorn

    Yeah none of them have a seperate repository. So you shuold just file in vscode repository
    However for js-debug we have a sepearte repository so it makes sense to have that action enabled.

  6. connor4312 commented on Nov 9, 2020

    @connor4312
    Member

    I have an repository in the js-debug package.json. I think the issue is actually the line above that exclude built-in extensions:

    && extension.marketplaceInfo.type === ExtensionType.User

    I don't think this line is necessary. Deleting it will just have people who open issues on extensions in the vscode repo open them here, which is desirable.

  7. isidorn commented on Nov 9, 2020

    @isidorn

    Yeah, agree.

  8. removed
    under-discussion
    on Nov 9, 2020
  9. 15 remaining items

  10. added
    help wanted
    on Dec 3, 2020
  11. removed
    insiders-released
    on Dec 3, 2020
  12. chenjigeng commented on Dec 11, 2020

    @chenjigeng
    Contributor

    I think there are two ways to do it.

    1. repository attributes need to be added to the package.json of each built-in extension
    2. In the runtimeExtensionsEditor.ts, judge the extension type. If it is a built-in extension, set the base url to https://github.com/microsoft/vscode.git.

    I think 2 is better

  13. isidorn commented on Dec 11, 2020

    @isidorn

    Yeah let's go with 2.
    Sounds like a good approach to me

  14. chenjigeng commented on Dec 11, 2020

    @chenjigeng
    Contributor

    Isidor Nikolic (@isidorn) I have submitted a PR, please help CR

  15. isidorn commented on Dec 14, 2020

    @isidorn

    chenjg88 (@chenjigeng) thanks to your PR this is now fixed.

  16. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Dec 14, 2020
  17. rzhao271 commented on Jan 26, 2021

    @rzhao271
    Collaborator

    Fixed for built-in extensions, though just a note that it's still disabled for the github.codespaces extension.

  18. locked and limited conversation to collaborators on Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugextensionshelp wantedinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions