-
Notifications
You must be signed in to change notification settings - Fork 16
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
add alternative author roles properties #434
Conversation
f75199e
to
47a60f8
Compare
Hello, just chipping in to make sure that the terminology is the right one :) A comic book doesn’t usually have an “illustrator”, it has an “artist” (“dessinateur”⋅ice in French) and a “writer” (“scénariste” in French). Both of them are commonly called the “authors” of the book. It would be incorrect to use “Illustrators” are people making illustrations alongside a text, such as in some novels for instance, and other kind of works where the illustrations are not part of the main text. So the books that have “illustrators” are rarely or never comic books. Moreover, sometimes there are illustrators that are just for an edition of a work: often, a classic text might be published many times with a different illustrator each time (and some editions without illustrations). Some other times, there might be a main illustrator that worked alongside the author and their illustrations are in all or most editions. |
|
Comics (often US) only mention a “penciller” if there is also a separate “inker”. I don’t think we should use “penciller” for most comics, which have the same artist doing both. It’s also not completely correct to use “illustrateur⋅ice/dessinateur⋅ice” for the artist if there is no special “scénariste” role for the writer. Both are “authors”, so it isn’t valid to mark only the writer as so. Note that there is also an growing movement to consider the colorist as one of the authors. Just want to make sure we use the right semantic properties :) I do think this PR is a good idea, great to have the choice of the author role! I have been missing “illustrator” for several books, but especially for specific editions of novels. |
cf3fe59
to
72d9080
Compare
When one create a new work, one choose Type: Comics, then P50 author slot disappear. It is understandable but slightly confusing to remove the author P50 slot. Maybe i dont have precise information about whose role the author exactly have, but i would like to have the possibility to still fill the author P50 slot (?) [Edit] This P50 disappearance also happens after moving a human entity from author to (ie.) colorist, making it impossible to fill the author slot anymore. [Edit2] Also related, when i edit an existing work (with no screenwriter/colorist/etc slots fields) with type "Comics" to type "Written work", The P50 author slot should be displayed. Same happens vice-versa, screenwriter/colorist/etc slots should be displayed |
When one create a new work, one fill the author P50 slot, one choose Type: Comics P31:Q1004, one changes from author to screenwriter with the little menu below the statement value
|
Small feature suggestion: when an entity is "wrongly" associated with a work type (ie. a screenwriter for a written work), today if one moves it to author, then the screenwriter disappears. Which is fine if the user knows they are cleaning up the entity. But if they're not, it would be nice to suggest (ie. through a flash/infobox) that there is something smelly on this entity (à la Wikidata, with the tiny flag of the values constraints). It would be a nice little feature useful to this PR, that could then be generalized slowly on other cases. [non-blocking, but to move in an issue] |
app/modules/entities/components/editor/lib/suggestions/property_values_shortlist.js
Show resolved
Hide resolved
When one edits an existing "written work" with an author and an screenwriter, aka with claims as such:
Then one changes P31 to Comics (
|
…ferent properties
Those states (ex: suggestions being nullish) might be the result of the dev hot reloading and not actually happen in prod, but better safe than crashy
The reactive statement was making the scroll function be called on component initialization due to changes made in this branch
…d types at once and using top-level await to then be able to import those values sync
72d9080
to
b1cd99f
Compare
(Answering in review threads would be more convenient)
should have been fixed by 9fb244a
should have been fixed by ee605b9
The idea is to encourage to directly enter the specific role. I can think of 2 alternatives, not sure which one is best:
I would rather keep that for a later improvement, possibly in another PR, after the main mechanism has been validated, to keep this PR small |
…36), penciller (wdt:P10837)
@nclm after 2db5845 we now would have the following properties: const mostlyTextWorksRoles = [
'wdt:P50', // author
'wdt:P110', // illustrator
]
const drawedWorksRoles = [
'wdt:P58', // scenarist
'wdt:P6338', // colorist
'wdt:P9191', // letterer
'wdt:P10836', // inker
'wdt:P10837', // penciller
] Any change suggestion? |
app/modules/entities/components/editor/select_author_role.svelte
Outdated
Show resolved
Hide resolved
Yeah, this happens when i dont have located a specific line to address the comment. Duly noted though. |
by introducing a dedicated symbol, which is then used to hide the moved claim ClaimEditor without affecting other instances of the ClaimEditor in the PropertyClaimsEditor {#each} block (as it is keyed by index and not value)
03ebb42
to
74cb90f
Compare
by hiding the selector behind a button. This as the advantage to hide the repetition between the property label (ex: "author") and the selector default option ("author" again)
addressing #202
depends on inventaire/inventaire#696
This PR does a few things:
P31
value (ex: add an illustrator (P110
) to a comic book (P31:Q1004
) or manga (P31:Q8274
))P50
to a more precise role will come handy, as all our local entities have been usingP50
onlyNotable implementation details: