dderevjanik / github-vscode-icons

📦 vscode-icons for github, nearly 1000 file/folder icons
https://chrome.google.com/webstore/detail/vscode-github-icons/hoccpcefjcgnabbmojbfoflggkecmpgd?utm_source=github
MIT License
314 stars 24 forks source link

First class new GitHub UI support! #44

Open zardoy opened 1 year ago

zardoy commented 1 year ago

fixes https://github.com/dderevjanik/github-vscode-icons/issues/40 fixes https://github.com/dderevjanik/github-vscode-icons/issues/39 fixes https://github.com/dderevjanik/github-vscode-icons/issues/42 closes https://github.com/dderevjanik/github-vscode-icons/issues/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)
kdev commented 1 year ago

Love this!!!

zardoy commented 1 year ago

@kdev would you mind helping me testing this?

kdev commented 1 year ago

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

zardoy commented 1 year ago

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 commented 1 year ago

I would prefer a zip of some sort

zardoy commented 1 year ago

@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 commented 1 year ago

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

kdev commented 1 year ago

Any plans on bringing this to Firefox?

zardoy commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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

here we go image

max06 commented 9 months ago

hey @zardoy - love your work!

Do you plan maintaining it for longer?

zardoy commented 9 months ago

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 commented 9 months ago

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 commented 4 months ago

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!