unraid / unraid/webgui

File Manager: Open file by mime type instead of file extension

Open
#2,513 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
253
Forks
106
Avg merge
6d 22h
Merged PRs (30d)
12

Description

Currently the user needs to add a list of file extensions to /boot/config/editor.cfg. For example "txt" to open "file.txt" with the text editor.

It would be better to depend on the mime type of the file, so the editor.cfg becomes obsolete.

Contributor guide

No contributing guide indexed for this repository

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 tracing the File Manager's current file-extension matching and its handling of /boot/config/editor.cfg. Determine where MIME types can be used instead, then verify that files open with the appropriate editor without requiring editor.cfg entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.