Skip to content
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

[#8314] Public citations view #8400

Closed

Conversation

gbp
Copy link
Member

@gbp gbp commented Oct 4, 2024

Relevant issue(s)

Fixes #8314

What does this do?

  1. Add public citations view
  2. Adds Citation#title and description fields

Why was this needed?

Shows impact of FOI in action.

Screenshots

image

We care more about the general grouping rather than a citation being
e.g. specifically an _academic_ research. It could be some other
generally research that we'd want to track.
Reorder and combined routes to a single part in the config/routes.rb.
Rename as compact as this is currently used to render the citation
minimally in the sidebar.

Updated the CSS classes too which aren't yet used.
@gbp gbp force-pushed the 8314-public-citations branch 3 times, most recently from d904a6c to 412a0e9 Compare October 7, 2024 10:31
@gbp gbp changed the base branch from develop to update-info-request-not-embargoed-query October 8, 2024 10:17
@gbp gbp marked this pull request as ready for review October 8, 2024 10:18
Copy link
Member

@garethrees garethrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🎉

Added some bits in #8404 which if you're happy get merged all at the same time.

gbp and others added 10 commits October 11, 2024 08:26
Use `title` over the `source_url` but fallback if not present.
Makes it easier to view the source of the citation now that we link to
the edit form in the admin UI.
Matches the new /citations page and reflects the broader themes that
we're interested in tracking.
* Always show the context text
* Use the same CTA irrespective of existing citations
Add some basic navigation links to the new public list of citations.

It would be nice to add a homepage section for this by extracting out
the intro text of citations/index into a partial, but let's leave that
for a later release to give people a chance to build up a list of
citations before heavier promotion.
@gbp
Copy link
Member Author

gbp commented Oct 11, 2024

Merged in 9677315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Citations: Public List
2 participants