Don't reformat allowed document types in upload area #271
Labels
area: web-ui 💻
good first issue
Good for newcomers
help wanted
Extra attention is needed
type: enhancement 💅
New feature or request
Milestone
Feature description
In the file selection area of the UI, we are currently dropping the leading period and uppercasing the extension of the allowed documents:
ragna/ragna/deploy/_ui/modal_configuration.py
Lines 167 to 169 in 20ecade
Meaning, we are turning
.pdf
intoPDF
. This is in line with our Figma designs.Looking at this screenshot taken from #270
I think TXT and PDF are clear enough, but I "stumbled" over
MD
as I have never seen that before. Had it been.md
, I think it would be instantly clear for someone familiar with Markdown. Even if not, they could potentially perform the match when looking at the extension of the file in the file picker.I want us to look at the design again and see if this was intentional or not. If no, I would like us to just use the plain extension including the leading period.
cc @smeragoel
Value and/or benefit
Less confusion about the possible file formats for the user. This becomes even more relevant if we add more formats in the future, which is planned.
Anything else?
No response
The text was updated successfully, but these errors were encountered: