Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: LEAP-883: Custom Scripts #5879

Merged
merged 27 commits into from
May 30, 2024
Merged

feat: LEAP-883: Custom Scripts #5879

merged 27 commits into from
May 30, 2024

Conversation

Gondragos
Copy link
Collaborator

@Gondragos Gondragos commented May 13, 2024

  • add idAttr parameter into View tag to make easier to work with custom styles and so on
  • add lsfInit and beforeLsfDestroy events into data manager for better control of the life cycle

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Does this PR introduce a breaking change?

  • Yes, and covered entirely by feature flag(s)
  • Yes, and covered partially by feature flag(s)
  • No
  • Not sure (briefly explain the situation below)

What level of testing was included in the change?

  • e2e
  • integration
  • unit

Which logical domain(s) does this change affect?

DataManager, View

Copy link

netlify bot commented May 13, 2024

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 1abe26c
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/6655e082c727ab00084da9ce

@github-actions github-actions bot added the feat label May 13, 2024
Copy link

netlify bot commented May 13, 2024

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 1abe26c
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/6655e0825682bd00084322ae

robot-ci-heartex and others added 11 commits May 13, 2024 19:49
# Conflicts:
#	web/dist/apps/labelstudio/version.json
#	web/dist/libs/datamanager/version.json
#	web/dist/libs/editor/version.json
Add ability to set id on div rendered by View to make it easy to use with for example custom styles
# Conflicts:
#	web/dist/apps/labelstudio/version.json
#	web/dist/libs/datamanager/main.js
#	web/dist/libs/datamanager/main.js.map
#	web/dist/libs/datamanager/version.json
#	web/dist/libs/editor/version.json
@hlomzik
Copy link
Collaborator

hlomzik commented May 22, 2024

/git merge

Workflow run
Successfully merged: create mode 100644 label_studio/data_manager/actions/cache_labels.py

hlomzik and others added 14 commits May 22, 2024 15:15
This PR improves the way of saving annotations (submit and update) with
allowing to prevent submitting in some cases such as validation.

- feat: LEAP-1060: Add event to allow control annotations submitting
- Fix behavior in case of absence of event listeners
- Fix submitting without event handlers for beforeSaveAnnotation

### PR fulfills these requirements
- [ ] Tests for the changes have been added/updated (for bug
fixes/features)
- [ ] Docs have been added/updated (for bug fixes/features)
- [x] Best efforts were made to ensure docs/code are concise and
coherent (checked for spelling/grammatical errors, commented out code,
debug logs etc.)
- [x] Self-reviewed and ran all changes on a local instance (for bug
fixes/features)



#### Change has impacts in these area(s)
_(check all that apply)_
- [ ] Product design
- [ ] Backend (Database)
- [ ] Backend (API)
- [x] Frontend



### Describe the reason for change
A missed useful event.




### Does this PR introduce a breaking change?
_(check only one)_
- [ ] Yes, and covered entirely by feature flag(s)
- [ ] Yes, and covered partially by feature flag(s)
- [x] No
- [ ] Not sure (briefly explain the situation below)



### What level of testing was included in the change?
_(check all that apply)_
- [ ] e2e
- [ ] integration
- [ ] unit



### Which logical domain(s) does this change affect?
`Annotation`, `Validation`

---------

Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
Co-authored-by: hlomzik <hlomzik@gmail.com>
# Conflicts:
#	web/dist/apps/labelstudio/version.json
#	web/dist/libs/datamanager/main.js
#	web/dist/libs/datamanager/version.json
#	web/dist/libs/editor/main.js
#	web/dist/libs/editor/main.js.map
#	web/dist/libs/editor/version.json
…labs/label-studio into fb-leap-883/custom-scripts
@hlomzik hlomzik merged commit 45082c7 into develop May 30, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants