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

Filter list of publications interactively with labels #81

Merged
merged 20 commits into from
Apr 4, 2023
Merged

Conversation

jcohenadad
Copy link
Member

@jcohenadad jcohenadad commented Apr 3, 2023

We have a lot of publications (good problem to have!), meaning that people glancing at our publication list might be overwhelmed and not easily find the information they need. For example, prospective students who only want to see publications related to "MRI physics" would like to only display these publications.

A nice solution, implemented at Mila, would be to allow users to select filters, to interactively display publications on demand.

Suggested list of labels (one publication can have multiple labels):

  • deep learning
  • image analysis
  • MRI physics

Other suggestions?

TODO:

  • Implement JS code to do filtering
  • Update bibeasy to generate Markdown page that has a list of labels for each publication
  • Update the GoogleSheet publication list to add labels (and also come up with a strategy to list these labels)

TODO in subsequent PRs:

Fixes #80

@jcohenadad jcohenadad changed the title Filter publications List publications with label filtering Apr 3, 2023
@jcohenadad jcohenadad changed the title List publications with label filtering Filter list of publications interactively with labels Apr 3, 2023
@jcohenadad
Copy link
Member Author

Thanks to ChatGPT I was able to implement something similar, using custom JS. Here is a prototype:

Screen.Recording.2023-04-03.at.1.44.01.PM.mov

version: 8cd92f0

@jcohenadad
Copy link
Member Author

Improved cosmetic in afde473:

image

@jcohenadad
Copy link
Member Author

Additional cosmetic improvement (first citation): ef96ff0
image

@jcohenadad
Copy link
Member Author

With added labels d2b20ce:

image

@jcohenadad
Copy link
Member Author

Separated by year 53566eb:

image

@jcohenadad
Copy link
Member Author

Working version, generated with bibeasy (working branch: https://github.com/jcohenadad/bibeasy/pull/18/commits/64a30db3f8c602865a472543fd5dc94a01b76a51) 39eb1e9:

image

@jcohenadad
Copy link
Member Author

Added labels: (cannot use space in them, otherwise it makes the code more complicated):

image

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.

List publications with label filtering
1 participant