Should GIFs files be allowed in the Annotate question type

Open
#860 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript
Domain
frontend

Research direction

Start by locating the Annotate question type and its image-file handling, then reproduce the GIF behavior using the provided project and submission steps. The issue needs a decision between allowing GIFs as static images and blocking them; done means the chosen behavior is implemented and verified for GIF uploads.

Written by the indexing model from the issue text.

Description

needs discussion
Expected Behaviour

I think we should discuss which way is better:

  1. Leave it as it is and allow adding GIF files (but they won't be behaving like GIFs)
  2. Block adding GIF files
Observed Behaviour

It is possible to add GIF files in the Annotate, but it will be added as a normal image, without moving which might be confusing for the users

Reproduction Steps

Steps:

  1. Navigate to the Project: https://test.getodk.cloud/projects/720/forms/draw-annotation-signature/submissions
  2. Click on the New Submission
  3. In the Annotate image click on the Choose Image and select any GIF file
  4. GIF will be added as a normal Image
Environment
  • Browser version: Firefox 153.0 (64-bit)
  • OS: Windows 11
  • Web Forms version: v1.0.0
Additional Context
Dominant language
TypeScript
Stars
38
Forks
24
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from getodk/web-forms

All issues in getodk/web-forms

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.