Commit Graph

17 Commits

Author SHA1 Message Date
Katerina e08b72eec2 changes to match the summary table addition of the api 2023-11-21 15:21:24 +02:00
Konstantina Galouni df695da83f [Validator | main]: oaipmh-analysis.component.html: When no rule name, replaced - with [No title available] & added link in rule name | oaipmh-analysis.component.html: Commented option "all" for recordsNum & increased limit to 100 | oaipmh-validator.component.ts: [Bug fix] Added @ViewChild('customRecordsNum') customRecordsNum and in method updateRecordsNum(), if there is this input, mark it as checked & initialize form with this.recordsNum. 2023-11-13 21:13:43 +02:00
Konstantina Galouni 34a525f690 [Validator | angular-16]: oaipmh-validator.component.ts: Updated label of one guideline option "OpenAIRE Guidelines for Literature Repositories Profile v4 & OpenAIRE FAIR Guidelines for Literature Profile" - from now on, both profile v2 and fair guidelines are calculated together. 2023-10-17 13:51:00 +03:00
Konstantina Galouni b2cddcbfb6 [Validator]: Updates & improvements.
1. JobResult.ts: Added "set:string" and "exceptionMessage: string" fields.
2. RulePerJob.ts: Removed "rule_description" field and added fields "requirement_level: string, description: string, fair_principles: string, fair_principles_tooltip: string, link: string;".
3. oaipmh-analysis.component.html: Added cards on the right for base url and set | Added requirement level to the rule name, updated field for description, added fair principles.
4. oaipmh-analysis.component.ts: Added "requirementLevelMapping" and initialize tooltip of fair principles.
5. oaipmh-history.component.html: Updated table to show multiple validations | Updated columns of table - removed actions and updated status (view results - gets us to the analysis, in progress, stoppes, error, errors - opens a modal with the exception message).
6. oaipmh-history.component.ts: Added method "getJobResults()" and methods for error modal | Added a limit of 120 requests (10 minutes) for repetable requests of getting jobResult to update status when status is in progress.
7. oaipmh-validator.component.ts: Updated label for guidelines | Updated validation checks | Added exception catch in getSets().
8. oaipmh-validator.service.ts: Added method "getJobResults(limit: number = 200)".
9. topmenu.component.html: Removed jobId from history demo page.
10. package-lock.json: Updated uikit version.
2023-10-03 17:00:58 +03:00
Konstantina Galouni 36833e9879 [Validator | right-col-temp]: [WIP] oaipmh-validator.component: Updates in right sidebar of validation page. 2023-09-13 15:42:24 +03:00
Konstantina Galouni e9c22bfe73 [Validator | right-col-temp]: [WIP] oaipmh-validator.component: Updates in right sidebar of validation page. 2023-09-13 15:04:18 +03:00
Konstantina Galouni e0aa075c3a Merge remote-tracking branch 'origin/main' into right-col-temp 2023-09-12 17:08:37 +03:00
Konstantina Galouni 259a5a8af6 [Validator | right-col-temp]: [WIP] oaipmh-validator.component.less: Added styling rules for right column of validation page | oaipmh-validator.component.html: Updated margins & paddings and added content to the right column of validation page. 2023-09-12 17:07:52 +03:00
Konstantina Galouni f6629441a1 Updated uikit version to 3.16.24 | In uk-sticky attribute replaced bottom with end 2023-08-25 15:46:45 +03:00
Konstantina Galouni 5ad74bceee WIP: Right-help column in validation options page 2023-08-25 12:02:46 +03:00
Konstantina Galouni 401ce63989 oaipmh-analysis.component: Added methods public getKeys(map) and public getValues(map) to solve ExpressionChangedAfterItHasBeenCheckedError | oaipmh-history.component.html: [Bug fix] Changed <ng-container> with <span> because styling (class) was needed | oaipmh-history.component.ts: Updated method "getJobResult()" to repeat the query every 5 seconds until result.progress !== Progress.IN_PROGRESS. 2023-07-26 17:18:32 +03:00
Konstantina Galouni 7580f1b6e4 oaipmh-validator.component: Improvements, fixes and checks added & Added subscriptions and ngOnDestroy & Added real API call to validate | oaipmh-analysis.component.ts & oaipmh-history.component.ts & single-record-validator.component.ts: Added subscriptions and ngOnDestroy | oaipmh-validator.service.ts: In method "validate()" added real API call & if all sets are chosen, do not send the set parameter | topmenu.component.html: Added "Validate [demo]" option. 2023-07-25 16:58:41 +03:00
Konstantina Galouni e8db9428bf oaipmh-analysis.component.ts & oaipmh-history.component.ts & oaipmh-validator.component.ts & single-record-validator.component.ts & app.module.ts: Updated imports to get shared files from openaire-library | environment.ts: Added export let properties: EnvProperties | package.json & package-lock.json: Updated angular version from 14.1.0 to 14.2.3 and added dependency @angular/material": "^14.2.2". 2023-07-25 13:39:39 +03:00
Konstantina Galouni 04e9e455a4 oaipmh-validator.component: [WIP] Added Validator-first screen | oaipmh-validator.service.ts: Added methods "getSets()" and "validate()" | string-utils.class.ts: Added StringUtils file (from library). 2023-07-25 11:58:23 +03:00
Konstantina Galouni 157917ab0e validator-custom.less: Updated colors specifically for "validator", instead of "provide" | oaipmh-analysis.component: Added field "public guidelinesLabelToPrefix: Map<string, string>" to build correctly the record urls in warning/error modals. 2023-07-24 22:38:31 +03:00
Konstantina Galouni 17023974f2 oaipmh-analysis.component.ts: [Bug fix] Updated how job duration is calculated - negative numbers appeared. 2023-07-17 13:05:33 +03:00
Konstantina Galouni 32078e8732 Added validation history and validation analysis pages and updated validatorAPI to use the new version using camel. 2023-07-14 18:22:25 +03:00