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

Added cairo icon to ensure all .cairo extensions are recognisable #5665

Merged
merged 10 commits into from
May 29, 2024

Conversation

Utilitycoder
Copy link
Contributor

@Utilitycoder Utilitycoder commented May 28, 2024

This closes issue #5626


This change is Reviewable

@Utilitycoder Utilitycoder requested a review from mkaput as a code owner May 28, 2024 09:20
Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 5 files at r1, all commit messages.
Reviewable status: 3 of 5 files reviewed, 4 unresolved discussions (waiting on @Utilitycoder)

a discussion (no related file):
Thanks for this PR! I want to test this manually, so I'll unblock this comment when I'll do this 😃



vscode-cairo/package.json line 37 at r1 (raw file):

    "iconThemes": [
      {
        "id": "cairo-icon-theme",

This looks weird to me. How does this play with external file icon themes?

  1. Say, user has installed vscode-icons (https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons), how does this change affects the user?
  2. What if custom icon theme is defining one for Cairo? Which icon wins?

I took a look at VSCode docs, and it looks like there is a more appropriate approach: https://code.visualstudio.com/api/extension-guides/file-icon-theme#language-default-icons wdyt?


vscode-cairo/package.json line 141 at r1 (raw file):

    "prettier": "3.2.4",
    "typescript": "^5.3.3",
    "vscode": "^1.1.37"

Why do you need this line to be added?


vscode-cairo/icons/cairo-icon.png line 0 at r1 (raw file):
What has changed here? I cannot spot a difference. Would it be possible to revert this?

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 5 files at r1.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @Utilitycoder)


vscode-cairo/images/icon.png line 0 at r1 (raw file):
VSCode docs say that it's preferable to use SVG (https://code.visualstudio.com/api/extension-guides/file-icon-theme#adding-a-new-file-icon-theme, first sentence). I'll ask Starkware ppl for it.

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @Utilitycoder)

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewable status: 4 of 5 files reviewed, 5 unresolved discussions (waiting on @Utilitycoder)


vscode-cairo/images/icon.png line at r1 (raw file):

Previously, mkaput (Marek Kaput) wrote…

VSCode docs say that it's preferable to use SVG (https://code.visualstudio.com/api/extension-guides/file-icon-theme#adding-a-new-file-icon-theme, first sentence). I'll ask Starkware ppl for it.

https://starkware.co/media-kit/ you can get it here :)

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @Utilitycoder)

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 5 files at r3.
Reviewable status: 5 of 7 files reviewed, 1 unresolved discussion (waiting on @Utilitycoder)

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 2 files at r4.
Reviewable status: 6 of 7 files reviewed, 1 unresolved discussion (waiting on @Utilitycoder)

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r5.
Reviewable status: 6 of 7 files reviewed, 1 unresolved discussion (waiting on @Utilitycoder)

Copy link
Contributor

@mkaput mkaput left a comment

Choose a reason for hiding this comment

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

:lgtm:

i did some cleanups myself

thanks for contribution! ❤️❤️❤️❤️❤️

Zrzut ekranu 2024-05-29 o 16.59.28.png
Zrzut ekranu 2024-05-29 o 16.59.44.png

Reviewed 1 of 2 files at r4, 5 of 5 files at r6, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Utilitycoder)

@mkaput mkaput enabled auto-merge May 29, 2024 15:00
@mkaput mkaput added this pull request to the merge queue May 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 29, 2024
@mkaput mkaput enabled auto-merge May 29, 2024 15:14
@mkaput mkaput added this pull request to the merge queue May 29, 2024
Merged via the queue into starkware-libs:main with commit c8ef96a May 29, 2024
44 checks passed
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.

2 participants