Block localization on small screens

Open Beginner friendly
#409 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
80/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript

Research direction

Start with RequireLocalize in App.tsx and inspect how it wraps /localize routes; check the existing small-screen menu behavior in AppLayout. Add a screen check that shows a “Please use a computer” message for the localize editor on small or touch-only screens. Done when classify pages continue working as today and the localize editor is replaced on those screens.

Written by the indexing model from the issue text.

Description

hackathon-theodo P2-medium T4-26 topic: frontend type: enhancement

Context & Objective

Drawing precise, often tiny boxes with a finger on a small screen gives poor annotations. Prevent localization on small screens.

What is done currently

No page adapts to small screens (only the menu does, in AppLayout). All /localize routes are wrapped in RequireLocalize (App.tsx).

What has to be done

On small or touch-only screens, replace the localize editor with a "Please use a computer" message. The screen check fits in RequireLocalize or in a sibling wrapper.

Done when

  • The localize editor is replaced by a message on small screens
  • Classify pages keep working as today

Theme Dataset · Priority P2 (medium) · Period T4-26

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
2d 22h
Merged PRs (30d)
3

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No 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 pyronear/pyro-annotator

All issues in pyronear/pyro-annotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.