Konstantina Galouni
1e71eafa45
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(). |
||
---|---|---|
e2e | ||
src | ||
.browserslistrc | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
angular.json | ||
interactivemining-install.sh | ||
package.json | ||
tsconfig.json |
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.