edehr / edehr/edehr

Implement a file-naming convention that is safe

Open
#1,083 1 comment 0 reactions 0 assignees View on GitHub
front-end good first issue help wanted
Dominant language
JavaScript
Stars
14
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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``](https://www.npmjs.com/package/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

Open the contributing guide

Research direction

Start in ehr-utils.js by reading makeSafeFileName and the commented-out filenamify usage, then run the project build to reproduce the reported failure. Define the supported safe-naming behavior from the existing context and confirm that the implementation preserves the build while producing readable file names.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.