-
Notifications
You must be signed in to change notification settings - Fork 2
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
Merged
Ptrhnk
merged 12 commits into
1.4.1
from
1989-switching-off-global-|-local-validation-rules-in-territory-based-validation-rules
Dec 9, 2024
Merged
1989 switching off global | local validation rules in territory based validation rules #2473
Ptrhnk
merged 12 commits into
1.4.1
from
1989-switching-off-global-|-local-validation-rules-in-territory-based-validation-rules
Dec 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…n-rules-in-territory-based-validation-rules
…n-rules-in-territory-based-validation-rules
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.