Commit graph

2576 commits

Author SHA1 Message Date
Yohan Boniface
eb1a0bae25
Merge pull request #1808 from umap-project/panel-height-with-footer-bar
fix: adapt panel expanded height when map has a caption bar
2024-05-09 17:56:39 +02:00
David Larlet
5e0b4d0374
Merge pull request #1747 from umap-project/docs-i18n
First step for documentation translations
2024-05-09 11:55:28 -04:00
Yohan Boniface
5b4bf9d416
Merge pull request #1804 from umap-project/edit-layer-on-esc
fix: open edit panel when pressing ESC while drawing, if valid
2024-05-09 17:45:25 +02:00
Yohan Boniface
6fda1e79e3
Merge pull request #1807 from umap-project/fix-search-autofocus
fix: really focus on search input after showing the panel
2024-05-09 17:44:05 +02:00
Yohan Boniface
b5da347a67 fix: adapt panel expanded height when map has a caption bar
cf #1788
2024-05-09 17:07:33 +02:00
Yohan Boniface
58588761d5 fix: open edit panel when pressing ESC while drawing, if valid 2024-05-09 16:43:01 +02:00
Yohan Boniface
84b904c71d fix: really focus on search input after showing the panel
fix #1806
2024-05-09 16:36:05 +02:00
Yohan Boniface
4ebbf8ed11
Merge pull request #1805 from umap-project/fix-continue-line
fix: do not try to render drawinTooltip on drawing start
2024-05-09 16:01:57 +02:00
Yohan Boniface
f06461967a fix: do not try to render drawinTooltip on drawing start
The event does not contain latlng, so we cannot compute the
line length yet.
2024-05-09 13:32:39 +02:00
David Larlet
04e347b18e
Improve beginners tutorials images and contents 2024-05-08 22:31:17 -04:00
David Larlet
2f6b82faa4
Markup to generate images with shot-scraper
In tutorial 1.
2024-05-08 21:17:02 -04:00
David Larlet
0c380dbc57
Bump mkdocs-* requirements for docs-users 2024-05-08 21:17:01 -04:00
David Larlet
8a62552cb3
Add videos to users documentation 2024-05-08 21:17:01 -04:00
David Larlet
d4752b0365
Improving documentation 2024-05-08 21:17:01 -04:00
David Larlet
d66b84297f
Improving documentation 2024-05-08 21:17:01 -04:00
David Larlet
4cba114f3f
Improving documentation 2024-05-08 21:17:01 -04:00
David Larlet
de9e7a73c6
Improving documentation 2024-05-08 21:17:01 -04:00
David Larlet
0a3bcad7ec
Split users’ documentation to dedicated folder 2024-05-08 21:17:00 -04:00
David Larlet
4123714f76
Ability to specify a unique id for doc sections 2024-05-08 21:17:00 -04:00
David Larlet
dcb9fd5b07
An attempt to provide details for frequent errors 2024-05-08 21:17:00 -04:00
David Larlet
5b9a6500d0
First step for documentation translations
The goal is to be able to embed some of the FAQ entries within the app, see #1710 and #813 for instance.
2024-05-08 21:17:00 -04:00
Yohan Boniface
369f798839
Merge pull request #1790 from umap-project/panel-expanded-mobile
fix: allow panel expanded mode in mobile
2024-05-08 18:56:41 +02:00
Yohan Boniface
1b326b3a18
Merge pull request #1799 from umap-project/dependabot/pip/hatch-1.10.0
chore: bump hatch from 1.9.7 to 1.10.0
2024-05-08 18:55:27 +02:00
dependabot[bot]
a4e057b8b1
chore: bump hatch from 1.9.7 to 1.10.0
Bumps [hatch](https://github.com/pypa/hatch) from 1.9.7 to 1.10.0.
- [Release notes](https://github.com/pypa/hatch/releases)
- [Commits](https://github.com/pypa/hatch/compare/hatch-v1.9.7...hatch-v1.10.0)

---
updated-dependencies:
- dependency-name: hatch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 16:54:26 +00:00
Yohan Boniface
9ed2286c5b
Merge pull request #1798 from umap-project/dependabot/pip/django-5.0.5
chore: bump django from 5.0.4 to 5.0.5
2024-05-08 18:54:13 +02:00
Yohan Boniface
61b520b8df
Merge pull request #1797 from umap-project/dependabot/pip/ruff-0.4.3
chore: bump ruff from 0.4.2 to 0.4.3
2024-05-08 18:53:14 +02:00
David Larlet
dcad0e1bb2
Merge pull request #1801 from umap-project/1796-add-purify-attributes
fix: allow `dir` and `title` attributes
2024-05-07 09:40:27 -04:00
Yohan Boniface
b450acf81d chore: prettier 2024-05-07 12:31:28 +02:00
David Larlet
5b9746066c
fix: allow dir and title attributes
Fix #1796
2024-05-06 18:26:05 -04:00
dependabot[bot]
61f72c99f4
chore: bump ruff from 0.4.2 to 0.4.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.2 to 0.4.3.
- [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/v0.4.2...v0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 17:43:57 +00:00
David Larlet
8d24cc0ceb
Merge pull request #1800 from umap-project/dependabot/pip/mkdocs-material-9.5.21
chore: bump mkdocs-material from 9.5.18 to 9.5.21
2024-05-06 13:42:48 -04:00
David Larlet
77f284dd8d
chore: bump mkdocs from 1.5.3 to 1.6.0 2024-05-06 13:37:47 -04:00
dependabot[bot]
40950c86ae
chore: bump mkdocs-material from 9.5.18 to 9.5.21
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.18 to 9.5.21.
- [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.18...9.5.21)

---
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-05-06 17:03:57 +00:00
dependabot[bot]
a08d73a6ea
chore: bump django from 5.0.4 to 5.0.5
Bumps [django](https://github.com/django/django) from 5.0.4 to 5.0.5.
- [Commits](https://github.com/django/django/compare/5.0.4...5.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 17:03:44 +00:00
David Larlet
8679c0ded8
Merge pull request #1792 from umap-project/fix-title-html
fix: do not add title to button if content is a DOM node
2024-05-02 11:34:46 -04:00
Yohan Boniface
916da8be94 fix: do not add title to button if content is a DOM node 2024-05-02 17:14:48 +02:00
Yohan Boniface
f1a8180a29
Merge pull request #1789 from umap-project/panel-responsive
Add max-width to panel in landscape mode
2024-05-02 16:41:23 +02:00
Yohan Boniface
bb47299cfa
Merge pull request #1791 from umap-project/expect-timeout
chore: try to change Playwright expect timeout
2024-05-02 15:11:48 +02:00
Yohan Boniface
e688ce8f57 chore: try to change Playwright expect timeout
Some tests randomly fail in the CI because of timeout a bit short.
2024-05-02 14:30:54 +02:00
Yohan Boniface
c40b01fc48 fix: add max-width to panel in landscape mode
In some situation in mobile (eg. when the keyboard is used), the
screen is still considered as landscape, but it is very small, so
make sure the panel does not overflow on the right.

cf #1788
2024-05-02 12:26:36 +02:00
Yohan Boniface
51d5095d2c fix: allow panel expanded mode in mobile 2024-05-02 12:24:36 +02:00
David Larlet
49b240a3db
2.2.2 2024-05-01 14:08:56 -04:00
David Larlet
0cd039fce2
Merge pull request #1787 from umap-project/fix-dompurify-map
fix: vendorize the .map too for dompurify
2024-05-01 14:07:41 -04:00
David Larlet
5bdfc708ee
fix: vendorize the .map too for dompurify
Fix up for  2c1cd46167

We keep the `.mjs` fragment within the filename to avoid changing it manually within the renamed `purify.es.js` file. Given the `.map` extension, it will not affect the nginx (or others) mimetypes configuration.
2024-05-01 13:59:42 -04:00
David Larlet
c05282f19c
2.2.1 2024-05-01 13:36:00 -04:00
David Larlet
05213f1158
Merge pull request #1786 from umap-project/no-mjs
fix: no .mjs extension for JS modules
2024-05-01 13:33:50 -04:00
David Larlet
2c1cd46167
fix: no .mjs extension for JS modules
It requires a special nginx configuration that we want to avoid for all instances deployments:

```
include mime.types;
types {
  application/javascript mjs;
}
```
2024-05-01 13:27:45 -04:00
Yohan Boniface
22e38d6a3d changelog 2024-05-01 18:13:39 +02:00
Yohan Boniface
dc69ec55c8 2.2.0 2024-05-01 18:05:44 +02:00
Yohan Boniface
55dc083866 i18n 2024-05-01 18:04:01 +02:00