Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
2838d8d
resolved merge
Yi-Jacob Apr 9, 2024
9180b73
added icons to sidenav
Yi-Jacob Apr 15, 2024
d617fd2
in progress
Yi-Jacob Apr 15, 2024
3838b93
updated check for icons
Yi-Jacob Apr 15, 2024
d5da873
added structure
Yi-Jacob Apr 16, 2024
b0a110d
added structure
Yi-Jacob Apr 16, 2024
1ee1be4
added styling
Yi-Jacob Apr 16, 2024
ceb4f70
updated styling
Apr 18, 2024
eacb865
updated styling
Apr 18, 2024
f421289
update home page
Apr 19, 2024
6c2dba9
Merge pull request #196 from Yi-Jacob/ui-updates-195
thekevinm Apr 22, 2024
b282779
Merge pull request #197 from Yi-Jacob/ui-updates-190
thekevinm Apr 22, 2024
a65c3b7
Updated API Key Page
Apr 22, 2024
d10abbd
Updated API Key Page
Apr 22, 2024
81327e0
#198 - Reset Admin Password Fix
Yi-Jacob Apr 24, 2024
209de24
cleanup
Yi-Jacob Apr 25, 2024
bf88041
Merge pull request #201 from Yi-Jacob/issue/198-reset-admin-password
thekevinm Apr 29, 2024
b889d35
Merge branch 'develop' into ui-updates-192
Yi-Jacob Apr 29, 2024
2158aa3
Merge pull request #199 from Yi-Jacob/ui-updates-192
thekevinm Apr 29, 2024
c761cc5
#202 - User Creation: Added error handling
Yi-Jacob Apr 29, 2024
c2d4aa7
Merge pull request #205 from Yi-Jacob/issue/202-user-creation-error-h…
thekevinm Apr 30, 2024
d17e460
#200 - UI Updates: Light Mode
Apr 30, 2024
bc37583
added styling
Apr 30, 2024
6bc1479
in progress dark mode
May 1, 2024
cc3f62a
in progress
May 1, 2024
c198881
continuted dark mode progress
May 2, 2024
f14dc48
in progress
May 2, 2024
224daf0
in progress
May 2, 2024
2688795
in progress
May 2, 2024
25b88a6
updated dark mode styling
May 6, 2024
7c755e7
updated styling
May 6, 2024
77fe88a
Merge branch 'develop' into issue/200-light-mode-styling
Yi-Jacob May 6, 2024
ad6f54e
Merge branch 'develop' into issue/200-dark-mode-styling
Yi-Jacob May 6, 2024
5b210a1
Merge pull request #207 from Yi-Jacob/issue/200-light-mode-styling
thekevinm May 6, 2024
1f6693d
215 - Add Refresh Schema Option
Yi-Jacob May 8, 2024
54d0386
Merge branch 'develop' into issue/215-refresh-schema
Yi-Jacob May 8, 2024
18f6a1c
Merge branch 'develop' into issue/200-dark-mode-styling
Yi-Jacob May 8, 2024
36bfcc2
Merge pull request #212 from Yi-Jacob/issue/200-dark-mode-styling
thekevinm May 8, 2024
0883a79
Merge pull request #216 from Yi-Jacob/issue/215-refresh-schema
thekevinm May 8, 2024
442b36a
217 - Fixed build error
Yi-Jacob May 9, 2024
7e81ace
Merge pull request #218 from Yi-Jacob/issue/217-fixed-error
thekevinm May 9, 2024
6c1994f
fix: fix api docs no option issue
May 10, 2024
79b8a93
219 - UI bug Fix and enhancements
Yi-Jacob May 10, 2024
2f2b87c
additional style updates
Yi-Jacob May 10, 2024
27332da
223 - Save Dark Mode to users browser
Yi-Jacob May 10, 2024
4bd1856
Merge pull request #220 from Yi-Jacob/issue/169-api-docs-no-option
thekevinm May 10, 2024
bcd9720
Merge pull request #222 from Yi-Jacob/issue/219-ui-bugs-and-improvements
thekevinm May 10, 2024
a3711bd
Merge pull request #224 from Yi-Jacob/issue/223-dark-mode-saving
thekevinm May 10, 2024
7773228
#226 - Dark Mode Bug Fixes
Yi-Jacob May 13, 2024
8bde03f
more fixes
Yi-Jacob May 13, 2024
5c61b5c
Merge pull request #227 from Yi-Jacob/bug-226-dark-mode-bugs-1
thekevinm May 13, 2024
f935536
213 - Pagination Order
Yi-Jacob May 14, 2024
575597d
updated styling
Yi-Jacob May 14, 2024
1739d26
cleanup
Yi-Jacob May 14, 2024
65fc0af
Merge pull request #228 from Yi-Jacob/issue/213-pagination-order
thekevinm May 14, 2024
fd88fca
#221 - Added Service Definition Capability
Yi-Jacob May 15, 2024
3e536be
Merge pull request #229 from Yi-Jacob/issue/221-service-definition
thekevinm May 15, 2024
485b8ac
small ui and bug updates
May 16, 2024
50d8d78
Merge pull request #230 from Yi-Jacob/deployment-05/16
thekevinm May 16, 2024
cf6210f
Updated Service Definition and Search functionality
Yi-Jacob May 16, 2024
2c6661c
cleanup
Yi-Jacob May 16, 2024
1016df2
Merge pull request #231 from Yi-Jacob/deployment-05/16-fixes-2
thekevinm May 16, 2024
b1c7f1d
Added service definition to Scripts
Yi-Jacob May 16, 2024
43d40e0
cleanup
Yi-Jacob May 16, 2024
97b1a93
Merge pull request #232 from Yi-Jacob/deployment-05/16-fixes-3
thekevinm May 16, 2024
0cb3c77
remove build
thekevinm May 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed dist.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
(change)="uploadAdminList($event)"
style="display: none" />
<button
class="save-btn"
[class]="(isDarkMode | async) ? 'dark-theme' : ''"
mat-mini-fab
color="primary"
[attr.aria-label]="'importList' | transloco"
(click)="fileInput.click()">
<fa-icon [icon]="faUpload" size="xl"></fa-icon>
</button>
<button
class="save-btn"
[class]="(isDarkMode | async) ? 'dark-theme' : ''"
mat-mini-fab
color="primary"
[attr.aria-label]="'exportList' | transloco"
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { Component, ViewChild } from '@angular/core';
import { Component, ViewChild, inject } from '@angular/core';
import { DfManageAdminsTableComponent } from './df-manage-admins-table.component';
import { EXPORT_TYPES } from 'src/app/shared/constants/supported-extensions';

import { NgFor, UpperCasePipe } from '@angular/common';
import { AsyncPipe, NgFor, UpperCasePipe } from '@angular/common';
import { MatMenuModule } from '@angular/material/menu';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { MatButtonModule } from '@angular/material/button';
import { faDownload, faUpload } from '@fortawesome/free-solid-svg-icons';
import { TranslocoPipe } from '@ngneat/transloco';

import { DfThemeService } from 'src/app/shared/services/df-theme.service';
@Component({
selector: 'df-manage-admins',
templateUrl: './df-manage-admins.component.html',
styleUrls: ['./df-manage-admins.component.scss'],
standalone: true,
imports: [
DfManageAdminsTableComponent,
Expand All @@ -21,15 +22,17 @@ import { TranslocoPipe } from '@ngneat/transloco';
NgFor,
UpperCasePipe,
TranslocoPipe,
AsyncPipe,
],
})
export class DfManageAdminsComponent {
themeService = inject(DfThemeService);
faUpload = faUpload;
faDownload = faDownload;
exportTypes = EXPORT_TYPES;
@ViewChild(DfManageAdminsTableComponent)
manageAdminTableComponent: DfManageAdminsTableComponent;

isDarkMode = this.themeService.darkMode$;
uploadAdminList(event: Event) {
const input = event.target as HTMLInputElement;
if (input.files) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export class DfApiDocsTableComponent extends DfManageTableComponent<ApiDocsRowDa
}

override mapDataToTable(data: Service[]): ApiDocsRowData[] {
return data.map(val => {
const sortedData = data.sort((a, b) => a.id - b.id);
return sortedData.map(val => {
const type = this.getServiceType(val.type);
return {
name: val.name,
Expand Down
8 changes: 5 additions & 3 deletions src/app/adf-api-docs/df-api-docs/df-api-docs.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<div class="api-doc-button-container">
<button mat-raised-button (click)="goBackToList()">
<div
class="api-doc-button-container"
[class]="(isDarkMode | async) ? 'dark-theme' : ''">
<button class="cancel-btn" mat-raised-button (click)="goBackToList()">
{{ 'goBack' | transloco }}
</button>
<button mat-raised-button color="primary" (click)="downloadApiDoc()">
<button class="save-btn" mat-raised-button (click)="downloadApiDoc()">
{{ 'apiDocs.downloadApiDoc' | transloco }}
</button>
</div>
Expand Down
12 changes: 7 additions & 5 deletions src/app/adf-api-docs/df-api-docs/df-api-docs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ import { UntilDestroy } from '@ngneat/until-destroy';
import { DfUserDataService } from 'src/app/shared/services/df-user-data.service';
import { SESSION_TOKEN_HEADER } from 'src/app/shared/constants/http-headers';
import { mapCamelToSnake } from 'src/app/shared/utilities/case';
import { DfThemeService } from 'src/app/shared/services/df-theme.service';
import { AsyncPipe } from '@angular/common';

@UntilDestroy({ checkProperties: true })
@Component({
selector: 'df-api-docs',
templateUrl: './df-api-docs.component.html',
styleUrls: ['./df-api-docs.component.scss'],
standalone: true,
imports: [MatButtonModule, TranslocoModule],
imports: [MatButtonModule, TranslocoModule, AsyncPipe],
})
export class DfApiDocsComponent implements OnInit, AfterContentInit {
@ViewChild('apiDocumentation', { static: true }) apiDocElement:
Expand All @@ -33,17 +35,17 @@ export class DfApiDocsComponent implements OnInit, AfterContentInit {
constructor(
private activatedRoute: ActivatedRoute,
private router: Router,
private userDataService: DfUserDataService
private userDataService: DfUserDataService,
private themeService: DfThemeService
) {}

isDarkMode = this.themeService.darkMode$;
ngOnInit(): void {
this.activatedRoute.data.subscribe(({ data }) => {
if (data) {
this.apiDocJson = mapCamelToSnake(data);
this.apiDocJson = { ...data, paths: mapCamelToSnake(data.paths) };
}
});
}

ngAfterContentInit(): void {
const apiDocumentation = this.apiDocJson;
SwaggerUI({
Expand Down
Loading