Commit graph

3056 commits

Author SHA1 Message Date
Yohan Boniface
f1c34f9d27 wip: minimal keyboard navigation in table editor 2024-07-11 20:39:05 +02:00
Yohan Boniface
f62f3b4ab9 wip: make outline appears on click on table editor 2024-07-11 20:39:05 +02:00
Yohan Boniface
1ef416a622 wip: allow to open table "editor" (readonly) for remote data layers 2024-07-11 20:39:05 +02:00
Yohan Boniface
5909630e0e wip: fix bugs and add tests for table editor 2024-07-11 20:39:05 +02:00
Yohan Boniface
9ac3de2b33 wip: (huge) table editor refactor 2024-07-11 20:39:05 +02:00
Yohan Boniface
ae9659620a wip: another attemp to massiverly delete features from a condition 2024-07-11 20:39:05 +02:00
Yohan Boniface
bf08536c30
Merge pull request #1987 from umap-project/fix-fromtozoom-tests
try to fix toZoom and fromZoom randomly failing tests
2024-07-11 16:34:03 +02:00
Yohan Boniface
ec7b546bf5 chore: try to fix toZoom and fromZoom randomly failing tests 2024-07-11 16:07:27 +02:00
Yohan Boniface
a035b6cb38 chore: use our own page fixture so to print console messages 2024-07-11 10:53:33 +02:00
David Larlet
dc1a27b526
Merge pull request #1986 from umap-project/dependabot/pip/django-5.0.7
chore: bump django from 5.0.6 to 5.0.7
2024-07-10 20:43:56 -04:00
dependabot[bot]
26e3b855c1
chore: bump django from 5.0.6 to 5.0.7
Bumps [django](https://github.com/django/django) from 5.0.6 to 5.0.7.
- [Commits](https://github.com/django/django/compare/5.0.6...5.0.7)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 22:20:17 +00:00
David Larlet
c165bede54
Merge pull request #1985 from umap-project/Aurelie-Jallut-patch-2
Update articles.md
2024-07-10 15:12:59 -04:00
David Larlet
b558b74669
Add recent articles to discover 2024-07-10 15:11:52 -04:00
Aurélie Jallut
86e638dd97
Update articles.md
Ajout de 2 articles :)
2024-07-10 17:36:11 +02:00
David Larlet
1a878b68cb
Merge pull request #1984 from umap-project/Aurelie-Jallut-patch-1
Update videos.md
2024-07-10 11:32:10 -04:00
Aurélie Jallut
3d874611af
Update videos.md
Ajout d'une vidéo
2024-07-10 17:23:57 +02:00
Yohan Boniface
3fa478abac
Merge pull request #1981 from umap-project/autocomplete-datalist
feat: add AutocompleteDatalist and use it for conditional rules
2024-07-10 11:36:59 +02:00
Yohan Boniface
75e36f1c54
Merge pull request #1980 from umap-project/osm-relation-tags
fix: import unified relations from OSM data (use latest osmtogeojson)
2024-07-10 10:34:03 +02:00
Yohan Boniface
7baa70d1b6 feat: add AutocompleteDatalist and use it for conditional rules 2024-07-10 10:10:53 +02:00
Yohan Boniface
d830978f6f fix: import unified relations and tags from OSM data (use latest osmtogeojson)
fix #1011
2024-07-10 09:23:52 +02:00
Yohan Boniface
76fbb306fc
Merge pull request #1982 from umap-project/categorized-color
fix: use correct color for categorized/choropleth layers in browser
2024-07-09 15:16:19 +02:00
Yohan Boniface
ed6f0fcdf1
Merge pull request #1979 from umap-project/fix-blurinput
fix: BlurInput was not updating the object in some situations
2024-07-09 15:15:26 +02:00
Yohan Boniface
e3f59850a7 fix: fix preview color for polygons
Use usually set the `color` property, but we want to use the
fillColor if it sets.
2024-07-09 12:47:10 +02:00
Yohan Boniface
00483882a1 fix: use correct color for categorized/choropleth layers in browser 2024-07-09 11:58:29 +02:00
Yohan Boniface
dd9c3ba194 chore: biome 2024-07-09 11:47:34 +02:00
Yohan Boniface
3be274929a fix: BlurInput was not updating the object in some situations
Steps to reproduce:
- click in any BlurInput
- change to any value
- click outside the input => the value will be set to the object
- click again in the input
- change value to the initial
- click outside => the value will not be set

This is because the BlurInput in sync on blur, and it was comparing
the current field value with an "initial" one, only set at build.
This check is made because we don't want to trigger an edit when a
user click in a blurinput and click outside without changing the value.
2024-07-09 10:46:22 +02:00
David Larlet
45b9db4242
Merge pull request #1976 from umap-project/dependabot/pip/pytest-playwright-0.5.1
chore: bump pytest-playwright from 0.5.0 to 0.5.1
2024-07-08 13:40:10 -04:00
David Larlet
603a6fb839
Merge pull request #1974 from umap-project/dependabot/pip/mkdocs-material-9.5.28
chore: bump mkdocs-material from 9.5.27 to 9.5.28
2024-07-08 13:39:42 -04:00
dependabot[bot]
6e2e25d9dc
chore: bump mkdocs-material from 9.5.27 to 9.5.28
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.27 to 9.5.28.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.27...9.5.28)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 17:39:32 +00:00
David Larlet
16ad61cf67
Merge pull request #1975 from umap-project/dependabot/pip/pydantic-2.8.2
chore: bump pydantic from 2.8.0 to 2.8.2
2024-07-08 13:38:51 -04:00
David Larlet
25d029a0a8
Merge pull request #1977 from umap-project/dependabot/pip/ruff-0.5.1
chore: bump ruff from 0.5.0 to 0.5.1
2024-07-08 13:38:20 -04:00
dependabot[bot]
d7964077d8
chore: bump ruff from 0.5.0 to 0.5.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.5.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 17:28:21 +00:00
dependabot[bot]
4ec167b485
chore: bump pytest-playwright from 0.5.0 to 0.5.1
Bumps [pytest-playwright](https://github.com/microsoft/playwright-pytest) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/microsoft/playwright-pytest/releases)
- [Commits](https://github.com/microsoft/playwright-pytest/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: pytest-playwright
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 17:28:06 +00:00
dependabot[bot]
e3d346939a
chore: bump pydantic from 2.8.0 to 2.8.2
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.8.0 to 2.8.2.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.8.0...v2.8.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 17:28:00 +00:00
Yohan Boniface
b5cd04658e
Merge pull request #1972 from umap-project/controls-zindex
fix: make sure panels are above controls
2024-07-05 19:12:00 +02:00
Yohan Boniface
36b4510e46 fix: make sure panels are above controls
fix #1954
2024-07-05 18:59:13 +02:00
Yohan Boniface
4ae47de8a9
Merge pull request #1958 from umap-project/broken-help
fix: main help button from edit toolbar was broken
2024-07-05 18:51:14 +02:00
Yohan Boniface
207860ecf5 chore: refactor help.button arguments 2024-07-05 18:27:53 +02:00
Yohan Boniface
ec5f8d7b3c
Update umap/static/umap/js/modules/help.js
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2024-07-05 18:19:00 +02:00
Yohan Boniface
257d205690
Merge pull request #1953 from umap-project/categorized-layer
feat: add new type of layer Categorized
2024-07-05 18:18:36 +02:00
Yohan Boniface
b68ca858ca
Merge pull request #1945 from umap-project/formatters
move formatters and share to a module, and use new GPX library
2024-07-05 18:03:22 +02:00
Yohan Boniface
1b8b130805 wip: no need for await here 2024-07-05 17:52:35 +02:00
Yohan Boniface
cc6ae95371 wip: make Map.initialize async
We want to be able to await function there.

Specifically, we want to await the data creation when it comes from
the `data` url param, so when we also consume the `feature` url param,
that feature is already on the map so we can open it
2024-07-05 17:52:35 +02:00
Yohan Boniface
49db1f9aaa chore: move share to modules 2024-07-05 17:52:33 +02:00
Yohan Boniface
741fc70a17 wip: simpler syntax for dynamic import in formatters 2024-07-05 17:51:53 +02:00
Yohan Boniface
891f04656f wip: make collectstatic happy with import() in comments
Also add missing .map files.

Maybe a proper solution would be to commit the vendors/ and
remove manually the comments.
2024-07-05 17:51:53 +02:00
Yohan Boniface
ca0f771947 wip: move formatters to a module
This mainly allows to dynamically load the third party libraries.

In the same process, those libs have changed:

- tokml => switch to placemarkio fork, more up to date and available
  as ESM
- togpx => switch to geojson-to-gpx, more up to date and available as
  ESM (note: this lib does not export polygons, because they do not
  make sense in GPX world, while the previous was converting them as
  lines before)
2024-07-05 17:51:53 +02:00
Yohan Boniface
665656080c
Merge pull request #1971 from umap-project/slideshow-module
chore: move slideshow to a module
2024-07-05 17:47:13 +02:00
Yohan Boniface
f293f9c929 chore: move slideshow to a module 2024-07-05 17:35:08 +02:00
David Larlet
807260f84a
Merge pull request #1969 from umap-project/data-ref-template-binding
chore: create a WithTemplate base class
2024-07-05 08:17:17 -04:00