lookit / lookit/lookit-api

Clickable lab links - researcher request

Open
#1,704 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Good First Issue
Dominant language
Python
Stars
12
Forks
21
Avg merge
5d 19h
Merged PRs (30d)
5

Description

# TL;DR

On study details page, the lab's name should be clickable so a parent can see other studies currently running from that lab.

Image

From Kara on Slack: "Hi! I’d like to propose a feature in which you can click on the hosting labs name on a study and it could take you to all their studies hosted on the site."

# Narrative

As a parent, if a study sounds interesting but either I already did it or we're not eligible, I want to be able to see if this team has other studies I can take.

As a researcher, I hope that one appealing study will make a family interested in doing more from my lab, and I'd like to make it easy for them to find it.

CF also #918

# Implementation Notes

Many labs will not have other studies live, the family will be taken to a page that just has the one study. Do we care? This is not a huge problem, just a slightly disappointing result for families. But it maybe encourages keeping studies up where possible?

(A slightly fancier version that's probably NOT worth implementing right now would be to check if other studies are live, then either (a) keep status quo if only 1 study is live (this one) or (b) Show something like "See (n-1) other studies on [Lab Name]'s page" with the link.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the study details entry point and the API support for listing studies by lab; verify how lab names are exposed and how the destination page is built. Done means a lab name on a study links to a page showing that lab's currently running studies, including when only the current study exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.