Commit Graph

79 Commits

Author SHA1 Message Date
Konstantina Galouni 558357b03e [Library | develop]: full-screen-modal.component.ts: [Bug fix] Removed uk-invisible class from ok and cancel buttons section (wrong check and buttons never appeared) & Added uk-disabled class in back link. 2023-06-22 16:48:10 +03:00
Konstantina Galouni 9852bdeebf Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-07 14:52:05 +03:00
Konstantina Galouni ab43152a6a [Library | data-transfer-v2]: For data transfer, open full screen modal instead of alert modal | Support transfer of hierarchical files | Show description in storage types.
1. full-screen-modal.component.ts: Added cancelButton: boolean = true; and show cancel button, only if cancelButton is true and okButton is false.
2. transferData.module.ts: Imported FullScreenModalModule.
3. transferData.component.html: Replaced <modal-alert> with <fs-modal> and updated the interface accordingly | In inputs, set [inputClass]="'flat'".
4. transferData.component.ts:
   a. Configure FullScreenModal, instread of AlertModal.
   b. In destinationOptions, set label to dest.description (used to be dest.destination).
   c. In transfer, in destinations, use also element.path, to keep the initial structure/ hierarchy when transfering files.
2023-05-16 16:36:43 +03:00
Konstantinos Triantafyllou 73f2215c07 Modal: Fix UIkit undefined in server 2023-05-11 13:04:09 +03:00
Konstantinos Triantafyllou 4fa36bdd43 Fix server error in alert.ts where UIkit event handler is defined. 2023-03-23 09:18:19 +02:00
Konstantinos Triantafyllou 8d3a83821b Modal: Add uikit close event, in order to catch click outside close events. 2023-03-21 14:00:47 +02:00
Konstantina Galouni f91c3ba0fb [Library | angular-14]: loading.component.ts: [Bug fix] In ngOnDestory changed to document.getElementById("modal-container"). 2022-12-16 17:21:37 +02:00
Konstantina Galouni ce4b9273e0 [Library | angular-14 & Explore | master]: Updated request to Crossref for bulk uploaded DOIs in linking | Added link for more information to joomla article (Canada's request).
1. sdg.component.html: Added link for more information to joomla article (Canada's request).
2. timeout-interceptor.service.ts: Excluded from timeout interceptor  properties.searchCrossrefAPIURL and properties.searchDataciteAPIURL.
3. searchDatacite.service.ts: In method "getDataciteResultByDOI()", for requests coming from file uploaded in linking added timeout to 20 sec, and for other requests timeout similar to the interceptor (6 sec for production, 12 otherwise).
4. searchCrossref.service.ts: In method "searchCrossrefByDOIs()", added timeout similar to the interceptor (6 sec for production, 12 otherwise) | Added method "searchCrossrefByDOI()", called for requests coming from file uploaded in linking.
5. bulkClaim.component.ts: Call new API method for Crossref requests for DOIs | Fixed tooltip to appear.
2022-12-16 09:59:48 +02:00
Alex Martzios b8ac412137 remove alert-modal footer entirely if alertFooter boolean is false 2022-09-14 16:31:55 +03:00
Konstantinos Triantafyllou a98af53385 Stakeholder-service: Add propagate option in changeVisibility. Modal: Remove cancel event from ok button 2022-07-19 15:18:56 +03:00
Konstantinos Triantafyllou 4fa4a33a68 Increase close icon in fs-modal and remove deprecated icon from library 2022-07-13 10:13:29 +03:00
Konstantina Galouni cfd44ec96b [Library | new-theme]: full-screen-modal.component.ts & alert.ts: [Bug fix] Added private static counter field to increase on each modal creation and set id according to the counter, to delete from DOM in "modal-container" the destroyed modal. 2022-07-11 17:27:44 +03:00
Konstantina Galouni fc5fcfaede [Connect & Library | new-theme]:
1. projects-in-modal.module.ts: Imported DropdownFilterModule.
2. projects-in-modal.component.ts: Use common <dropdown-filter> instead of custom uk-button and uk-dropdown.
3. full-screen-modal.component.ts: [Bug fix] In ngOnDestroy added check for observer - error in ssr.
2022-07-07 10:54:12 +03:00
Konstantinos Triantafyllou 721a8c6a09 Add mining icon. Add method to get Affiliations in affiliations service. Remove cancel emit from ok button in full modal 2022-07-04 21:38:27 +03:00
Konstantinos Triantafyllou be48608545 Fix bug with overflow in full screen modall 2022-07-04 18:00:10 +03:00
Konstantinos Triantafyllou de493c8492 Fix full screen modal base on new UI 2022-07-04 11:32:24 +03:00
Alex Martzios cffe3053ce tweaks for fullscreen modal 2022-06-27 13:22:24 +03:00
Konstantinos Triantafyllou 65eb622653 Remove box-no-shadow from modal buttons 2022-06-20 16:20:03 +03:00
Konstantinos Triantafyllou cc417adb6b Fix all dashboard modals heights. Role verification remove custom buttons. 2022-06-20 16:17:26 +03:00
Konstantina Galouni 65bf435e12 [Library | Explore | new-theme]: Added a container for modals | Fixes in orcid modal | for journals and registries use common query for beta & prod.
1. app.component.ts: Added <div id="modal-container"></div>.
2. alert.ts: [Bug fix] Updated target container in modal to id #modal-container (get portal specific css and have a generic z-index).
3. datasourcesHelper.class.ts: In method getQueryPrefix(), have a common setting for beta & prod environments.
4. orcid-work.component.ts: In grant modal, removed uk-text-center class and added [overflowBody]=false.
2022-06-20 13:02:23 +03:00
Konstantinos Triantafyllou bf80e2e0b4 Create a new interface for backgrounds and added to quick contact. Modal: Align title to the left 2022-06-17 19:47:47 +03:00
Konstantinos Triantafyllou 398b80d228 Change all offcanvas with uikit class. FIx search filter checkbox and radio label. Modal: Add container to avoid insert class at DOM 2022-06-17 02:57:56 +03:00
Konstantinos Triantafyllou 23a3c8a508 Modal: Make choice be expanded next to buttons 2022-06-02 18:12:27 +03:00
Konstantinos Triantafyllou bc5f5860f9 Quick contact: Fix a bug with dropdown and add some inputs to make it dynamic. GeneraL: Fix some breadcrumb alignments and fix modal overflowBody parameter 2022-06-02 17:27:45 +03:00
Alex Martzios 0a46aea1e7 fs-modal changes 2022-05-30 17:56:47 +03:00
Alex Martzios 9f57b1c459 new deposit page designs and search deposit page 2022-05-30 16:52:28 +03:00
argirok 5667a94756 fix issue with confict in close dropdown and modal 2022-05-30 13:56:14 +03:00
Konstantina Galouni 0e8c5832bb [Aggregator & Library| new-theme]: Use <modal-alert> common component in transferData.component.ts instead of uk-modal.
1. transferData.module.ts: Imported AlertModalModule.
2. transferData.component.ts: Use <modal-alert> common component instead of uk-modal | Comment logs.
3 alert.ts:
  a. Added "@Input() public emitHidden: boolean = false;" and "  @Output() public alertHidden: EventEmitter<any> = new EventEmitter();"
  b. On ngAfterViewInit, if emitHidden is true, check when modal is hidden and emit alertHidden (currently used only in transferData.component.ts to reinitialize local fields and route).
2022-05-25 12:52:00 +03:00
Konstantina Galouni 53d05bf54f [Explore & Library & Common Assets | new-theme]: Updates related to result landing redesign.
1. fos.component.css: Removed rule "mark.highlighted" and ".custom-bottom-border" updated with variables.
2. feedback.component.html: Updated width of email input for small screens.
3. parsingFunctions.class.ts: In "parseAllSubjects()" method, comment otherSubjects and push them in subjects.
4. showIdentifiers.component.ts: Updated classes in <modal-alert>.
5. showSubjects.component.ts: "Subjects by Vocabulary" and "Subjects" separated & view more functionality added in "Subjects".
6. resultLanding.component:
	a. Added button and modal for <addThis> (share in social media).
	b. View more functionality for related organizations.
	c. Graph and feedback section sticky.
	d. Added checks for summary tab and right sidebar.
	e. In small screens made right sidebar offcanvas.
7. resultLanding.module.ts: Updated iconsService.registerIcons to register link, graph, quotes.
8. orcid-work.component.ts: Added visually-hidden in icon buttons for landing | Updated classes in <modal-alert> and use buttons of alert instead of custom.
9. no-load-paging.component.ts: Use new component <results-and-pages> for results and pages number and set uk-flex-right in <paging-no-load> (default is center).
10. cookie-law.css: In ".cookie-law-wrapper" increased z-index from 100 to 1000.
11. showAuthors.component.ts: Removed shadow from search button | Updated classes in <modal-alert>.
12. icons.ts: Added "quotes" svg.
13. alert.ts: Updated modal to have header - body - footer (theme was updated too) | classTitle input set default to "uk-background-primary-opacity" | @Input() overflowBody: boolean = true; added to add overflow in body.
14. paging.module.ts: Added ResultsAndPagesNumComponent in declarations and exports.
15. pagingFormatter.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them.
16. pagingFormatterNoLoad.component.ts: Add "uk-invisible" to previous and next buttons instead of hiding them | Set customClasses default to "uk-flex-center".
17. tabs.component.ts: Updated margins/ paddings | Added @Input() offsetForSticky:number=0; to compare with the top distance for isSticky.
18. resultsAndPagesNum.component.ts: [NEW] Component to show number of results, number of pages and current page (used in paging).
19. landing-utils.css:
	a. Moved variables in .landing instead of :root.
	b. Added variable --landing-light-color-rgb: var(--light-color-rgb);
	c. Added glass filter in #graph_and_feedback.
	d. Set z-index of #main-tabs-div and #graph_and_feedback to 979 (default 980 caused problems with metrics box).
	e. Added padding-bottom: 80px and margin-top: 80px in .landing-sections.
	f. Added top rule for #right-sidebar-switcher.
	g. Added custom width rules for .landing-left-sidebar-width.
20. css-rules.txt: Added cookie-law-wrapper: 1000 info for z-index
21. explore-custom.css: Added variable --background-primary-rgb: var(--explore-color-rgb);
2022-04-20 17:40:18 +03:00
Konstantina Galouni e28e06b239 [Library & common-assets | new-theme]: Updates for redesign.
1. availableOn.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external icon to links and updated accessright icons.
2. citation.class.ts: Added fileFormatOptions: Option[] to use it in input options.
3. citeThis.component.ts: Updated select inputs using "input" from InputComponent | Updated copy to clipboard button to link.
4. citeThis.module.ts: Import InputModule.
5. fos.component.ts: Updated class of title to "uk-text-light-grey".
6. fundedBy.component.ts: Updated class of title to "uk-text-light-grey" and updated links with uk-text-emphasis class.
7. landing-header.component.ts: Increase authorsLimit to 7 | Changed class of "under curation" to uk-text-primary (used to be custom class).
8. metrics.component.ts: Updated in clickOutside event.
parsingFunctions.class.ts: Updated open, closed and unknown with icon names instead of paths to svgs (download accessright icons).
9. relatedTo.component.ts: Updated class of title to "uk-text-light-grey" and added custom-external for links.
10. resultLandingUtils.module.ts: Inport AlertModalModule (to open modal).
11. sdg.component.ts: Updated class of titlte to "uk-text-light-grey".
12. showIdentifiers.component.ts: Added view more functionality.
13. showPublisher.component.ts: Updated custon-external class.
14. resultLanding.module.ts: registerIcon link.
15. resultLanding.component.html: Updated css for result landing and commented annotations (b2note).
16. orcid-work.component.ts: Updated orcid action button for landing page.
17. orcid.module.ts: registerIcons orcid_add and orcid_bin.
18. customOptions.class.ts: [Bug fix] [By Kostis] registryOptions() was not returning properly httpHeaders.
19. showAuthors.component.ts: Updated css
20. icons.ts: Export svgs orcid_add, orcid_bin, link.
21. alert.ts: Removed margin from title.
22. result-preview.component.html: Title of results set to <h2> and uk-h6 and when links to uk-link-heading | accessRightIcon for hostedBy_collectedFrom.
23. result-preview.module.ts: Imported IconsModule.
24. landing-utils.css: Updates in landing css & css of landing-action-button & added backdrop filter missing rules.
25. utils.css: Updated class orcid-clipboard-wrapper and renamed to clipboad-wrapper | Update class .custom-external to set in content with code instead of name and updated not to underline it on hover
26. library.css: Added class .default-dropdown with max-width: 500px;
2022-04-16 10:47:30 +03:00
Konstantinos Triantafyllou 510f4c56ba 1. LayoutService: Delete isDashboard. 2. Navbar: fix a bug with class add and remove. 3. Role-users: Add new search-input. 4. Modal make title h5 2022-04-07 01:09:49 +03:00
Konstantinos Triantafyllou 2b7c52a8b0 Merge from master 2022-03-03 14:35:55 +02:00
Konstantinos Triantafyllou 476ce764f0 Modal change checkbox selection to true by default 2022-03-03 12:40:14 +02:00
Konstantinos Triantafyllou 4698a5fafd Delete old sidebar. Make some changes in navbar and user-mini 2022-03-02 23:48:21 +02:00
Konstantinos Triantafyllou 52e04d7b48 Change contact-us base on new theme. Change modal buttons. Changle default color of loading with uk-text-primary 2022-01-12 14:12:30 +02:00
k.triantafyllou 92852d0962 [Library | Trunk]: 1. Input fix bug with search control value. Remove selection of chip in autocomplete. 2. Search Input: Add truncate on selected value. 3. Full screen modal: Fix close method
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60688 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-22 15:10:18 +00:00
k.triantafyllou 1f55667499 [Library | Trunk]: Full screen modal: Remove footer, move buttons on header, Make heading h4. User component: Redirect on error code 3
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60660 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-17 15:42:43 +00:00
k.triantafyllou 372f33cb21 [Library | Trunk]: Fs modal: Fix esc key
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60642 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-12 12:49:01 +00:00
k.triantafyllou c9bc5dd980 [Library | Trunk]: Fs modal add a boolean for each button
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60636 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-12 10:29:58 +00:00
k.triantafyllou 3e14245cc0 [Library | Trunk]: Fs modal add disable on buttons
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60635 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-12 10:00:56 +00:00
k.triantafyllou b37a64809e [Library | Trunk]: Fs modal redesign
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60632 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-12 09:39:06 +00:00
argiro.kokogiannaki 39cd5682c9 [Library|Trunk]
fs-modal: add event emitter for close



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60629 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 16:27:28 +00:00
k.triantafyllou 51aa0ba2fd [Library | Trunk]: Full screen modal: Add animation css
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60601 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-05 15:12:35 +00:00
k.triantafyllou 255510903a [Library | Trunk]: Full screen modal: Make keys optionals
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60599 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-05 13:51:09 +00:00
k.triantafyllou cfe3ab4fd0 [Library | Trunk]: Add full screen modal
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60597 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-05 13:31:54 +00:00
k.triantafyllou 39dada9c53 [Library | Trunk]: 1. Icons remove line-height. 2. Role-users: Fix UI
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60534 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-01 17:32:21 +00:00
k.triantafyllou a1bccfe527 [Library | Trunk]: Change manager and members page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59718 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-29 14:20:41 +00:00
k.triantafyllou 38027b7137 [Library | Trunk]: Remove unused classes from modal
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59628 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-19 21:16:12 +00:00
k.triantafyllou fb309462eb [Library | Trunk]: Change input component base on new mocks. Add large parameter for modal
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59618 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-19 09:06:23 +00:00
k.triantafyllou 8b9af0edc2 [Library | Trunk]: Change headings on library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59575 d315682c-612b-4755-9ff5-7f18f6832af3
2020-10-13 19:04:50 +00:00