GithubHelp home page GithubHelp logo

claudiohbsantos / github-material-icons-extension Goto Github PK

View Code? Open in Web Editor NEW
457.0 457.0 30.0 3.66 MB

Home Page: https://chrome.google.com/webstore/detail/material-icons-for-github/bggfcpfjbdkhfhfmkjpbhnkhnpjjeomc

License: MIT License

JavaScript 81.50% Shell 0.10% CSS 9.88% HTML 8.51%

github-material-icons-extension's Introduction

Hey there, I'm Claudio Santos

A Software Engineer based in the US

Connect with me:

claudiohbsantos claudio-santos-5b8134207/ claudiohbsantos @claudiohbsantos

github-material-icons-extension's People

Contributors

claudiohbsantos avatar csandman avatar fregante avatar kidonng avatar shivapoudel avatar yardenshoham avatar zm-cttae 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

github-material-icons-extension's Issues

icon not showing in new project tree

When using the new project tree the icons won't be placed.
Actually, the new project tree where your project is expandable on the left doesn't have any icons.

Example for this project itself:
image

Improve build / bundling speed with ESBuild

I know the age old saying goes if it ain't broke... but could be good for reducing compute on GH actions, and developing locally.

I propose replacing custom build script and parcel with rollup & esbuild.

Feel free to close if this is not a priority / something you would be interested in.

add icon to fql

hello icon material devs, I'm very satisfied with your icon theme, I love it I always use it, today I went to create a scraper with ferret, using fql a declarative scraper language for ferret, but the file didn't have an icon, add one icone for fql files, if you want an image here is one: image.

❤️ Thank you, until next time!

Symlink and submodule icons won't show when items match a known extension

Thanks for your efforts in resolving #3! Unfortunately when the items match a known extension:

image

(https://github.com/svartalf/rust-battery/tree/master/battery)

...the symlink and submodule icons won't show:

image

These lines should be hoisted (put in front of the languages matching code):

if (isSubmodule) return 'folder-git';
if (isSymlink) return 'folder-symlink';

Fix release process

It looks like the latest release didn't make it to the Chrome store due to the release action failing. Might be worth failing the pipeline if a task fails?

ESLint config is broken

While I was working on the PR I just submitted, I noticed that ESLint wasn't working. I looked into it and it seems that there are a lot of issues with the setup. First of all, eslint-config-airbnb is specifically for react projects, what you'd want to use is eslint-config-airbnb-base. Because of that, the config is failing due to a missing dependency of eslint-plugin-jsx-a11y which is only needed for React projects.

I tried updating the config with the proper configs and plugins, but there are a ton of cases where this project goes against the rules of airbnb's config. I'd be willing to give fixing this a shot because I enjoy fixing lint errors. However, it would involve a lot of reorganizing/tweaking of the code to make it valid, so I want to make sure this is something you'd actually want before I do anything. If not you might want to either choose a more lenient ruleset, or remove eslint from the project entirely.

If you do want this to be fixed, these are the initial changes I'd probably go off of to make it work (with some tweaks along the way most likely):

.eslintrc.json

{
  "env": {
    "browser": true,
    "es2021": true,
    "node": true
  },
  "globals": {
    "chrome": "readonly"
  },
  "extends": ["airbnb-base", "prettier"],
  "parserOptions": {
    "ecmaVersion": 12,
    "sourceType": "module"
  },
  "rules": {
    "no-use-before-define": ["error", { "functions": false }]
  },
  "overrides": [
    {
      "files": ["scripts/*.js"],
      "parserOptions": {
        "sourceType": "script"
      },
      "rules": {
        "import/no-extraneous-dependencies": "off",
        "no-console": "off"
      }
    }
  ]
}

.eslintignore

dist
node_modules

package.json

"devDependencies": {
  "eslint": "8.11.0",
  "eslint-config-airbnb-base": "15.0.0",
  "eslint-config-prettier": "8.5.0",
  "eslint-plugin-import": "2.25.4",
}

Gitea & GitLab support

Hey

Thanks for your great extension.

Do you have any plans to support Gitea and GitLab?

language error recognition results in icons error.

I use this extensions for verilog language(connect with vivado ,the file is .v). But it generate the wrong icon. Problem is that it make a mistake between verilog and vlang language(which is also .v). I tried some ways but still couldn't find the reason why it recognizes to vlang. So if there some methods to solove this problem?thank you.

Icon size improvement

Hello,

This is a very nice extension!
I tried it and I immediately noticed an issue with the icons being too small compared to the original ones.

I added the following in main.js (after const newSVG = document.createElement("img");):

newSVG.style.width = "20px";
newSVG.style.height = "20px";
newSVG.style.marginTop = "1px";
newSVG.style.marginBottom = "-1px";

This makes it so much better IMO. Please try it out / consider this.

Nightly build to the extension

Seems like many icons are missing in the browser but present in the VSCode with the respective material theme. Please do update the addon and if possible can the extension be auto-updated with some schedule using GitHub actions.

[icon request] html

Dear Juan, nice to say hello, I would like to request that the 5 of html be white. Since for clear topics this is not affected. However on dark backgrounds this one looks much better. Comparative image attached.
Hoping for a good reception, I say goodbye.

html5

Duplicated Icons when changing icon Packs on 1.8.0

Just recording that I've noticed a small bug with the version that I just released where changing icon packs results in duplicated icons until refresh:
Screen Shot 2023-04-27 at 12 51 19 AM

Pretty sure this is just a side effect of some of the changes to the icon replacement logic we introduced in #56 . Overall I'd rather live with this for a bit than revert since a lot of people seem to be using the new code view.

@csandman just tagging you for visibility, I'm happy to take a stab at it .

Add support to change the languages icons

Add support to configure languages and file associations just like we do in VSCode settings over here?

	"material-icon-theme.languages.associations": {
		"php": "php_elephant"
	},

Suggestion: Although Chrome extension can be run on Edge but also is there any plan to release it for the MS Edge store!!

JSON show node icon?

First off, excellent project, mad respect, etc.
Anyhow, why do JSON files show the Node.js logo?
image

Firefox: Unable to Install: Appears to be corrupt

Firefox version:
78.14.0esr

Addon version:
v1.4.2 (latest release as of now)

Steps to reproduce:
Follow the steps provided in the README:

  • Download release for Firefox
  • Install via about:addons -> "install from file"
  • see error "appears to be corrupt" (screenshot attached)

image of error

Other Solutions I tried:

  • Cloning the repository and zipping it myself

Add option for file prefixes

To have all of our files sorted by type we name them type.*.ts. It would be great if we could specify this pattern in the settings of the extension.

Matching multiple file extensions automatically

Quick sketch for this:

const fileName = 'phpcs.xml.dist.sample';
const fileExtensions = [];
for (let index = 0; index < fileName.length; index += 1) {
  if (fileName[index] === '.') fileExtensions.push(fileName.slice(index + 1));
}

Support Firefox

Do you have any intention to publish this extension to the Firefox addons marketplace?

GitHub enterprise support

Can we have GitHub enterprise support on this extension?
e.g. github.x.com

I think making and option to add site access would do the job.

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.