18F / atf-eregs

Container and styles for an ATF eRegs instance
https://regulations.atf.gov/
Other
9 stars 20 forks source link

Sketch out solution for fetching Ruling/etc. info #474

Closed cmc333333 closed 7 years ago

cmc333333 commented 7 years ago

Once we have Ruling, FAQ, etc. from the Drupal API (#473), we need to figure out how to merge it with our rendering.

Some options:

carodew commented 7 years ago

Leaving a note here for us to consider when we get into the UI design phase –

image

I think it's great that the Rulings bar will appear gold when rulings are there, but I don't think that's necessarily clear without reading the About page. I found myself clicking open the Rulings bar each time I navigated to a new section to see if anything was there (not knowing I was looking for a change in color). The other issue is that this is likely ineffective for color blind users, and we should consider a non-color dependent way of communicating this.

Possible options to explore and validate – 

cmc333333 commented 7 years ago

@carodew moved the interface discussion to a new ticket; this one's focused on retrieving the data.

cmc333333 commented 7 years ago

Based on discussion with @tadhg-ohiggins, the current strategy is to write a Django management script in the atf_eregs app which will fetch data and insert it into the database (skipping the parser). We will run this script at some fixed, recurring interval. It will need to clear the appropriate data when inserting new content.

We can spin out these tasks into additional issues.