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

Citations: View All #8321

Open
garethrees opened this issue Jul 12, 2024 · 0 comments
Open

Citations: View All #8321

garethrees opened this issue Jul 12, 2024 · 0 comments
Labels
f:citations improvement Improves existing functionality (UI tweaks, refactoring, performance, etc) x:uk

Comments

@garethrees
Copy link
Member

Requires #8314.

We currently only display the 3 most recent citations in the sidebar, since they compete for prime space.

We'll combine the new citation form and the list of citations related to the citable on one page, displaying the form first, then a paginated list of citations for the citable underneath, using the same format as the global public list (#8314). Obviously the repetition of the request / body is a little redundant, but it makes the implementation easier and we can decide on a different format later if we really need to. This is intended as a quick win, so extra design isn't worth it given most requests have < 3 citations anyway.

Screenshot 2024-07-12 at 11 53 00

In making this change we should use the /show action rather than /new, so the URLs would be e.g:

  • /request/foo_bar/citations
  • /info_request_batch/123/citations

If it's easy, it would be nice to make a couple of improvements to the form, but can skip if we're tight on time.

  • Make the source_url field wider; URLs tend to be quite long
  • Display the type radio buttons in two columns to take less vertical space now that the page is doing more

Screenshot 2024-07-12 at 11 59 42

@garethrees garethrees added x:uk improvement Improves existing functionality (UI tweaks, refactoring, performance, etc) f:citations labels Jul 12, 2024
@garethrees garethrees added this to the Citations: Public List milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f:citations improvement Improves existing functionality (UI tweaks, refactoring, performance, etc) x:uk
Projects
None yet
Development

No branches or pull requests

1 participant