backdrop-ops / backdropcms.org

Issue tracker for the BackdropCMS.org website
https://backdropcms.org
25 stars 21 forks source link

Support a little more data in .info files #487

Open jenlampton opened 5 years ago

jenlampton commented 5 years ago

This is a spin-off from https://github.com/backdrop-ops/backdropcms.org/issues/100

I have added several fields to the project content types on backdropcms.org:

1) unlimited value term reference field "Project Tags" -- the list of tags has been seeded with the tags listed in the documentation 2) unlimited value image field "Screenshots" -- this will replace our "Image" field since it is multiple value. The image we pass to project browser will be the first (delta = 0) of this list. 3) unlimited value short text field "GitHub Maintainers" -- since right now all we have are maintainers on GitHub, this was the safest way to handle these values. If in the future we support other kinds of maintainers, an update hook will be easy if we treat all values the same way right now. 4) unlimited value List (text) field "Theme Colors" -- this currently supports any of the following colors:

Aqua
Beige
Black
Blue
Brown
Gold
Gray
Green
Ivory
Lavender
Lime
Maroon
Navy
Olive
Orange
Pink
Purple
Red
Salmon
Silver
Tan
Teal
Violet
White
Yellow

I tried to pull all the un-ambiguous color names from the list of CSS colors, but let me know if we need to pair this down further. (do we really need either/both lavender and violet? what about Tan and Beige? Acqua and Teal?)


PR: https://github.com/backdrop-ops/backdropcms.org/pull/488 https://github.com/backdrop-ops/backdropcms.org/pull/750

docwilmot commented 3 years ago

I've just tried this, on the Copy Blocks module (added tags and maintainers to the info file) and it didn't work as expected. No tags on the project node. Are the changes live?

jenlampton commented 3 years ago

Are the changes live?

No, not yet. I'm hoping to do a deploy tomorrow after a little more testing.

docwilmot commented 3 years ago

Great. I'd appreciate more testing.

jenlampton commented 3 years ago

@docwilmot This has been deployed onto b.org. I'm not sure I specifically notified you of that yet (sorry for the delay!) but the next steps for projects should be unblocked now :)

docwilmot commented 3 years ago

FYI I tested this with just tags[] = stuff some time last week and it worked but there were a bunch of log errors. I forgot when it was and now I cant find those logs. Will try and test with images as soon as possible.

albanycomputers commented 3 years ago

@docwilmot thanks.

albanycomputers commented 3 years ago

Is there an Issue where I can post regarding updating the Modules section of BD to include search filters for Module type / Package type etc... ?

docwilmot commented 3 years ago

we havent gotten that far yet. once the API to populate the fields on the main site is sorted, we would open an issue. Pinging @bugfolder

bugfolder commented 3 years ago

Maybe just add a link to this issue to [META] How to improve the module search experience #840.

I've started putting together a project View that added various filtration options; I'll work these fields into it, but probably not till after this week's holidays (in the US).