lookit / lookit/lookit-api

GIFs behave inconsistently on experimenter vs. home view

Open
#1,110 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

**Description**
This study displays a broken link on both the search page and the preview-study page:

https://lookit.mit.edu/studies/1e6c0129-13c7-4736-91af-e8886f2b24cd/

However, the corresponding experimenter view displays the GIF, which is presumably why it was never flagged during creation or review:

https://lookit.mit.edu/exp/studies/1876/

**How to reproduce**
Check links above!

**Expected behavior**
GIFs should either work on all views, or else be rejected at the study creation/edit forms

**Screenshots**
![Screen Shot 2023-02-15 at 11 10 11 AM](https://user-images.githubusercontent.com/6819829/219085799-2ff15315-5762-437e-bd65-015240fb0d56.png)

![Screen Shot 2023-02-15 at 11 10 17 AM](https://user-images.githubusercontent.com/6819829/219084926-ac3add1c-e653-440c-a41b-3ca64e5442f6.png)

** Environment (OS, browser, branch, etc.):**

Chrome, Mac laptop

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

Compare how the GIF is rendered on the search page, preview-study page, and experimenter view, using the linked study to reproduce the discrepancy. Then inspect the study creation/edit forms to determine whether GIF links should be supported consistently or rejected there. Done means the GIF behaves consistently across the listed views or invalid GIF links are rejected by those forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.