danielrob / danielrob/aperitif-editor
[Bug] Imports - resolved paths can be incorrect
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When generating imports the path walker/resolver needs to cater for when the depth of the source file is e.g. deeper along the same tree as the current file, or vice versa.
See the FIXME in https://github.com/danielrob/aperitif-editor/blob/master/src/containers/EditorContainer/selectors/getCurrentFileImports.js
Contributor guide
No contributing guide indexed for this repository
Research direction
Open src/containers/EditorContainer/selectors/getCurrentFileImports.js and start at the referenced FIXME, tracing the path walker/resolver for source and current files at different depths in the same tree. Done means generated import paths remain correct when either file is deeper than the other.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100