Go to file
Konstantina Galouni d33c5890a9 [Library | new-theme]: Bug fix in download from of result landing links | In menu items added "target" field to define if urls open in new tab and have external icon.
1. availableOn.component.ts: [Bug fix] Added class "uk-link-text" in links of license and providers.
2. menu.ts: In MenuItem added field target: string = "_blank"; and in constructor added parameters and initialization of target, type, isFeatured.
3. navigationBar.component.html: Updated checks for "custom-external" class and target according to target field of MenuItem.
4. app.component.ts: In "Manage" menu item set target to "_self".
5. menu.component.ts: (Admin form) In method "menuItemSaveConfirmed()" added: this.menuItemForm.value.target = this.menuItemForm.value['type'] == "internal" ? "_self" : "_blank";
2022-06-29 13:56:19 +03:00
src [Library | new-theme]: Bug fix in download from of result landing links | In menu items added "target" field to define if urls open in new tab and have external icon. 2022-06-29 13:56:19 +03:00
.browserslistrc [Connect]: Update trunk to angular 11. Delete branch angular-11 2021-07-14 14:51:20 +00:00
.gitignore [Connect]: Remove cleanlibrary. Add gitignore. Add submodules 2021-07-19 18:00:37 +03:00
.gitmodules Add submodule again 2021-12-16 16:35:27 +02:00
README.md [Connect]: Update trunk to angular 11. Delete branch angular-11 2021-07-14 14:51:20 +00:00
angular.json Import material from library and uikit javascript from node modules 2022-06-27 12:58:15 +03:00
package.json Change styles to less theme. Make some fixes in browse-community. Home and learn how alignments 2022-06-17 19:49:40 +03:00
server.ts [Connect]: Update trunk to angular 11. Delete branch angular-11 2021-07-14 14:51:20 +00:00
tsconfig.json [Connect]: Update trunk to angular 11. Delete branch angular-11 2021-07-14 14:51:20 +00:00

README.md

Connect

This project was generated with Angular CLI version 7.3.10 and has been updated to 11.2.14.

Install packages

Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build - CSR

Use the npm run build-dev for a development build.
Use the npm run build-beta for a beta build.
Use the npm run build-prod for a production build.

Build - SSR

Use the npm run build:ssr-dev for a development build.
Use the npm run build:ssr-beta for a beta build.
Use the npm run build:ssr-prod for a production build.

Run SSR

npm run serve:ssr will run the last server build.

Webpack Analyzer

In order to analyze bundle size you can run npm run webpack-bundle-analyzer

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.