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