-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create scenario-solution help dialog
- Loading branch information
1 parent
5f4aa91
commit c384934
Showing
6 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...ore/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<h3 class="strong">What's the difference between a scenario and a solution?</h3> | ||
<p> | ||
A scenario is a vehicle routing problem (VRP) request that Fleet Routing can solve. It consists of | ||
one or more vehicles and one or more shipments to be delivered. | ||
</p> | ||
|
||
<p> | ||
A solution is what the Fleet Routing API produces in response to a request to solve a scenario. | ||
Solutions are visible in FleetRouting App via the Gantt chart, on a map, or in the Metadata view. | ||
</p> |
Empty file.
22 changes: 22 additions & 0 deletions
22
.../containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { ScenarioSolutionHelpDialogComponent } from './scenario-solution-help-dialog.component'; | ||
|
||
describe('ScenarioSolutionHelpDialogComponent', () => { | ||
let component: ScenarioSolutionHelpDialogComponent; | ||
let fixture: ComponentFixture<ScenarioSolutionHelpDialogComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ScenarioSolutionHelpDialogComponent], | ||
}).compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ScenarioSolutionHelpDialogComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
9 changes: 9 additions & 0 deletions
9
.../core/containers/scenario-solution-help-dialog/scenario-solution-help-dialog.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { ChangeDetectionStrategy, Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-scenario-solution-help-dialog', | ||
templateUrl: './scenario-solution-help-dialog.component.html', | ||
styleUrls: ['./scenario-solution-help-dialog.component.scss'], | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class ScenarioSolutionHelpDialogComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -882,3 +882,7 @@ app-csv-upload-dialog | |
app-bulk-edit-unset { | ||
color: #f44336; | ||
} | ||
|
||
.strong { | ||
font-weight: 500 !important; | ||
} |