Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Update Codicons update command and assets #259

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

dalthviz
Copy link
Member

@dalthviz dalthviz commented Mar 27, 2024

Changes description

  • Change to use .css instead of .csv file to build charmap
  • Add --msc-version arg to the command and use it to build the download URLs (.ttf, .css and .json files)
  • Update codicon assets

Fixes #252

@dalthviz dalthviz added this to the v1.3.1 milestone Mar 27, 2024
@dalthviz dalthviz self-assigned this Mar 27, 2024
@dalthviz dalthviz changed the title PR: Update Codicons update command PR: Update Codicons update command and Codicons assets Mar 27, 2024
@dalthviz dalthviz marked this pull request as draft March 27, 2024 00:36
@dalthviz dalthviz marked this pull request as ready for review March 27, 2024 00:51
@dalthviz dalthviz marked this pull request as draft March 27, 2024 00:54
@dalthviz dalthviz marked this pull request as ready for review March 27, 2024 20:29
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some stylistic questions and an important question for you @dalthviz.

@@ -71,7 +71,7 @@ The following prefixes are currently available to use:

- `ri` prefix holds [**Remix Icon** 2.5.0 with its 2271 icons.](https://github.com/Remix-Design/RemixIcon)

- `msc` prefix holds Microsoft's [**Codicons** 0.0.35 with its 446 icons.](https://github.com/microsoft/vscode-codicons)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is that the version is the same but the number of icons is different? Shouldn't the version number be greater than 0.0.35?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is caused due to the change from the .csv to the .css file as source to generate the icons charmap file. As mentioned at #241 (comment) the .csv misses icons definitions available from the .css file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, then it's really good that our asset files are going to be versioned since our next release.

setupbase.py Outdated Show resolved Hide resolved
setupbase.py Outdated Show resolved Hide resolved
setupbase.py Outdated Show resolved Hide resolved
setupbase.py Outdated Show resolved Hide resolved
setupbase.py Outdated Show resolved Hide resolved
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now, thanks @dalthviz!

@ccordoba12 ccordoba12 changed the title PR: Update Codicons update command and Codicons assets PR: Update Codicons update command and assets Mar 27, 2024
@ccordoba12 ccordoba12 merged commit 60c0cc6 into spyder-ide:master Mar 27, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Codicons update command
2 participants