Go to file
Konstantina Galouni 1e71eafa45 [Connect Admin | Library | new-theme]: Match menu for communities in admin & dashboard | Added missing property "adminPortalURL".
1. environments/: [Bug fix] Added missing property "adminPortalURL".
2. community-routing.module.ts: Added "user-info" path for each community.
3. app.routing.ts: Set "hasSidebar" to true for "user-info" path.
4. app.component.ts:
   a. Set "user-info" path in userMenuItems under community if any selected.
   b. In menuHeader for community set logoUrl and logoSmallUrl to headerLogoUrl (community logo).
   c. When community is selected, added in menu all items of dashboard too (menu same in admin and dashboard).
5. app.component.html: In <navbar> added input parameter "communityId".
6. navigationBar.component.ts: On "initialize()" method, clear "showEntity" and "showPage" fields before filling them again and subscribe to communityInformationState if there is a community and adminToolsAPIURL OR if adminToolsPortalType is community (admin & dashboard).
7. community.service.ts: On getCommunityAsync() method, after await call clearSubscriptions().
2022-07-01 11:27:47 +03:00
e2e [Admin | Trunk]: Update to Angular 11 2021-07-14 12:04:42 +00:00
src [Connect Admin | Library | new-theme]: Match menu for communities in admin & dashboard | Added missing property "adminPortalURL". 2022-07-01 11:27:47 +03:00
.browserslistrc [Admin | Trunk]: Update to Angular 11 2021-07-14 12:04:42 +00:00
.gitignore [Connect-Admin]: Remove clean-library. Add gitignore. Add gitmodules 2021-07-19 18:10:04 +03:00
.gitmodules Add openaire-theme and change all submodules to new-theme 2022-06-03 15:54:51 +03:00
README.md [Admin | Trunk]: Update to Angular 11 2021-07-14 12:04:42 +00:00
angular.json Change admin to less. Fix manage communities page. Fix sidebar admin items. Remove deleted properties. 2022-06-23 19:48:02 +03:00
interactivemining-install.sh Interactive mining script change github to gitea repo 2021-11-30 12:00:05 +02:00
package.json Finish UI of subscribers, managers, notification settings and personal info. Change claims property to dl170 for development 2022-06-28 21:15:05 +03:00
tsconfig.json [Admin | Trunk]: Update to Angular 11 2021-07-14 12:04:42 +00:00

README.md

Connect Admin

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:5000. 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.

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.