-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/pattern navigation #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a6d30ba
fix css for info icon
ef82456
use ids for navigation to patterns
bad4cf9
make navigating by id the default
283ed12
use eslint for formatting
0ee3709
show view relations in expansion panel
2cab6ad
Fixing add new pattern issue from issue#74
mbeisel 07a7893
Fixing bidirectional relationship display target, stylingchanges, fix…
mbeisel b3f14b3
Fixed Spacing in Add relation dialog and adjusted dialog logic
mbeisel cc73c91
Fixing graphview sidebarsize bug #73
mbeisel 46d69a3
Fixing connection and arrow rendering for drag & drop and via add lin…
mbeisel 9e107a0
Adding regex to remove comments and other disturbing html content for…
mbeisel f33b60c
Adjusting create process for MAP Patterns, and adding "keep empty lin…
mbeisel 8593af0
Adding functionality to delete pattern relations within the graph, ad…
mbeisel d8cdff3
Adding edit-url-dialog
mbeisel 0138e2a
Fixing critical error while loading patterns that have relations
mbeisel 87cd3ef
Adding ReadTheDocs files, Adding Icon and name edit function, Added G…
mbeisel 9588189
Adding missing delete-confirmation-dialog.component
mbeisel 9f9835d
Refactoring and importfixes
mbeisel 630eaa4
Moving readthedocs to seperate repo
mbeisel 3fda191
Add functionality to editing relations via the graph and graph sideba…
mbeisel 638cdc1
Refactoring, Commenting, Fixing bug in patternview component
mbeisel 8217206
Refactoring
mbeisel 715d563
Linting and refactoring
mbeisel dc978bd
Fixing Typo, removing unused imports, Fixing Relations in patterndeta…
mbeisel 0375b21
Adding Functionality to keep card view in Pattern View Component up t…
mbeisel 2c48c6a
Bugfixing Add relations (inc. Pattern ) functionality, fixing linkcou…
mbeisel d293713
Refactoring and removing unnecessary method
mbeisel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
src/app/core/component/action-button-bar/action-button-bar.component.html
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -5,3 +5,7 @@ | |
| .mat-form-field { | ||
| margin-left: 2.5rem !important; | ||
| } | ||
|
|
||
| .mat-input-element { | ||
| height: 1.125em; | ||
| } | ||
This file contains hidden or 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
7 changes: 7 additions & 0 deletions
7
src/app/core/component/delete-confirmation-dialog/delete-confirmation-dialog.component.html
This file contains hidden or 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,7 @@ | ||
| <h1 mat-dialog-title>Edit or Delete Relation</h1> | ||
| <div mat-dialog-actions> | ||
| <button mat-button (click)="onNoClick()">Cancle</button> | ||
| <button [mat-dialog-close]="data" class="pattern-button" mat-raised-button color="warn"> | ||
| <i class="material-icons">delete</i> | ||
| </button> | ||
| </div> |
Empty file.
25 changes: 25 additions & 0 deletions
25
...pp/core/component/delete-confirmation-dialog/delete-confirmation-dialog.component.spec.ts
This file contains hidden or 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,25 @@ | ||
| import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
|
||
| import { DeleteConfirmationDialogComponent } from './delete-confirmation-dialog.component'; | ||
|
|
||
| describe('DeleteConfirmationDialogComponent', () => { | ||
| let component: DeleteConfirmationDialogComponent; | ||
| let fixture: ComponentFixture<DeleteConfirmationDialogComponent>; | ||
|
|
||
| beforeEach(async(() => { | ||
| TestBed.configureTestingModule({ | ||
| declarations: [ DeleteConfirmationDialogComponent ] | ||
| }) | ||
| .compileComponents(); | ||
| })); | ||
|
|
||
| beforeEach(() => { | ||
| fixture = TestBed.createComponent(DeleteConfirmationDialogComponent); | ||
| component = fixture.componentInstance; | ||
| fixture.detectChanges(); | ||
| }); | ||
|
|
||
| it('should create', () => { | ||
| expect(component).toBeTruthy(); | ||
| }); | ||
| }); |
19 changes: 19 additions & 0 deletions
19
src/app/core/component/delete-confirmation-dialog/delete-confirmation-dialog.component.ts
This file contains hidden or 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,19 @@ | ||
| import { Component, Inject } from '@angular/core'; | ||
| import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; | ||
|
|
||
| @Component({ | ||
| selector: 'pp-delete-confirmation-dialog', | ||
| templateUrl: './delete-confirmation-dialog.component.html', | ||
| styleUrls: ['./delete-confirmation-dialog.component.scss'] | ||
| }) | ||
| export class DeleteConfirmationDialogComponent { | ||
|
|
||
| constructor( | ||
| public dialogRef: MatDialogRef<DeleteConfirmationDialogComponent>, | ||
| @Inject(MAT_DIALOG_DATA) public data) { | ||
| } | ||
|
|
||
| onNoClick(): void { | ||
| this.dialogRef.close(); | ||
| } | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
15 changes: 15 additions & 0 deletions
15
src/app/core/component/edit-url-dialog/edit-url-dialog.component.html
This file contains hidden or 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,15 @@ | ||
| <h1 mat-dialog-title>Edit Title or Icon for {{data.pattern.name}}</h1> | ||
| <div mat-dialog-content> | ||
| <mat-form-field> | ||
| <mat-label>Adjust Pattern Name</mat-label> | ||
| <input matInput placeholder={{data.pattern.name}} [(ngModel)]="data.name" > | ||
| </mat-form-field> | ||
| <mat-form-field> | ||
| <mat-label>Adjust Icon URL</mat-label> | ||
| <input matInput placeholder={{data.pattern.iconUrl}} [(ngModel)]="data.icon" > | ||
| </mat-form-field> | ||
| </div> | ||
| <mat-dialog-actions align="end"> | ||
| <button mat-button (click)="onNoClick()">Cancle</button> | ||
| <button mat-button [mat-dialog-close]="data" cdkFocusInitial>Ok</button> | ||
| </mat-dialog-actions> | ||
3 changes: 3 additions & 0 deletions
3
src/app/core/component/edit-url-dialog/edit-url-dialog.component.scss
This file contains hidden or 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,3 @@ | ||
| .mat-form-field{ | ||
| width: 100%; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.