← Back to DAGDA | Support | Source: https://github.com/openfoodfacts/nutripatrol-frontend/issues/71
Skip to content

🎯 What can I work on ? (nutripatrol-frontend) #71

Open
1 of 8 issues completed
Open

Description

@teolemon

Warning

This issue is not ready to be picked up. It needs agreement, a mockup and a technical solution first !

Tasks

Navigation

  • Add page number in the URL
  • Add an about page about Nutri-Patrol, data quality and monthly meetings
  • Rework navigation as a dropdown and/or with a search field to allow to jumping to a growing of specialized views

Filters

  • Add a ranking by urgency
  • Add a filter for Robotoff reported issues / Human reported issues
  • Show pending Robotoff questions
  • Add filters for profanity, racism, stolen images, privacy, NSFW

Understanding the issue

Fixing

  • Add a command palette to apply a fix among a large number of solutions to the report
  • Add a link to search-file an issue on contributor-quality-issues
  • Add a "Other problem" button. No face problem, but some other problem

Backend tasks

  • Add a way to auto-resolve Face false positives (using LLMs ?)
  • Add support for more annotations

New Nutri-Patrol views

Ensure peace of mind

Settings

  • Add dark mode support (toggable in settings)
  • Allow choosing Open Food Facts Explorer as a fullfillment backend (when we deploy it to .org)
  • show if we have warnings on this image being similar to something on the web (and if so, show source image)
Image Be more helpful when the image does not exist anymore, explain it may have been deleted already (or auto-resolve it ?) Image

Sub-issues

Sub-issues

1 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    ✨ enhancement
    on Jul 30, 2024
  2. pinned this issue on Jul 30, 2024
  3. removed
    ✨ enhancement
    on Oct 19, 2024
  4. TomHacker69 commented on Nov 15, 2026

    @TomHacker69

    Hi @teolemon!

    I would like to propose a solution for:

    "Add a filter for Robotoff reported issues / Human reported issues" and "Be more helpful when the image does not exist anymore"

    1. Problem

    Currently, the moderation queue is heavily cluttered by automated Vision / Robotoff label annotations (e.g. {"type": "label_annotation", "label": "arm"} or {"label": "computer"}) under reason: other. These are mixed in with human-submitted reports, making it difficult for moderators to prioritize. In addition, when an image has already been deleted on Open Food Facts, the queue shows broken images with no explanation.

    2. Proposed UI / Mockup

    1. Source Filter (Top Bar):
      • Add a segmented filter button: [ All ] | [ Human Reports ] | [ Robotoff / AI ]
      • When Robotoff is selected, an optional dropdown allows filtering by specific detected label (arm, computer, face, etc.).
    2. Comment Formatting:
      • Parse extra_data / comments JSON so {"type": "label_annotation", "label": "arm"} renders as a clean badge: Vision: arm rather than raw JSON.
    3. Missing Image Handling:
      • Detect 404 / image load errors and display an explicit placeholder: "Image no longer exists on Open Food Facts (likely deleted)" with a 1-click [ Auto-Resolve ] button.

    3. Technical Scope

    • nutripatrol (FastAPI backend): Add source query parameter filtering on the reports/tickets endpoint (filtering by human vs bot / robotoff origin).
    • nutripatrol-frontend (React):
      • Add the filter bar to the report list component.
      • Add image error fallback state with quick resolve.
      • Parse structured annotation comments into UI chips.

    Does this approach align with what you have in mind? If so, I can open dedicated sub-issues and start on the frontend/backend PRs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions