LuoChinWen 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
..
__mocks__ 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
examples 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
images 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
public 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
scripts 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
src 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
tests 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
.babelrc 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
.travis.yml 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
CHANGELOG.md 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
CODE_OF_CONDUCT.md 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
CONTRIBUTING.md 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
LICENSE 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
LSF.init.md 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
README.md 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
codecov.yml 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
cypress.config.ts 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
jest.config.js 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
jest.setup.js 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
nyc.config.js 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
package.json 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
project.json 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
tsconfig.jest.json 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
tsconfig.json 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
tsconfig.lib.json 53564ecbf7 -init:初始化项目 1 tháng trước cách đây
tsconfig.spec.json 53564ecbf7 -init:初始化项目 1 tháng trước cách đây

README.md

Label Studio Frontend

Label Studio Frontend (LSF) is a crucial module of the Label Studio ecosystem, pivotal in driving the entire annotation flow. It's a front-end-only module, combining a user interface for annotation creation with a data layer that standardizes the annotation format. Every manual annotation in Label Studio has been crafted using LSF, making it integral to the system.

Usage Instructions

LSF provides specific scripts for operation and testing:

Important Note: These scripts must be executed within the web folder or its subfolders. This is crucial for the scripts to function correctly, as they are designed to work within the context of the web directory's structure and dependencies.

  • yarn lsf:watch: Build LSF continuously
    • Crucial for development, this script continuously builds Label Studio Frontend (LSF), allowing developers to observe their changes in real-time within the Label Studio environment.
  • yarn lsf:serve: Run LSF standalone
    • To run Label Studio Frontend in standalone mode. Visit http://localhost:3000 to use the application in standalone mode.
  • yarn lsf:e2e: Execute end-to-end (e2e) tests on LSF
    • To run comprehensive e2e tests, ensuring the frontend works as expected from start to finish. The Label Studio environment must be running, typically at http://localhost:8080.
  • yarn lsf:integration: Run integration tests
    • To conduct integration tests using Cypress, verifying that different parts of LSF work together correctly. The LSF in standalone mode (yarn lsf:serve) must be running.
  • yarn lsf:integration:ui: Run integration tests in UI mode
    • Facilitates debugging during integration tests by running them in a UI mode, allowing you to visually track what is being tested. The LSF in standalone mode (yarn lsf:serve) must be running.
  • yarn lsf:unit: Run unit tests on LSF
    • Essential for maintaining code quality and reliability, especially in collaborative development.