ai-cfia / nachet-frontend

Frontend application for seed classification of images acquired from digital microscopes
MIT License
2 stars 2 forks source link

As a User, I'd like to be able to access the pictures from other folders #172

Open Francois-Werbrouck opened 3 months ago

Francois-Werbrouck commented 3 months ago

Context:

Currently, our users are able to create new folders and batch upload into a folder. However they are not able to access the content of theses folder.

sequenceDiagram
    participant User
    participant FE as Frontend
    participant BE as Backend
    participant DS as Datastore

    User->>FE: Select Folder
    FE->>BE: Request folder content
    BE->>DS: Fetch folder content 
    DS-->>BE: Return folder content 
    BE-->>FE: Send folder content 
    FE-->>User: Display folder content (list of pictures)

Acceptance Criteria:

  1. User can select any folders present in its container
  2. The user can navigate through the selected folder content
  3. The user can see the pictures within the selected

TODO:

Frontend

TaranMeyer commented 3 months ago

I would just add, ideally, the user should be able to move images into different folders, so that if one is saved incorrectly we can fix that.

sylvanie85 commented 2 months ago

Hi @ChromaticPanic and @Francois-Werbrouck ! I'm working on the datastore function that retrieves details from folders for the front end view.

I've described it a bit here if you'd like to take a look.

What else do we need to retrieve for the directory view? All picture names? Whether the folder is from a batch import? If each picture is validated or not?

I'd like to have your thoughts 🙂

ChromaticPanic commented 2 months ago

Hi @ChromaticPanic and @Francois-Werbrouck ! I'm working on the datastore function that retrieves details from folders for the front end view.

I've described it a bit here if you'd like to take a look.

What else do we need to retrieve for the directory view? All picture names? Whether the folder is from a batch import? If each picture is validated or not?

I'd like to have your thoughts 🙂

In addition to picture names, we'll want a boolean that indicates if there is an existing inference for a picture and another boolean that indicates if the image has unvalidated inferences

Then We will need endpoints, so that when a picture is selected we can retrieve the inferences and validation information separately

Related #137 Related #138