diff --git a/simulator-ui/.eslintrc.json b/simulator-ui/.eslintrc.json index 6ec524114..5a3cb9410 100644 --- a/simulator-ui/.eslintrc.json +++ b/simulator-ui/.eslintrc.json @@ -24,7 +24,7 @@ "error", { "type": "element", - "prefix": ["app", "jhi"], + "prefix": "app", "style": "kebab-case" } ], diff --git a/simulator-ui/src/main/webapp/app/app-routing.module.ts b/simulator-ui/src/main/webapp/app/app-routing.module.ts index c485b3f8b..4fdf13500 100644 --- a/simulator-ui/src/main/webapp/app/app-routing.module.ts +++ b/simulator-ui/src/main/webapp/app/app-routing.module.ts @@ -30,6 +30,11 @@ import NavbarComponent from './layouts/navbar/navbar.component'; data: { pageTitle: 'citrusSimulatorApp.scenario.home.title' }, loadChildren: () => import(`./scenario/scenario.routes`), }, + { + path: 'scenario-result', + data: { pageTitle: 'citrusSimulatorApp.scenarioExecution.home.title' }, + loadChildren: () => import(`./scenario-result/scenario-result.routes`), + }, ...errorRoute, ], { enableTracing: DEBUG_INFO_ENABLED, bindToComponentInputs: true }, diff --git a/simulator-ui/src/main/webapp/app/app.module.ts b/simulator-ui/src/main/webapp/app/app.module.ts index 6823ff032..0a81695df 100644 --- a/simulator-ui/src/main/webapp/app/app.module.ts +++ b/simulator-ui/src/main/webapp/app/app.module.ts @@ -1,25 +1,30 @@ -import { NgModule, LOCALE_ID } from '@angular/core'; import { registerLocaleData } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import locale from '@angular/common/locales/en'; +import { NgModule, LOCALE_ID } from '@angular/core'; import { BrowserModule, Title } from '@angular/platform-browser'; import { TitleStrategy } from '@angular/router'; import { ServiceWorkerModule } from '@angular/service-worker'; + import { FaIconLibrary } from '@fortawesome/angular-fontawesome'; -import dayjs from 'dayjs/esm'; + import { NgbDateAdapter, NgbDatepickerConfig } from '@ng-bootstrap/ng-bootstrap'; +import dayjs from 'dayjs/esm'; + import { ApplicationConfigService } from 'app/core/config/application-config.service'; -import './config/dayjs'; +import { httpInterceptorProviders } from 'app/core/interceptor'; import { TranslationModule } from 'app/shared/language/translation.module'; -import { httpInterceptorProviders } from 'app/core/interceptor/index'; + +import { AppPageTitleStrategy } from './app-page-title-strategy'; import { AppRoutingModule } from './app-routing.module'; -// jhipster-needle-angular-add-module-import JHipster will add new module here +import './config/dayjs'; import { NgbDateDayjsAdapter } from './config/datepicker-adapter'; import { fontAwesomeIcons } from './config/font-awesome-icons'; import MainComponent from './layouts/main/main.component'; import MainModule from './layouts/main/main.module'; -import { AppPageTitleStrategy } from './app-page-title-strategy'; + +// jhipster-needle-angular-add-module-import JHipster will add new module here @NgModule({ imports: [ diff --git a/simulator-ui/src/main/webapp/app/config/font-awesome-icons.ts b/simulator-ui/src/main/webapp/app/config/font-awesome-icons.ts index 6e5f94ebc..c09f8e0f3 100644 --- a/simulator-ui/src/main/webapp/app/config/font-awesome-icons.ts +++ b/simulator-ui/src/main/webapp/app/config/font-awesome-icons.ts @@ -9,6 +9,7 @@ import { faCalendarAlt, faChartPie, faCheck, + faCircleInfo, faCloud, faCogs, faDatabase, @@ -31,6 +32,7 @@ import { faSort, faSortDown, faSortUp, + faSquarePollVertical, faSync, faTachometerAlt, faTasks, @@ -58,6 +60,7 @@ export const fontAwesomeIcons = [ faCalendarAlt, faChartPie, faCheck, + faCircleInfo, faCloud, faCogs, faDatabase, @@ -81,6 +84,7 @@ export const fontAwesomeIcons = [ faSort, faSortDown, faSortUp, + faSquarePollVertical, faSync, faTachometerAlt, faTasks, diff --git a/simulator-ui/src/main/webapp/app/config/pagination.constants.ts b/simulator-ui/src/main/webapp/app/config/pagination.constants.ts index 6bee3ff5a..21fdfe2ee 100644 --- a/simulator-ui/src/main/webapp/app/config/pagination.constants.ts +++ b/simulator-ui/src/main/webapp/app/config/pagination.constants.ts @@ -1,3 +1,3 @@ export const TOTAL_COUNT_RESPONSE_HEADER = 'X-Total-Count'; export const PAGE_HEADER = 'page'; -export const ITEMS_PER_PAGE = 20; +export const ITEMS_PER_PAGE = 10; diff --git a/simulator-ui/src/main/webapp/app/entities/message-header/detail/message-header-detail.component.html b/simulator-ui/src/main/webapp/app/entities/message-header/detail/message-header-detail.component.html index 97ef51f87..88e142171 100644 --- a/simulator-ui/src/main/webapp/app/entities/message-header/detail/message-header-detail.component.html +++ b/simulator-ui/src/main/webapp/app/entities/message-header/detail/message-header-detail.component.html @@ -7,9 +7,9 @@