• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / maps / 22247418888
23%

Build:
DEFAULT BRANCH: main
Ran 21 Feb 2026 01:15AM UTC
Jobs 1
Files 84
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Feb 2026 01:14AM UTC coverage: 39.044% (-1.2%) from 40.293%
22247418888

push

github

web-flow
feat: highlight cheapest fuel prices with rings (#1045)

* refactor: extract PetrolFillingStationPopup

Extracts the popup UI logic from `FuelPricesLayer` into a standalone
component for better modularity.

- Moves helper components like `PricesTable` and `AmenitiesList`.
- Updates `FuelPricesLayer` to use the new component.
- Standardizes data handling using `SearchResult` types.

* feat: highlight cheapest fuel prices with rings

Identify the cheapest **B7_STANDARD** (diesel) and **E10** (petrol)
stations within the visible map bounds.

- Adds a black ring for the cheapest diesel price.
- Adds a green ring for the cheapest petrol price.
- Displays a split ring if a station is the cheapest for both.
- Introduces `gasStationWithRing` in `icons/index.ts` to generate
  dynamic SVG-based `L.DivIcon` markers.

* perf: optimize fuel price calculations

Memoize the logic for determining which petrol stations offer the
lowest prices for diesel and petrol. This prevents re-calculating the
minima on every render cycle of `FuelPricesLayer` unless the source
`results` data changes.

Also improved type safety in `PetrolFillingStationPopup.tsx` by
replacing an `any` type with `DailyOpeningTimes`.

462 of 1118 branches covered (41.32%)

Branch coverage included in aggregate %.

0 of 84 new or added lines in 3 files covered. (0.0%)

445 of 1205 relevant lines covered (36.93%)

4.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
0.0
0.0% src/icons/index.ts
28
0.0
0.0% src/components/map/layers/custom/FuelPricesLayer.tsx
35
0.0
src/components/map/PetrolFillingStationPopup.tsx
Jobs
ID Job ID Ran Files Coverage
1 22247418888.1 21 Feb 2026 01:15AM UTC 84
39.04
GitHub Action Run
Source Files on build 22247418888
  • Tree
  • List 84
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22247418888
  • d98171bd on github
  • Prev Build on main (#22239064828)
  • Next Build on main (#22258711007)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc