alonetone icon indicating copy to clipboard operation
alonetone copied to clipboard

Allow users to set a license for each track separately

Open Manfred opened this issue 2 years ago • 6 comments

  • Adds a column to assets to store a license code
  • Adds a proxy class for license to format license related labels and icons
  • Adds a license option to the asset form
  • Support for dark and white themes

I think it's fine to add a column with a default in one go for all assets, but that may be a very slow migration. We should probably test that before deploying.

References #1196

Manfred avatar Apr 11 '22 20:04 Manfred

Screen Shot 2022-04-11 at 22 08 46 Screen Shot 2022-04-11 at 22 09 01 Screen Shot 2022-04-11 at 22 09 10 Screen Shot 2022-04-11 at 22 09 23

Manfred avatar Apr 11 '22 20:04 Manfred

I also considered using the default Unicode symbols instead of SVG, but I'm pretty sure those aren't supported on a lot of devices. https://creativecommons.org/2020/03/18/the-unicode-standard-now-includes-cc-license-symbols/

Manfred avatar Apr 12 '22 13:04 Manfred

This all looks great!

Oooh, that's cool about unicode CC symbols. SVG is perfect though, more pragmatic for now.

sudara avatar Apr 12 '22 14:04 sudara

Got @smoofles over and we're taking a look at cleaning up the "show track" page a bit and making sure this all looks good on mobile, etc! Thanks again for the feature @Manfred!

sudara avatar Apr 19 '22 15:04 sudara

Added #1199 and #1200 to summarize design cleanup to assets#show and assets#edit to help clear room for this feature.

@bencarlos — probably easiest if those changes just happen on this branch. Ping me if you think I need to move some rails logic around for fave and edit, otherwise i think it should be pretty straightforward!

sudara avatar Apr 20 '22 11:04 sudara

@Manfred We tried to include CC icons in a couple places like in the main list, but in the end they seemed to mainly add visual bulk/noise, so they didn't make the cut... 😢

image

sudara avatar Apr 20 '22 12:04 sudara