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

rm-hull / maps / 22119683984
39%

Build:
DEFAULT BRANCH: main
Ran 17 Feb 2026 11:21PM UTC
Jobs 1
Files 83
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

17 Feb 2026 11:20PM UTC coverage: 41.759% (-0.7%) from 42.463%
22119683984

push

github

web-flow
feat: add fuel prices map layer and service (#1036)

* feat: add fuel prices map layer and service

Add a new map overlay to visualize fuel prices at petrol stations.

- Implement `FuelPricesLayer` to render markers within map bounds.
- Create `useFuelPrices` hook with caching via **React Query**.
- Set up **Axios** client and types for the fuel price search service.
- Integrate the layer into the map's overlay configuration.

```mermaid
sequenceDiagram
    participant Map
    participant FuelPricesLayer
    participant useFuelPrices
    participant API

    Map->>FuelPricesLayer: Provide LatLngBounds
    FuelPricesLayer->>useFuelPrices: Request data for bounds
    useFuelPrices->>API: Fetch fuel prices via BBox
    API-->>useFuelPrices: Return station and price data
    useFuelPrices-->>FuelPricesLayer: Update data state
    FuelPricesLayer-->>Map: Render green markers & popups
```

* feat: improve fuel station markers and popups

- Replace generic markers with a custom **gas station** icon.
- Redesign the `Popup` UI using **Chakra UI** components for better
  readability.
- Add human-readable time formatting for price updates using
  `react-time-ago`.
- Implement fuel-specific color coding and station amenity badges.
- Update `PriceInfo` and station types to support `Date` objects.
- Add `javascript-time-ago` and `react-time-ago` dependencies.

* feat: configure fuel prices API and update popup UI

- Add `VITE_FUEL_PRICES_API_URL` to environment templates and CI/CD
  deployment workflows.
- Update the **FuelPricesLayer** component to display brand names in
  uppercase within the map popup.
- Improve code formatting for table headers in the fuel prices popup.

* chore: update lint workflow and testing library

* Set `continue-on-error: true` for the **Lint** step in the deployment
  workflow to prevent it from blocking subsequent CI steps.
* Bump `eslint-plugin-testing-library` from `7.15.4` to `7.16.0`.

* undefined

462 of 1042 branches covered (44.34%)

Branch coverage included in aggregate %.

0 of 23 new or added lines in 5 files covered. (0.0%)

445 of 1130 relevant lines covered (39.38%)

4.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% src/icons/index.ts
1
0.0
0.0% src/main.tsx
2
0.0
src/hooks/useFuelPrices.ts
8
0.0
src/services/fuelPrices/index.ts
11
0.0
src/components/map/layers/custom/FuelPricesLayer.tsx
Jobs
ID Job ID Ran Files Coverage
1 22119683984.1 17 Feb 2026 11:21PM UTC 83
41.76
GitHub Action Run
Source Files on build 22119683984
  • Tree
  • List 83
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22119683984
  • a4b7f33a on github
  • Prev Build on main (#22076314469)
  • Next Build on main (#22119718904)
  • 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