-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(data-analysis): search now works
* feat(profile): add profile header and image * fix(test): fix new tests * fix(profile): bind user info * fix(test): fix test * feat(test): add tests for manage-account * fix(profile): fix comments * fix(profile): connect to back and fix tests * fix(data-analysis): show node information in graph * fix(manage-user): fixed username , select role on edit by default * fix(test): fixed username Change to userName * fix(assign-file): modal chips are now fixed, loading is now working better, deleted some console.logs * fix(data-analysis): extract search component * fix(info-dialog): fixed styles * fix(data-analysis): search now works * fix(data-analysis): search now have search type * fix(test): fixed search nodes tests --------- Co-authored-by: Zahra Masoumi <[email protected]>
- Loading branch information
1 parent
82a3585
commit 8e62546
Showing
24 changed files
with
362 additions
and
207 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const environment = { | ||
apiUrl: 'https://localhost:44322', | ||
// apiUrl: 'http://localhost:8085', | ||
// apiUrl: 'https://localhost:44322', | ||
apiUrl: 'http://localhost:8085', | ||
}; |
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
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
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
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
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
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
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
58 changes: 58 additions & 0 deletions
58
src/app/graph/components/data-analysis/search-nodes/search-nodes.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,58 @@ | ||
<form class="form"> | ||
<mat-form-field appearance="outline" class="search-type"> | ||
<mat-label>Search type</mat-label> | ||
<mat-select | ||
[(ngModel)]="searchType" | ||
name="searchType" | ||
(ngModelChange)="searchNodes()" | ||
> | ||
<mat-option value="startswith">Start With</mat-option> | ||
<mat-option value="endswith">End With</mat-option> | ||
<mat-option value="contain">Contain</mat-option> | ||
</mat-select> | ||
</mat-form-field> | ||
<mat-form-field appearance="outline" class="search-field"> | ||
<mat-label>Search</mat-label> | ||
<input | ||
name="searchInput" | ||
matInput | ||
[(ngModel)]="searchInput" | ||
(ngModelChange)="searchNodes()" | ||
/> | ||
<mat-icon matSuffix>search</mat-icon> | ||
</mat-form-field> | ||
</form> | ||
<div class="accounts"> | ||
@for (account of accounts; track $index) { | ||
<div class="account-data"> | ||
{{ account.entityName }} | ||
<div class="icons"> | ||
<button | ||
class="material-symbols-outlined" | ||
matTooltip="Show node as graph" | ||
(click)="showAsGraph(account)" | ||
> | ||
network_node | ||
</button> | ||
<mat-icon | ||
class="info-icon" | ||
matTooltip="Show node information" | ||
(click)="getInfo(account.id)" | ||
> | ||
info | ||
</mat-icon> | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
<mat-paginator | ||
class="paginator" | ||
[length]="length" | ||
[pageIndex]="pageIndex" | ||
[pageSize]="10" | ||
[hidePageSize]="true" | ||
[showFirstLastButtons]="true" | ||
aria-label="Select page" | ||
(page)="handlePageEvent($event)" | ||
> | ||
</mat-paginator> |
Oops, something went wrong.