voxel51/fiftyone

[FR] Add a shortcut key for selection in the App

Open

#2,120 opened on Sep 23, 2022

View on GitHub
 (3 comments) (3 reactions) (0 assignees)Python (400 forks)batch import
appenhancementgood first issue

Repository metrics

Stars
 (4,021 stars)
PR merge metrics
 (Avg merge 3d 11h) (161 merged PRs in 30d)

Description

Proposal Summary

My suggestion is to use a shortcut key for selection in App.

Motivation

Selecting a sample is repeated many times during dataset cleaning. Currently, in both grid view and expanded view cases, selecting a sample is done by clicking on the little box at top left of a sample. This serves the purpose but is not easy to do for many samples.

What areas of FiftyOne does this feature affect?

  • App: FiftyOne application
  • Core: Core fiftyone Python library
  • Server: FiftyOne server

Details

In a typical OS, in file explorer, we do this by clicking anywhere on file/thumbnail. It would be nice if same habits can be transferred to Fiftyone, but 'click on sample' is already reserved for "Click to Expand" in Fiftyone.

My suggestion is to use a shortcut key for selection in App. When that key is pressed,

  • the sample under the cursor can directly be selected or
  • "click to expand" mode can switch to "click to select"

Willingness to contribute

  • Yes. I can contribute this feature independently.
  • Yes. I would be willing to contribute this feature with guidance from the FiftyOne community.
  • No. I cannot contribute this feature at this time.

Contributor guide