dataforgoodfr / dataforgoodfr/14_Data4Trees

Bug(Map): Map always loads with public data

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

Nobody has claimed this yet.

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

Description

Steps to reproduce:

Go in https://data4trees.services.d4g.fr/all4trees
Log in with admin user ('john')
The map will load with all data
Refresh the page (F5) : At times it will load only 5 points in Senegal (=public data), at times il will load all data (30 points)

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 by reproducing the issue at https://data4trees.services.d4g.fr/all4trees with the admin user 'john', then refresh repeatedly and compare the map's loaded points. Trace the map data-loading path and authentication state; done means an admin consistently sees all 30 points after loading or refresh, rather than the 5 public Senegal points.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.