dataforgoodfr / dataforgoodfr/14_Data4Trees

feat(filters): improvements

Open
#208 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9
Forks
0
Avg merge
10d 11h
Merged PRs (30d)
4

Description

  • Card with filters per layer => Make the header a collapsible section, closed by default
  • Try https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#setglobalstateproperty to fix the clustering, or quick recalculation with setLayerFilter if needed
  • (not prio) Move date as clean component on the map
  • Compute label of external data backend side + return value and label. cf backend/all4trees/resource_view. This is mandatory to manage multiple projects for a single => Make this to all values: { value: "...", label: "..." }

Contributor guide

No contributing guide indexed for this repository

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 with backend/all4trees/resource_view and the MapLibre setGlobalStateProperty documentation, then locate the filter card and date UI entry points. Treat the backend value/label shape as mandatory; verify the filter header behavior, clustering recalculation, and returned {value,label} data, while the date cleanup is explicitly non-priority.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.