Repair select-dom import and the issue with icon display on GitLab#35
Repair select-dom import and the issue with icon display on GitLab#35jefersonla wants to merge 1 commit intodderevjanik:masterfrom
Conversation
|
@jefersonla Thank you for your contribution. Everything works fine 👍 ! |
|
Thanks @dderevjanik, but i think there's some problem with the imports and Jest, have you already experienced that? |
|
@jefersonla The support for ES module in jest is atm only available in the beta releases, I made an updated tests fix PR #36 to support them. I checked out your branch and tested that the tests pass. Also, since github-vscode-icons/packages/content/pages/GitHub.ts Lines 115 to 124 in 0e87e48 To check for future changes in the page layout of GitLab it would also be nice if you could add the selector for the icons to the test. And two more things:
Cheers 🥂 |
|
@jefersonla sorry for late response, but could you please resolve conflics? |
|
Will this be merged? Currently, gitlab has no icons... |
This pull-request updates the import style of the 'select-dom' module, which is currently not working because version 7.1.0 of 'select-dom' added TypeScript bindings and change the import style (ES module default). Without 'select-dom' no icons are showed on GitLab and SourceForge websites.
But even after repair 'select-dom' import, no icons are updated in GitLab, for two reasons:
In order to repair this problem, I've created a MutationObserver that apply vscode-icons for items added after the plugin initialization.