Merge pull request #435 from GNS3/Release-notes-section

Release notes section
This commit is contained in:
ziajka 2019-07-02 10:08:35 +02:00 committed by GitHub
commit 345d5d7313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 1 deletions

View File

@ -18,7 +18,8 @@
"polyfills": "src/polyfills.ts",
"assets": [
"src/assets",
"src/favicon.ico"
"src/favicon.ico",
"src/ReleaseNotes.txt"
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",

16
src/ReleaseNotes.txt Normal file
View File

@ -0,0 +1,16 @@
GNS3 WebUI is web implementation of user interface for GNS3 software.
Current version: 2019.2.0
What's New
- Help section added with information about third party components
- Showing progress when server starting
- Possibility to edit interface & node labels by using context menu
- Enhancements in moving elements on map
- Context menu extended with option to duplicate
- Main menu extended with option to lock all items on map
Bug Fixes
- Removing issues with positioning interface labels while adding link between nodes on map
- Context menu now is correctly placed
- Entered text in text & style editor is now validated

View File

@ -9,6 +9,12 @@
</mat-expansion-panel-header>
<div [innerHTML]="thirdpartylicenses"></div>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title> Release notes </mat-panel-title>
</mat-expansion-panel-header>
<div [innerHTML]="releasenotes"></div>
</mat-expansion-panel>
</mat-accordion>
</div>
</div>

View File

@ -8,6 +8,7 @@ styleUrls: ['./help.component.scss']
})
export class HelpComponent implements OnInit {
thirdpartylicenses = '';
releasenotes = '';
constructor(
private httpClient: HttpClient
@ -23,5 +24,10 @@ export class HelpComponent implements OnInit {
this.thirdpartylicenses = 'File not found';
}
});
this.httpClient.get('ReleaseNotes.txt', {responseType: 'text'})
.subscribe(data => {
this.releasenotes = data.replace(new RegExp('\n', 'g'), "<br />")
});
}
}