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

Update the icons with the new official icon. Removed pt-summit icon. #414

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

FoolRunning
Copy link
Contributor

@FoolRunning FoolRunning commented Sep 6, 2023

This change is Reviewable

rolfheij-sil
rolfheij-sil previously approved these changes Sep 6, 2023
Copy link
Contributor

@rolfheij-sil rolfheij-sil left a comment

Choose a reason for hiding this comment

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

That was fast, nice work!
Would it be a good idea to rename them to pb-*? I guess pt still refers to Paratext

Reviewed 9 of 9 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @FoolRunning)


assets-excluded/logo/pt-react.png line 0 at r1 (raw file):
The new image is smaller, is that okay?
It's 256256 instead of 10241024


c-sharp/icon.ico line 0 at r1 (raw file):
This one is smaller too.
It's 256256 instead of 10241024

Copy link
Contributor Author

@FoolRunning FoolRunning left a comment

Choose a reason for hiding this comment

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

Good point. I just removed the prefix.

Reviewable status: 5 of 12 files reviewed, 2 unresolved discussions (waiting on @rolfheij-sil)


c-sharp/icon.ico line at r1 (raw file):

Previously, rolfheij-sil wrote…

This one is smaller too.
It's 256256 instead of 10241024

256x256 is the biggest we have. That should be big enough (at least for now).


assets-excluded/logo/pt-react.png line at r1 (raw file):

Previously, rolfheij-sil wrote…

The new image is smaller, is that okay?
It's 256256 instead of 10241024

256x256 is the biggest we have. That should be big enough (at least for now).

rolfheij-sil
rolfheij-sil previously approved these changes Sep 6, 2023
Copy link
Contributor

@rolfheij-sil rolfheij-sil left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 7 of 7 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@FoolRunning
Copy link
Contributor Author

The build failed because apparently it does need at least a 512x512 image. I've asked if one can be gotten.

Copy link
Contributor

@irahopkinson irahopkinson left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 9 files at r1, 7 of 7 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @FoolRunning)


assets/icon.svg line 1 at r2 (raw file):

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

I think you will find this file gets used in production for the macOS release.


c-sharp/icon.ico line 0 at r2 (raw file):
Is this an .ico containing several different sizes (the same sizes contained int he old one)?

Copy link
Contributor Author

@FoolRunning FoolRunning 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, 2 unresolved discussions (waiting on @irahopkinson)


assets/icon.svg line 1 at r2 (raw file):

Previously, irahopkinson (Ira Hopkinson) wrote…

I think you will find this file gets used in production for the macOS release.

I searched all files and could find no reference to any .svg file, but maybe I missed something?


c-sharp/icon.ico line at r2 (raw file):

Previously, irahopkinson (Ira Hopkinson) wrote…

Is this an .ico containing several different sizes (the same sizes contained int he old one)?

It does contain multiple sizes (max size 256x256). I'm not sure which ones were in the original.

@irahopkinson
Copy link
Contributor

assets/icon.svg line 1 at r2 (raw file):

Previously, FoolRunning (Tim Steenwyk) wrote…

I searched all files and could find no reference to any .svg file, but maybe I missed something?

electron-builder doesn't refer to it directly - it just expects it to exist with that filename (I think you can specify it which, in hind-sight, would be a better setup to make it more obvious it's being used). However, I'm not remembering correctly and the file I'm thinking of is the .icns file (not this one). See https://www.electron.build/icons.

@irahopkinson
Copy link
Contributor

assets/icon.svg line 1 at r2 (raw file):

Previously, irahopkinson (Ira Hopkinson) wrote…

electron-builder doesn't refer to it directly - it just expects it to exist with that filename (I think you can specify it which, in hind-sight, would be a better setup to make it more obvious it's being used). However, I'm not remembering correctly and the file I'm thinking of is the .icns file (not this one). See https://www.electron.build/icons.

We still might want to keep this file since it's the only format that we can use in a browser that doesn't need the different sizes cached. Perhaps move it into assets-excluded until it is used?

Copy link
Member

@tjcouch-sil tjcouch-sil left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 5 of 9 files at r1, 7 of 7 files at r2, 8 of 8 files at r3, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @FoolRunning and @irahopkinson)

Copy link
Contributor

@irahopkinson irahopkinson left a comment

Choose a reason for hiding this comment

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

:lgtm:

The main window icon is lower res than the rest (panel icons) but we can fix that up as we go along rather than hold this up.

Reviewed 8 of 8 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@FoolRunning FoolRunning merged commit a077b85 into main Sep 27, 2023
6 checks passed
@FoolRunning FoolRunning deleted the icon-update branch September 27, 2023 12:38
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.

4 participants