lerobot icon indicating copy to clipboard operation
lerobot copied to clipboard

xs: Add error message in homepage of dataset visualizer. (⚡️ UX Improvement)

Open Jeerhz opened this issue 10 months ago • 0 comments

What this does

We verify the dataset endpoint before redirecting. When a user enters a dataset ID, a HEAD request is sent to check for the dataset’s existence. If the dataset isn’t found or if there is something wrong, an error message is shown:

How it was tested

  • test_visualize_dataset is skipped.

How to checkout & try? (for the reviewer)

  1. Start the development server.
  2. Navigate to the homepage.
  3. Enter a valid or invalid dataset ID in the input field and press Enter

Before

Capture d’écran 2025-02-20 à 17 42 36

After

Capture d’écran 2025-02-20 à 17 43 15

cc: @Pierre-LouisBJT

Jeerhz avatar Feb 20 '25 16:02 Jeerhz