CentreForDigitalHumanities / CentreForDigitalHumanities/Textcavator

Corpus form: corpora with no sample file

Open
#1,780 0 comments 0 reactions 0 assignees View on GitHub
corpus-form frontend
Dominant language
Python
Stars
12
Forks
3
Avg merge
3d 3m
Merged PRs (30d)
9

Description

The corpus form is structured so users must upload a (sample) CSV data file first; that becomes the basis for the fields form.

However, there are other routes to create database-only corpora without a CSV file. You can create corpora through the admin menu, or remove the Python definition for a corpus to make it database-only. (Python corpora don't have sample files.)

The corpus form handles this situation awkwardly; it's not presenting the situation clearly to the user.

An easy and acceptable solution would be to block such corpora from being editable in the frontend. The other solution would be to let the form gracefully handle this situation in some way or another. Either is fine, not sure which would be easier.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the frontend corpus form and reproducing the issue with a database-only corpus created through the admin menu or without a Python definition. Decide whether to block editing or handle the missing sample file gracefully, then verify that the user-facing behavior clearly explains the situation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.