MTG / freesound

The Freesound website
https://freesound.org
GNU Affero General Public License v3.0
317 stars 88 forks source link

Option for quick citation text for attribution #1681

Closed Wilker-uwu closed 7 months ago

Wilker-uwu commented 1 year ago

Hi! First, thank you all for making this exist <3

second, i'd like to request an option to quickly copy into my clipboard or a file, a block of text containing basic attribution information about the author(s) of a piece as well as the license and link, regardless if the sound is Creative Commons or Public Domain. that would make it much easier to attribute whoever makes any sounds i happen to use in my projects.

again, thank you for your time <3

ffont commented 1 year ago

Hi @Wilker-uwu, Thanks for this timely suggestion, I'll see if I can include now that I'm working in the new UI.

Cheers

Wilker-uwu commented 1 year ago

thank you <3

would also be nice to have a couple options for formatting (xml, json, latex, etc.) if that wasn't already considered :3

Bomme commented 8 months ago

We could take inspiration from attribution builders, such as: https://www.deakin.edu.au/library/help/attribution-builder or https://www.openwa.org/attrib-builder/

ffont commented 8 months ago

Yeah, the big question for me is where to place the "button". Once clicking a button we can open a modal with options. Maybe something like that?

Screenshot 2024-02-21 at 12 31 51

But it looks a bit ugly... ideas?

Wilker-uwu commented 8 months ago

and if giving highlight to the rating could be an issue, the ratings could be in the same row as the Follow button. just as clear, but with more vertical space to fit in more information

ffont commented 8 months ago

Thanks for the suggestions @Wilker-uwu! I think the button should be directly visible, specially if it opens a modal as otherwise it would be a lot of clicking. I thought about two more options:

What do you think?

Wilker-uwu commented 8 months ago

@ffont both ideas sounds good, i don't see why not keep both options. hovering over the license title could immediately reveal a tooltip for copying the attribution at the current setting in one click (Copy attribution {format}/Copied!), and the main button reading "Attribute work" can show you a modal with all the details, one panel for format options and text area for copy, and the other gives you a brief description of the license with links to the full text. changing from there which format to copy from may or may not change the format copied when clicking the text from the main page, which can skip a step if someone's looking to use more than one audio.

Bomme commented 8 months ago

could be in the expanded details of the license, either below showing up when expanding, or as a modal where both the license text and the text box are shown.

I have to say that I kind of agree with that! I think, that the license name should be a clickable link (instead of More... which is not very descriptive anyways) similar to the xx downloads and xx comments. Then More... could reveal the modal.

Have a "copy" button next to the License name (floating to the right)

I think it's better to help people build the right attribution text (i.e. a modal with all the things) than a non descriptive buttons. As an extra it might work.

Add a fully fledged button above/below the "Download sound" button.

I think that would be nice too since it probably would be easier to spot. I would put it next to the license information though and not next to the download, so that the information is in one place.

ffont commented 8 months ago

Cool, so maybe we can make the license name clickable so the "More..." button is not needed. And then instead of the "More..." button we add a "Attribute use of this sound" button or "Get attribution text" which reveals the modal.

Wilker-uwu commented 8 months ago

sounds good. that's two places to access the same modal and one of them to highlight a thing people can do :3

ffont commented 8 months ago

Hi, I'm not sure I understand your comment @Wilker-uwu. Just for clarification, what I propose is to have a button to open the "copy attribution" modal where we currently have the "More..." button, and then make the license name clickable so it redirects users where "More..." used to redirect. So there would be only one button to open the "copy attribution" modal. Then the modal should show an attribution text with a format selector (with "regular", "html" and "plain text" options like in https://freesound.org/home/attribution/?, or if we want to add more options like "json" then we should also add it to the attribution page. Not sure about latex and other formats), and a copy button. If the sound is a remix, then we can also include the attribution to all the sources.

Any other option that should be in the modal?

Wilker-uwu commented 8 months ago

all seems good so far, i was just referring to the earlier idea to have the text outside the modal that isn't the button directly, to be a quick copy button taking the settings of the modal into consideration for the formatting. other than that, looks good :3

ffont commented 7 months ago

This has just been deployed!

Wilker-uwu commented 7 months ago

ayyyyyyyyyy