SolidOS / SolidOS/solidos

Filenames displayed in Data Browser should (optionally?) not be munged.

Open
#15 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
146
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Originally reported in Gitter at November 26, 2020 10:03 AM

One thing that I, as a user, find disconcerting about the current Data Browser is the way that it displays filenames in a supposedly 'user-friendly' way, where camel-case transitions and underscores are converted to spaces.

I would much rather have the option of filenames being left alone.

  • If I create a file via the Data Browser and call it FooBar.txt, then it is displayed as Foo Bar.txt.
  • If I create a file called Foo_Bar.txt, then it is also displayed as Foo Bar.txt.
  • If I create a file Foo Bar.txt, it is also displayed as Foo Bar.txt.

This is a mis-feature, I believe, and should be eliminated or disable-able (e.g., when a user has chosen Power User in their Preferences.

FooBar

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Data Browser code that formats filenames for display and trace how files created through the browser are rendered. Clarify whether the intended behavior is to preserve names by default or make the transformation optional, then verify the examples for FooBar.txt, Foo_Bar.txt, and Foo Bar.txt.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
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.