umap/umap/tests
Yohan Boniface 3477be99b8 fix: do not try to create legend for non loaded classified layer
fix #2232

A classified layer needs to have compiled the data to known its
classes/categories.

This commit review the way we build the legend: instead of creating
with the whole caption panel, we just set a container and we populate
it later. This opens the door for live changing the legend when
editing the layer.

But we have to clarify that "reactive" pattern at some point, as we
have some concurrent pattern laying around: the `render()`, which
coupled with the schema and this is nice, but for now it's a bit rough
(changing the whole UI each time); the `propagate` way, which is
more specific, but not coupled to the schema; the `dataChanged`; and
the `onDataLoaded` now, which is a bit different, as it's about the
data being loaded, not changed/modified, but for the DOM it may at
the end be the same. Well, food for thoughts…
2024-10-23 18:56:26 +02:00
..
fixtures feat: only add visible markers (and tooltips) to DOM 2024-10-10 19:50:40 +02:00
integration fix: do not try to create legend for non loaded classified layer 2024-10-23 18:56:26 +02:00
__init__.py Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
base.py lint: fix imports order 2024-08-30 12:34:04 -04:00
conftest.py fix: do not call teams.all() on anonymous user 2024-09-10 17:56:14 +02:00
settings.py settings: Make the websocket settings clearer. 2024-06-07 18:21:30 +02:00
test_clean_tilelayer.py chore: add clean_tilelayer management command 2024-09-12 11:52:56 +02:00
test_datalayer.py feat: delete datalayer's files on delete 2024-09-23 09:56:20 +02:00
test_datalayer_views.py wip: use auth.models.Group and manage permissions 2024-08-29 20:11:19 +02:00
test_licence.py Merge leaflet_storage tests 2018-05-19 11:54:08 +02:00
test_map.py fix: do not call teams.all() on anonymous user 2024-09-10 17:56:14 +02:00
test_map_views.py Update umap/templates/umap/map_detail.html 2024-10-10 11:00:46 +02:00
test_merge_features.py chore: ensure merge + assigning ids are rejected 2024-03-08 18:01:58 +01:00
test_purge_purgatory.py feat: delete datalayer's files on delete 2024-09-23 09:56:20 +02:00
test_statics.py tests: check collectstatic generates files with hash 2024-08-30 12:32:10 -04:00
test_team_views.py chore: use our own Team model 2024-08-30 15:53:18 +02:00
test_tilelayer.py [style] Format the code 2023-11-24 23:31:18 +01:00
test_utils.py iwyu 2023-02-27 13:50:37 +01:00
test_views.py chore: use our own Team model 2024-08-30 15:53:18 +02:00
test_websocket_server.py feat(sync): Send remote operations to peers when they join. 2024-09-27 18:26:47 +02:00