cyber-dojo / web

repo for the cyberdojo/web Docker image; a cyber-dojo microservice

Home Page:https://cyber-dojo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rationalize handling of readme files in UX

JonJagger opened this issue · comments

Something I spotted the other month in cyber-dojo was that you had greyed out README, which is great. Is it worth making that /README.*/i? I noticed that because some existing sessions use readme.txt, which is treated as a first-class file and not greyed out.

Related to that, something I noticed more recently is that because README has no file suffix, it doesn't word wrap. Is it worth either making non-suffix files wrap by default or by applying word wrap to anything that matches /README.*/i? I guess a general solution is to have a word-wrap checkbox by the window, but that's a step change in code, functionality and UI, so may be overkill for this simple, well-defined situation.