Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented here.

## [unreleased]

## [0.23.2] - Mar 18th, 2026
- Fix bug where multiple spaces in a submit button name would cause the button hook to not fire.

## [0.23.1] - Mar 18th, 2026
- Fix export of typescript types
- Add `ULabel.get_resize_toolbox_item()` static method to get the `AnnotationResizeItem` class, which has static methods that allow for programmatic control of annotation size for subtasks.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ulabel",
"description": "An image annotation tool.",
"version": "0.23.1",
"version": "0.23.2",
"main": "dist/ulabel.min.js",
"module": "dist/ulabel.min.js",
"types": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/toolbox_items/submit_buttons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class SubmitButtons extends ToolboxItem {
// Remove everything except alphanumeric, dash, underscore, space
let submit_button_id = submit_button.name.replace(/[^a-zA-Z0-9-_ ]/g, "");

submit_button_id = submit_button_id.trim().toLowerCase().replace(" ", "-");
submit_button_id = submit_button_id.trim().toLowerCase().replace(/ /g, "-");
return submit_button_id;
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const ULABEL_VERSION = "0.23.1";
export const ULABEL_VERSION = "0.23.2";
Loading