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

1989 switching off global | local validation rules in territory based validation rules #2473

Conversation

Ptrhnk
Copy link
Collaborator

@Ptrhnk Ptrhnk commented Dec 9, 2024

No description provided.

@Ptrhnk Ptrhnk changed the base branch from dev to 1.4.1 December 9, 2024 16:18
@Ptrhnk Ptrhnk merged commit 4bf7fe6 into 1.4.1 Dec 9, 2024
@Ptrhnk Ptrhnk deleted the 1989-switching-off-global-|-local-validation-rules-in-territory-based-validation-rules branch December 9, 2024 16:18
adammertel added a commit that referenced this pull request Dec 9, 2024
* Add IResponseUsedInDocument

* Add anchorText to response detail

* Change document model

* Add statsGet api route

* Add few comments

* update #2351, usedInDocuments + test

* introduce system settings

* add owner setting key + settings api router

* add api call for GET /settings/:key

* remove owner setting, add user role owner instead

* add endpoint / permission for getting owner user (Email)

* add api call to client's lib for getting owner data

* add request for getting first ever created audit + test + client api call

* add END key support in annotator, close #2321

* fix ENTER input, close #2320

* add api call for removing selected anchors from document + test

* Update IResponseUsedInDocument

* Improve documentation

* update implementation for IResponseUsedInDocument

* add Document's anchors tree structure, add test, finalize IResponseUsedInDocument

* Do not show entity tag if the provided entity is undefined

* Refactor warnings

* add PropSpecKind enum for Entity.extractIdsFromProps

* add TBasedWarnings to entity detail's warnings

* add parentT / resourceId from IResponseUsedInDocument to entities map

* Add section to the warning

* Add dummy api call to remove anchor

* 2065 list of anchors in entity detail open text in annotator from anchor list in one click anchor removal in detail (#2430)

* prepare anchor table

* implement the visual part of used in documents table

* remove mutation

* improvements

* abbreviate text, btn style

* hide delete btn

* prepare anchor btn, implement copy to clipboard

* open document modal from anchor

* scroll to anchor from used in documents

* refactor btn group props

* working solution

* 2416 add owner role to the user list table (#2452)

* sort users in user list

* sort, change icons, add tooltip

* conditions for owner role btns

* user icon to the navbar

* color rows

* remove owner from btn group in manage users, add owner to user import

* 2361 design and create the first owner modal (#2455)

* add modal and first attrs

* add validations to modal

* tidy up styles

* move validation rule to advanced components

* validations section header

* fns for add, edit, remove rules

* warning validation dict, add sections to modal

* validation settings to local state

* implement disabled settings

* better labels and descriptions to dict

* separate settings row to component

* tooltips

* capitalize descriptions

* owner only, hide settings

* better updating

* owner rights to menu

* add updateSettings api call

* Create group setting GET endpoint

* default import global validation settings

* fix groupSettings router

* update /settings/group/:group call

* 1989 switching off global | local validation rules in territory based validation rules (#2473)

* fetch settings preparation

* quick version with fetch

* fix empty validations

* log settings

* condition to disable submit btn

* add settingGroupUpdate to api

* add api handler for PUT settings/group/:groupid

* add acl permissions for put settings/group/:id

* add test for put settings/group/:id

* handle update

---------

Co-authored-by: Ján Mertel <[email protected]>

---------

Co-authored-by: Ján Mertel <[email protected]>
Co-authored-by: Petr Hanak <[email protected]>
jancimertel added a commit that referenced this pull request Jan 12, 2025
* Add IResponseUsedInDocument

* Add anchorText to response detail

* Change document model

* Add statsGet api route

* Add few comments

* update #2351, usedInDocuments + test

* introduce system settings

* add owner setting key + settings api router

* add api call for GET /settings/:key

* remove owner setting, add user role owner instead

* add endpoint / permission for getting owner user (Email)

* add api call to client's lib for getting owner data

* add request for getting first ever created audit + test + client api call

* add END key support in annotator, close #2321

* fix ENTER input, close #2320

* add api call for removing selected anchors from document + test

* Update IResponseUsedInDocument

* Improve documentation

* update implementation for IResponseUsedInDocument

* add Document's anchors tree structure, add test, finalize IResponseUsedInDocument

* Do not show entity tag if the provided entity is undefined

* Refactor warnings

* add PropSpecKind enum for Entity.extractIdsFromProps

* add TBasedWarnings to entity detail's warnings

* add parentT / resourceId from IResponseUsedInDocument to entities map

* Add section to the warning

* Add dummy api call to remove anchor

* 2065 list of anchors in entity detail open text in annotator from anchor list in one click anchor removal in detail (#2430)

* prepare anchor table

* implement the visual part of used in documents table

* remove mutation

* improvements

* abbreviate text, btn style

* hide delete btn

* prepare anchor btn, implement copy to clipboard

* open document modal from anchor

* scroll to anchor from used in documents

* refactor btn group props

* working solution

* 2416 add owner role to the user list table (#2452)

* sort users in user list

* sort, change icons, add tooltip

* conditions for owner role btns

* user icon to the navbar

* color rows

* remove owner from btn group in manage users, add owner to user import

* 2361 design and create the first owner modal (#2455)

* add modal and first attrs

* add validations to modal

* tidy up styles

* move validation rule to advanced components

* validations section header

* fns for add, edit, remove rules

* warning validation dict, add sections to modal

* validation settings to local state

* implement disabled settings

* better labels and descriptions to dict

* separate settings row to component

* tooltips

* capitalize descriptions

* owner only, hide settings

* better updating

* owner rights to menu

* add updateSettings api call

* Create group setting GET endpoint

* default import global validation settings

* fix groupSettings router

* update /settings/group/:group call

* 1989 switching off global | local validation rules in territory based validation rules (#2473)

* fetch settings preparation

* quick version with fetch

* fix empty validations

* log settings

* condition to disable submit btn

* add settingGroupUpdate to api

* add api handler for PUT settings/group/:groupid

* add acl permissions for put settings/group/:id

* add test for put settings/group/:id

* handle update

---------

Co-authored-by: Ján Mertel <[email protected]>

* Add ITerritoryValidationNode into response interface

* 2445 remove anchor from detail sectionc (#2490)

* add removeAnchor api call to api client

* implement removeAnchor api call on backend

* update entityIds in document after anchor removal

* start updating direction-based selecting in annotator

* fix dbl click + shift action after

* finalize refactoring text selections

---------

Co-authored-by: adammertel <[email protected]>
Co-authored-by: Petr Hanak <[email protected]>
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.

Switching off global | local validation rule settings (in Territory-based Validation rules)
2 participants