edehr/edehr

Implement a file-naming convention that is safe

Offen

#1.083 geöffnet am 04.05.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (11 Forks)auto 404
front-endgood first issuehelp wanted

Repository-Metriken

Stars
 (14 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently on ehr-utils.js, we have a function called makeSafeFileName which needs to be implemented in a way that doesn't break the build.

Previously (as you can see it commented out currently), we used to implement filenamify to handle this, but this implementation was breaking the build.

With that in mind, the task at hand is to create a new implementation (or re-implement filenamify) in a way that won't break the build. We encorage using conventions that are easy to read and understand at first glance.

Contributor Guide