Skip to content

First class new GitHub UI support! - #44

Open
zardoy wants to merge 18 commits into
dderevjanik:masterfrom
zardoy:master
Open

First class new GitHub UI support!#44
zardoy wants to merge 18 commits into
dderevjanik:masterfrom
zardoy:master

Conversation

@zardoy

@zardoy zardoy commented Feb 9, 2023

Copy link
Copy Markdown

fixes #40
fixes #39
fixes #42
closes #43

Current tests are failing, though I didn't touch them as new UI only available when logged in.

@dderevjanik I rly miss icons in new ui so if it don't get merged in within a few weeks I'll publish it to chrome extensions store https://chrome.google.com/webstore/detail/github-vscode-icons-updat/amefmmaoenlhckgaoppgnmhlcolehkho

New UI: Now icons everywhere!

Screenshots

New file list and sidebar:

Commands pallete:

And as a bonus (even github doesn't show icons in this location),
File search:

No support for: modules, symlinks, old-style files search (t) (will be removed soon)

@zardoy zardoy changed the title First class new github ui support! First class new GitHub UI support! Feb 9, 2023
@kdev

kdev commented Feb 12, 2023

Copy link
Copy Markdown

Love this!!!

@zardoy

zardoy commented Feb 13, 2023

Copy link
Copy Markdown
Author

@kdev would you mind helping me testing this?

@kdev

kdev commented Feb 13, 2023

Copy link
Copy Markdown

Hey @zardoy, I'm up for some tests! 👍

@zardoy

zardoy commented Feb 13, 2023

Copy link
Copy Markdown
Author

Okay, so you can either build it youself or I can attach extension zip once I update all icons from vscode-icons repo (they are pretty outdated).

@kdev

kdev commented Feb 13, 2023

Copy link
Copy Markdown

I would prefer a zip of some sort

@zardoy

zardoy commented Feb 15, 2023

Copy link
Copy Markdown
Author

@kdev I love testers!

And I finally managed to publish new npm version with svgs of vscode-icons and now made extension with latest vscode-icons icons:

chrome-github-vsci-1.24.zip

Feel free to provide feedback to let me know wether everything is good!

For example now https://github.com/bgrins/TinyColor has deno.lock icon, but it seems we don't support dark theme 🤔

@zardoy

zardoy commented Feb 18, 2023

Copy link
Copy Markdown
Author

Was going to upload it chrome ext marketplace, but it seems I fogot to handle results of github.com/search, will fix

@kdev

kdev commented Oct 4, 2023

Copy link
Copy Markdown

Any plans on bringing this to Firefox?

@zardoy

zardoy commented Oct 4, 2023

Copy link
Copy Markdown
Author

Any plans on bringing this to Firefox?

Currently, it doesn't work with Firefox, I don't know why atm. Not sure how hard it would be to publish. I may look at all this later.

@kdev

kdev commented Oct 6, 2023

Copy link
Copy Markdown

I ran the crx through https://www.extensiontest.com and got the results below

Results
{
  "compat": [],
  "errors": [
    {
      "message": "\"/manifest_version\" must be <= 2",
      "description": "Your JSON file could not be parsed.",
      "locations": [
        {}
      ]
    },
    {
      "message": "\"/background\" is in an unsupported format.",
      "description": "\"/background\" is in an unsupported format.",
      "locations": [
        {
          "file": "manifest.json"
        }
      ]
    },
    {
      "message": "The extension ID is required in Manifest Version 3 and above.",
      "description": "See https://mzl.la/3PLZYdo for more information.",
      "locations": [
        {
          "file": "manifest.json"
        }
      ]
    }
  ],
  "warnings": [
    {
      "message": "Unsafe assignment to innerHTML",
      "description": "Due to both security and performance concerns, this may not be set using dynamic values which have not been adequately sanitized. This can lead to security issues or fairly serious performance degradation.",
      "locations": [
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "popup.js",
          "line": 2
        },
        {
          "file": "popup.js",
          "line": 2
        }
      ]
    },
    {
      "message": "Error in no-unsanitized: Unexpected callable. Please report a minimal code snippet to the developers at https://github.com/mozilla/eslint-plugin-no-unsanitized/issues/new?title=unexpected%20SequenceExpression%20in%20normalizeMethodCall",
      "description": "Due to both security and performance concerns, this may not be set using dynamic values which have not been adequately sanitized. This can lead to security issues or fairly serious performance degradation.",
      "locations": [
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        }
      ]
    },
    {
      "message": "Unsafe assignment to outerHTML",
      "description": "Due to both security and performance concerns, this may not be set using dynamic values which have not been adequately sanitized. This can lead to security issues or fairly serious performance degradation.",
      "locations": [
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        },
        {
          "file": "content.js",
          "line": 1
        }
      ]
    },
    {
      "message": "Unsafe call to e.insertAdjacentHTML for argument 1",
      "description": "Due to both security and performance concerns, this may not be set using dynamic values which have not been adequately sanitized. This can lead to security issues or fairly serious performance degradation.",
      "locations": [
        {
          "file": "content.js",
          "line": 1
        }
      ]
    }
  ]
}

@zardoy

zardoy commented Oct 7, 2023

Copy link
Copy Markdown
Author

I believe this thing is outdated, manifest v3 is supported by Firefox. I was using web-ext lint to validate the manifest and it was ok. I could install the extension without any warnings/errors, but the user script didn't start (defined in content_scripts), I need to figure out why it doesn't work (eg test with hello word script with the current v3 manifest format or smth like that)

@dantehemerson

Copy link
Copy Markdown

@zardoy First of all thanks for this update, It works great!

I just wanted to request the feature to support icons in the search results. Thanks in advance.

Screenshot 2023-10-16 at 11 32 24 PM

@zardoy

zardoy commented Oct 22, 2023

Copy link
Copy Markdown
Author

I just wanted to request the feature to support icons in the search results. Thanks in advance.

here we go
image

@max06

max06 commented Jan 30, 2024

Copy link
Copy Markdown

hey @zardoy - love your work!

Do you plan maintaining it for longer?

@zardoy

zardoy commented Jan 30, 2024

Copy link
Copy Markdown
Author

hey @zardoy - love your work!

thx

Do you plan maintaining it for longer?

For this one - yes. But I'm a single dev 5 actively running projects so I don't have much time to think of code changes on other projects like this one, sorry. will focus on this one a and fix the breakage once I have time for it :)

@max06

max06 commented Jan 30, 2024

Copy link
Copy Markdown

No worries, take your time! I'd love to support you but I'm afraid my dev-skills aren't even remotely enough for that.

@zardoy

zardoy commented Jun 26, 2024

Copy link
Copy Markdown
Author

No worries, take your time! I'd love to support you but I'm afraid my dev-skills aren't even remotely enough for that.

Hey all! Sorry, completely forgot about this one, and no one reminded :( Now finally I'm here with all UI breakages fixed, enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is this still being maintained? Support for new pull request file tree [GitHub] [feature] Support Files Search Icons are selectable

4 participants