jordanopensource / nuha-web

Web client for NUHA

Home Page:https://nuha.josa.ngo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Separate comment from file upload.

thamudi opened this issue · comments

Expected Behavior
As a user I want to be able to switch between the following options when I interact with the NUHA dashboard.
The default behavior I expect for the dashboard is to display the upload csv/xlsx options first. The second option referred to as option B which represents the input fields where I can input the comment containing the hate speech and the comment original post referred to as context.

As a user I would like to switch between these two options using a radio button, a tab from daisy UI ...etc.

When uploading a comment, or a file csv or xlsx containing multiple comments the user should be able to select what to upload (a single comment or a file containing comments)


Current Behavior

The UI displays both options to the user without indicating which option is currently selected.


Concerns

The current implementations of the UI raises the following questions:

  • If I typed a comment and selected a file, will they get uploaded together?
  • If I selected a file, then typed a comment, which one will get uploaded?
  • If I selected a file, then selected an another one, then typed a comment, what data will be uploaded?