Orange-OpenSource / Orange-OpenSource/IOT-Map-Component
Provide resources with a lowercase name
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
- I have searched for duplicate or closed issues
- I have validated any HTML to avoid common problems
- I have read the contributing guidelines
Describe the issue
The library provides img/Layers.png with a capital L.
Depending on the operating system, upper or lower case letters are not interpreted in the same way.
A good practice is to always provide resources with lowercase names.
In our case, in an Angular development environment, the file img/Layers.png from iotMapComponent conflicts with the file img/layers.png from leaflet.
For the Angular build, it’s the same file, but for Windows it’s two separate files and the dev env build doesn’t work.
Reduced test cases
Tested in an Angular 14 encironnement
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of IoT Map Component are you using?
v2.6.9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating img/Layers.png and checking the project references to that resource. Rename the resource with a lowercase name, update any references that depend on its casing, and verify that the Angular build works on Windows without conflicting with Leaflet's img/layers.png.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100