Implement a file-naming convention that is safe
- 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
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