mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
doc: introduce icon policy documentation #70
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!70
Loading…
Reference in a new issue
No description provided.
Delete branch "icon-policy-doc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moved from https://github.com/bitcoin-core/gui/pull/310
Picking up https://github.com/bitcoin-core/gui/pull/178
This introduces documented policies for how icons should be prepared, optimized, styled, contributed, and attributed within Bitcoin Core. Having guidelines for iconography helps with making applications more consistent and efficient.
document render
cc @Bosch-0 @GBKS
Could we not have that PNG optimization tool run automatically when an image / icon is added to the repo?
@Bosch-0 where would it run automatically? We don't want non-optimized icons in the source tree so the command would have to run client-side. I think you could configure a pre-commit hook in your git client to do this automatically but maybe not worth the effort.
Concept ACK.
Do you have an example of limited app support?
should be
####? And drop:?This line was originally written by @Bosch-0
I can think of 2 motivations:
updated
Updated from 8a2c366 -> 23ad199
Changes: addressed @promag comment
Limited app support may be too harsh, not as widely supported as PNG is probably a better way to put it. JPEG files should also be used over SVGs for images with wider color profiles.
Concept ACK.
I cannot translate it into my native language ((
Is this correct from the English Grammar POV?
In the current state of this repo no icons are from the Bitcoin Icon set, right? Maybe clarify that new added icons should be chosen from that set?
We will be using those Icons. Although there are none yet, they will be added as needed. We know that we will primarily use these icons. I don't see the need to state, as of right now, that "new" icons will be chosen from the set.
https://en.wikipedia.org/wiki/Ancillary_data
maybe this is clearer?:
The phrase “limited application support.” sounds a little confusing and might be misleading. For example, one might think, which application are we talking about here? Is it “bitcoin core” or some other application that works on PNG, SVG, and other formats of images.
I think a better framing of this sentence would be:
“They are not used in production because they are not widely supported (compared to PNGs).”
In this framing, the reader will clearly understand that we are talking about format support in general.
Concept ACK
The icon policy documentation is quite nicely arranged. The details in the document are pretty well explained without being overwhelming. This writing style fulfills the purpose of the documentation as it would be used chiefly by newcomers in the bitcoin core contributing ecosystem.
I have one change to suggest, which I have mentioned here. Other than this and other minor changes suggested by other reviewers, I think this documentation is perfect!
This line is just a quick explanation as to why we are not using SVG files as our production files. The reason for this is because of limited application support; this could refer to x, y, or z reason.
In reality, we are/will be using SVG as production files because that is what designers have recommended. Getting into the particularities here, or what the reality of support for SVG files really is across all applications doesn't matter.
@shaavan: Changing from "limited application support" to "not widely supported" doesn't remove the inherent reference to 'outside' projects
I think the line is fine as is
Updated from 23ad199 -> 68efd37 (pr70.02 -> pr70.03, diff)
Changes:
i've changed the text here from "ancillary (alla)" to "ancillary data"
ACK from me :)
ACK 68efd37c37359ee5fb927deab96eb2964875dfd3
ACK 68efd37c37359ee5fb927deab96eb2964875dfd3
Thanks again for this fantastic work, @jarolrod!
I can see what you are talking about. I guess the phrase "limited application support" is not as confusing as I first perceived it to be :)
ACK 68efd37c37359ee5fb927deab96eb2964875dfd3.
+1 to @hebasto comment though.
updated from 68efd37 ->
7335bdd(pr70.03 -> pr70.04 ,diff)Changes: addressed @hebasto comment
thanks, updated
re-ACK
7335bdd22b