mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 21:51:50 +02:00
Compare commits
10 commits
28064ccf16
...
8c9d4e5777
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8c9d4e5777 | ||
![]() |
38e862c04a | ||
![]() |
2d0325f1fb | ||
![]() |
b8ab86b075 | ||
![]() |
7e774bc3aa | ||
![]() |
f4e3e679a9 | ||
![]() |
6d391a51be | ||
![]() |
aa43d4efa8 | ||
![]() |
4679742b96 | ||
![]() |
53329d19fd |
4 changed files with 13 additions and 8 deletions
|
@ -1,5 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 3.0.1 - 2025-04-07
|
||||||
|
|
||||||
|
* fix showLabel wrongly using MultiChoices by @yohanboniface in #2609
|
||||||
|
|
||||||
|
|
||||||
## 3.0.0 - 2025-04-07
|
## 3.0.0 - 2025-04-07
|
||||||
|
|
||||||
This is the first release to officially support colaborative real-time map editing.
|
This is the first release to officially support colaborative real-time map editing.
|
||||||
|
|
|
@ -44,7 +44,7 @@ dependencies = [
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"hatch==1.14.0",
|
"hatch==1.14.0",
|
||||||
"ruff==0.11.2",
|
"ruff==0.11.4",
|
||||||
"djlint==1.36.4",
|
"djlint==1.36.4",
|
||||||
"mkdocs==1.6.1",
|
"mkdocs==1.6.1",
|
||||||
"mkdocs-material==9.6.10",
|
"mkdocs-material==9.6.10",
|
||||||
|
@ -62,16 +62,16 @@ test = [
|
||||||
"pytest-playwright==0.7.0",
|
"pytest-playwright==0.7.0",
|
||||||
"pytest-rerunfailures==15.0",
|
"pytest-rerunfailures==15.0",
|
||||||
"pytest-xdist>=3.5.0,<4",
|
"pytest-xdist>=3.5.0,<4",
|
||||||
"moto[s3]==5.1.1"
|
"moto[s3]==5.1.3"
|
||||||
]
|
]
|
||||||
docker = [
|
docker = [
|
||||||
"uvicorn==0.34.0",
|
"uvicorn==0.34.0",
|
||||||
]
|
]
|
||||||
s3 = [
|
s3 = [
|
||||||
"django-storages[s3]==1.14.5",
|
"django-storages[s3]==1.14.6",
|
||||||
]
|
]
|
||||||
sync = [
|
sync = [
|
||||||
"pydantic==2.11.1",
|
"pydantic==2.11.2",
|
||||||
"redis==5.2.1",
|
"redis==5.2.1",
|
||||||
"websockets==15.0.1",
|
"websockets==15.0.1",
|
||||||
]
|
]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
VERSION = "3.0.0"
|
VERSION = "3.0.1"
|
||||||
|
|
|
@ -132,6 +132,9 @@ export class MutatingForm extends Form {
|
||||||
const properties = Object.assign({}, defaults)
|
const properties = Object.assign({}, defaults)
|
||||||
if (properties.type === Array) {
|
if (properties.type === Array) {
|
||||||
properties.handler = 'CheckBoxes'
|
properties.handler = 'CheckBoxes'
|
||||||
|
} else if (properties.type === Boolean) {
|
||||||
|
if (properties.nullable) properties.handler = 'NullableChoices'
|
||||||
|
else properties.handler = 'Switch'
|
||||||
} else if (properties.choices) {
|
} else if (properties.choices) {
|
||||||
const text_length = properties.choices.reduce(
|
const text_length = properties.choices.reduce(
|
||||||
(acc, [_, label]) => acc + label.length,
|
(acc, [_, label]) => acc + label.length,
|
||||||
|
@ -145,9 +148,6 @@ export class MutatingForm extends Form {
|
||||||
properties.handler = 'Select'
|
properties.handler = 'Select'
|
||||||
properties.selectOptions = properties.choices
|
properties.selectOptions = properties.choices
|
||||||
}
|
}
|
||||||
} else if (properties.type === Boolean) {
|
|
||||||
if (properties.nullable) properties.handler = 'NullableChoices'
|
|
||||||
else properties.handler = 'Switch'
|
|
||||||
} else if (properties.type === 'Text') {
|
} else if (properties.type === 'Text') {
|
||||||
properties.handler = 'Textarea'
|
properties.handler = 'Textarea'
|
||||||
} else if (properties.type === Number) {
|
} else if (properties.type === Number) {
|
||||||
|
|
Loading…
Reference in a new issue