-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link news stories and articles to requests #5483
Comments
Fantastic.
|
Thanks 🎉 We've set a limited time budget for the initial implementation of this, so we're unlikely to extend the scope past what's described in the issue body above. All great ideas though, and will tackle separately in the future. Just focusing on laying the groundwork first. |
I also have some feature creep ;) which I appreciate there isn't time to implement if it's not already been considered.
|
Not yet, but yes, we'd like to make a public list
Not yet, but easy to generate a manual report for now.
Not yet, but interesting idea. |
From volunteer catch up call notes |
It appears that this feature is live on WhatDoTheyKnow but only admins (and requestors?) can add links? Suggestions / observations:
|
Requests in the news should be included in alerts. Perhaps significantly newsworthy requests should be in everyone's alerts by default? Care would need to be taken to remain impartial. |
Closing this because the described ticket is complete. For enhancements to the core functionality other tickets can be opened for consideration. |
A human readable summary would take that a step further. Images Also there is typically an image associated with a news story / article. This may be accessible for use when describing links eg. via a social media "card". We might want to display an image where we show citations. Related ticked on images: #6586 |
Created two tickets: |
Linking to the announcement blog post because I always end up here when looking for it https://www.mysociety.org/2020/01/14/has-your-foi-request-been-used-in-a-news-story-now-you-can-let-everyone-know/ |
A subset of #34.
Fixes https://github.com/mysociety/transparency-adessium/issues/26.
We want to build a culture of fact-based journalism.
One way of doing this is for journalists to show their sources, especially in the case of public information like FOI requests. We know it's a struggle to get them to do this at the story end, but we think there could be milage in linking the other way – from the source to the story.
Benefits for Alaveteli maintainers:
Benefits for Pro users:
Benefits for free users:
Naming
We're going to call these "Citations" – they're similar to an "annotation", but with more structured data.
Who can add citations?
For the initial launch, we're only going to allow the following users to create citations:
There's a little more risk of abuse from allowing request owners to add citations, but I think in general we trust our users and their mass will help this idea pick up more than if we only initially allowed Admins and Pros to add citations.
We can later think about allowing all users to add citations, possibly through a "suggestion" form similar to
PublicBodyChangeRequest
.The blank slate
The request page sidebar will be the kicking-off point for Citations. We think its important to give these some prime space since they're a new concept.
We'll add a new
.sidebar__section
container with a little explainer, and a link to add a new citation. We need to work out the wording here, but I'm thinking along the lines of:We'll disable the link to the form unless the user has permission to add citations.
The form can be pretty simple. At a minimum we'll record the source URL.
We'll aim to store the "type" of citation (whether its a news story, academic paper or other). This helps users understand the type of citations we're after. This isn't critical though.
We may also want to add a text field for a human-readable title. We could try to automatically populate this with the
<title>
tag contents from the source URL, but it depends how much time we have left.On submission, we just show a flash message saying thanks.
We should reject duplicate source URLs.
Displaying and adding more citations
We'll show the most recent 3-5 citations in the sidebar. We could prioritise "news"-type citations in the future, but probably we'll just go for most recent initially.
Its not critical for launch if we're really pushed, but the aim should be to have a page listing all citations, with further details than we can show in the sidebar.
Clicking a citation link, or "more" should take you to the citations index (
/request/:url_name/citations
).Here we'll show a little request metadata, and expand citations, showing who added it (for accountability) and when. The citations here can then link off-site to the source URL.
Editing and deletion
We want to avoid getting bogged down by figuring out exact permissions of who can edit/delete citations in various contexts (e.g. "Can a Pro delete a citation on their request that got added by an Admin?"), so for this first iteration we'll make editing and deletion pretty limited.
We should only allow deletion within 30 minutes of creation by the citation author. After that they'll have to get in touch with the admin team, and developers will have to remove/edit through the console.
Batch requests
We'll aim to mirror the behaviour of citations on Batch requests – adding an "In the news" section to the sidebar.
Citations will be recorded against the
InfoRequestBatch
.When collecting citations to show alongside a batch, we'll get both the citations directly added to the batch, plus citations added to individual requests within the batch.
On a request page that belongs to a batch, we'll collect citations added to that particular request, plus citations added to the parent batch.
Not essential, but when adding a citation to an individual request in a batch, we could add a tick box that allows the citation to get added to the batch record instead of the individual request:
The data model
We decided that tags aren't that useful for this, as they only store one value.
Instead we'll create a
Citation
model:There's a lot of overlap with the current
Comment
model, so we'll aim to extract the common bits (visibility, reporting, admin columns) out in to anAnnotation
abstract class, with the more specific details (e.g. validations) in subclasses.The association will have to be polymorphic, so that a
Citation
can get added to anInfoRequest
or anInfoRequestBatch
.We'll start off by creating
Citation
first, if possible, so that at least we have that if we have to abandon the abstract class idea.Human title
When listing citations, it would be nice to show something more human friendly than just the URL. There are a couple of options for this, depending on the time available once we've got the core features done.
I think the default should be to just show the URL, less the protocol and
www
.So for a source URL of
https://www.bbc.co.uk/news/uk-scotland-highlands-islands-50508800
we'd show:bbc.co.uk/news/uk-scotland-highlands-islands-50508800
.The text was updated successfully, but these errors were encountered: