Skip to content

Online 0713 - #698

Merged
gary-Shen merged 49 commits into
onlinefrom
online-0713
Jul 21, 2026
Merged

Online 0713#698
gary-Shen merged 49 commits into
onlinefrom
online-0713

Conversation

@gary-Shen

Copy link
Copy Markdown
Member

No description provided.

gary-Shen and others added 30 commits August 11, 2025 19:18
- Renderer.resize() 中重新获取 devicePixelRatio,避免使用构造时的缓存值
- useImageAnnotator 新增 matchMedia 监听 devicePixelRatio 变化,在浏览器缩放或全屏切换时自动触发 resize 重新校准坐标

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
## @labelu/audio-react [1.6.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/audio-react@1.6.0...@labelu/audio-react@1.6.1) (2026-04-21)

### Dependencies

* **@labelu/components-react:** upgraded to 1.8.1
## [1.9.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/audio-annotator-react@1.9.0...@labelu/audio-annotator-react@1.9.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
## [1.8.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/components-react@1.8.0...@labelu/components-react@1.8.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
## [1.1.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/i18n@1.1.0...@labelu/i18n@1.1.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
## [1.5.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/image@1.5.0...@labelu/image@1.5.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
## [2.5.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/image-annotator-react@2.5.0...@labelu/image-annotator-react@2.5.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
## [1.5.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/video-annotator-react@1.5.0...@labelu/video-annotator-react@1.5.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
## [1.6.1](https://github.com/opendatalab/labelU-Kit/compare/@labelu/video-react@1.6.0...@labelu/video-react@1.6.1) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **frontend:** fix [#245](#245) ([68a3425](68a3425))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
# [5.10.0](v5.9.1...v5.10.0) (2026-04-21)

### Bug Fixes

* **audio-annotator-react:** replace noneLabel to input label ([c84291a](c84291a))
* **i18n:** update translation ([730d3e4](730d3e4))
* **image-annotator-react:** replace noneLabel to input label ([48fe581](48fe581))
* **image, image-annotator-react:** 修复浏览器缩放/全屏切换后标注框位置偏移 ([107f353](107f353))
* **image:** replace noneLabel to input label ([645ee26](645ee26))
* make file extension check case-insensitive in isCorrectFileType ([6ed8ca2](6ed8ca2))

### Features

* **frontend:** add s3 datasrouce and ai annotation ([0d3f2f8](0d3f2f8))

### Reverts

* Revert "fix(audio-annotator-react): replace noneLabel to input label" ([e1629a2](e1629a2))
shlab and others added 19 commits April 21, 2026 17:30
## @labelu/components-react [1.8.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/components-react@1.8.1...@labelu/components-react@1.8.2) (2026-04-21)

### Dependencies

* **@labelu/i18n:** upgraded to 1.1.2
## [1.9.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/audio-annotator-react@1.9.1...@labelu/audio-annotator-react@1.9.2) (2026-04-21)

### Bug Fixes

* **frontend:** add vis3 link to s3 datasource ([88979e6](88979e6))
* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
* **website:** build error ([8331827](8331827))
## [1.6.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/audio-react@1.6.1...@labelu/audio-react@1.6.2) (2026-04-21)

### Bug Fixes

* **frontend:** add vis3 link to s3 datasource ([88979e6](88979e6))
* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
* **website:** build error ([8331827](8331827))
## [1.1.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/i18n@1.1.1...@labelu/i18n@1.1.2) (2026-04-21)

### Bug Fixes

* **frontend:** add vis3 link to s3 datasource ([88979e6](88979e6))
* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
* **website:** build error ([8331827](8331827))
## [2.5.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/image-annotator-react@2.5.1...@labelu/image-annotator-react@2.5.2) (2026-04-21)

### Bug Fixes

* **frontend:** add vis3 link to s3 datasource ([88979e6](88979e6))
* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
* **website:** build error ([8331827](8331827))
## [1.5.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/video-annotator-react@1.5.1...@labelu/video-annotator-react@1.5.2) (2026-04-21)

### Bug Fixes

* **frontend:** add vis3 link to s3 datasource ([88979e6](88979e6))
* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
* **website:** build error ([8331827](8331827))
## [1.6.2](https://github.com/opendatalab/labelU-Kit/compare/@labelu/video-react@1.6.1...@labelu/video-react@1.6.2) (2026-04-21)

### Bug Fixes

* **frontend:** add vis3 link to s3 datasource ([88979e6](88979e6))
* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
* **website:** build error ([8331827](8331827))
## [5.10.3](v5.10.2...v5.10.3) (2026-04-21)

### Bug Fixes

* **frontend:** data export from labelu[276](opendatalab/labelU#276) ([34b6c6d](34b6c6d))
* **frontend:** fix s3 datasource import ([fbf1838](fbf1838))
* **i18n:** update translation ([c25486c](c25486c))
The backend re-issues a token via the X-New-Token response header when the
current one is near expiry. Read that header in both axios response
interceptors and update localStorage.token so active users stay logged in.

The header value uses the same `Bearer xxx` format the login endpoint
returns, so it drops straight into the existing Authorization flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# Conflicts:
#	apps/frontend/package.json
#	apps/frontend/src/api/request.tsx
#	apps/frontend/src/pages/tasks.[id].samples.[id]/components/annotationRightCorner/index.tsx
#	package.json
合并 release 后 online 的 401 跳转被改成 goLogin(/login),
恢复为 goAuth(/authentication),保留 release 的滑动续期等改进。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ease ref 锁

多个包并发执行 git fetch +refs/heads/release 时会抢同一个
refs/heads/release.lock 导致 'cannot lock ref' 报错,
--sequential-init 让各包初始化/fetch 串行执行。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…provides

AnnotationContextValue has never declared currentEditingUser on this
branch, so destructuring it yielded undefined and isMeTheCurrentUser was
permanently falsy. That disabled AI auto-label, skip/cancel-skip and
finish, and -- less visibly -- made saveCurrentSample return early, so
annotations were silently not persisted.

Upstream main pairs that check with useSampleWs(), which feeds the
current editor into the context. Only the consumer side was ever merged
here; online-0713 is missing the provider too, so this predates the
recent pull and was merely exposed by the new auto-label button.

The online build does not do collaborative annotation, so this drops the
check rather than wiring up the WebSocket, along with the collaborator
avatar block that could never render and its now-unused imports. Two
users editing the same sample can now overwrite each other; wire up
useSampleWs if that becomes a real scenario.

Removes the corresponding TS2339 (51 -> 50 errors in this file, no new
ones). vite build does not typecheck, which is why it shipped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gary-Shen
gary-Shen merged commit f502ca2 into online Jul 21, 2026
1 check passed
@gary-Shen
gary-Shen deleted the online-0713 branch July 21, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants