Orange-OpenSource / Orange-OpenSource/IOT-Map-Component

Provide resources with a lowercase name

Open Beginner friendly
#452 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
24
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.