fecgov / fec-cms

The content management system (CMS) for the new Federal Election Commission website.
https://www.fec.gov
Other
96 stars 38 forks source link

Organizing documents and images in wagtail #851

Closed patphongs closed 7 years ago

patphongs commented 7 years ago

We need to create a way for users to be able to upload and organize images and documents in Wagtail. A solution that I have talked about with @noahmanger and @emileighoutlaw is to use Wagtail's collections feature. Which will allow users to easily upload a particular asset into a particular collection. For example, record images can go into a record collection.

screen shot 2017-03-01 at 10 18 01 pm

Implementation criteria:

dorothyyeager commented 7 years ago

This is a great idea and I meant to ask about it the other day. I know for us, we have three basic categories of images we use in Info, but some might be useful for others. (Categories are staff/Commissioners, state pics and seals for reporting articles, and pictures for conference/webinar promotion.) I don't know if you are thinking of organizing collections by office or topic, but hopefully that feedback is helpful.

emileighoutlaw commented 7 years ago

That's super helpful, @dorothyyeager! I'll definitely want to talk more when we dive into this next sprint 🐬

emileighoutlaw commented 7 years ago

I've been poking around taxonomy research and thinking about our specific challenges and needs for this image organization, and I have some thoughts and tentative ideas:

Goals

Challenge Collections can only go one layer deep, so we can't have a collection within a collection. This is tricky, because it means our organization needs to be flat (not hierarchical). At the same time, we don't want to give people too many collection options to choose from (which we know can be overwhelming).

Approach I think it makes the most sense to organize images by the content of the image itself and not where in the site hierarchy the image is placed.

That means that when choosing a collection for Commissioner pictures, we'd prefer something called Headshots to something called Leadership and structure.

The reasoning here is that shared content could be useful in several sections of the website.

For example, a "reporting example" could be used in Help for candidates and committees as well as an FEC Record article. A commissioner photo might be needed for a press release. A thumbnail of a brochure cover could be used on several pages across several sections.

People do a good job of remembering lists of about 7 (plus or minus 2) things at a time, so shooting for a list of about 7 collections felt good to me. Here's what I landed on:

screen shot 2017-03-27 at 3 50 39 pm

I would really really welcome any thoughts or feedback about this.

noahmanger commented 7 years ago

That makes a ton of sense to me! I'd also add that Wagtail has the ability to tag images with keywords, so there might be a way to make use of that as well.

dorothyyeager commented 7 years ago

That makes sense to me too. We have been using tags for Record article images and it's helped with finding them already. I'll put some thought into the ones we've used and see if I can make them consistent and useful. For the category state seals - maybe relabel "state and district images" - we primarily use them for special election Record articles but in case there are other uses for them, plus sometimes we use a map of a congressional district instead of a state seal.

emileighoutlaw commented 7 years ago

Adding @patphongs' notes that we need to account for documents, too:

Audits (Different types of audit documents) Litigation (Court case documents) Outreach (Webinar agendas and course docs) Commission Meeting Documents (meeting documents, audio, transcripts) Commissioner Statements(Both joint and individual statements from commissioners)

emileighoutlaw commented 7 years ago

So how about this for a revised list:

.

emileighoutlaw commented 7 years ago

Quick ping for @patphongs' busy brain. Does that list (above) look helpful/complete to you?

patphongs commented 7 years ago

Sorry for the delay! Yes this looks good, if more categories come up, it's easy enough to add it too. We should ask the Content owners who own these docs if these collections will be enough for them.

emileighoutlaw commented 7 years ago

Great! I'll share with content managers on our Monday meeting, and add these categories to our collections