-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAS-131283 / 25.04 / Provide single entry point for installing a cust…
…om app (#10758) * NAS-131283: Provide single entry point for installing a custom app * NAS-131283: Provide single entry point for installing a custom app
- Loading branch information
1 parent
1b88656
commit 43477fb
Showing
99 changed files
with
266 additions
and
26 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,5 +1,4 @@ | ||
export const officialCatalog = 'TRUENAS'; | ||
export const customApp = 'ix-chart'; | ||
export const customAppTrain = 'charts'; | ||
export const customApp = 'ix-app'; | ||
export const customAppTrain = 'stable'; | ||
export const appImagePlaceholder = 'assets/images/truenas_scale_ondark_favicon.png'; | ||
export const latestVersion = 'latest'; |
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
25 changes: 21 additions & 4 deletions
25
...p/pages/apps/components/available-apps/custom-app-button/custom-app-button.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 |
---|---|---|
@@ -1,16 +1,33 @@ | ||
<div | ||
class="custom-app-wrapper" | ||
[matTooltip]="'Setup Pool To Create Custom App' | translate" | ||
[matTooltipDisabled]="!(customAppDisabled$ | async)" | ||
> | ||
<a | ||
<button | ||
*ixRequiresRoles="requiredRoles" | ||
mat-button | ||
color="primary" | ||
ixTest="custom-app" | ||
[disabled]="customAppDisabled$ | async" | ||
[ixUiSearch]="searchableElements.elements.customApp" | ||
(click)="navigateToCustomAppCreation()" | ||
(click)="openAppWizardCreation()" | ||
>{{ 'Custom App' | translate }}</button> | ||
|
||
<button | ||
mat-icon-button | ||
ixTest="custom-app-menu" | ||
[matMenuTriggerFor]="customAppMenu" | ||
> | ||
{{ 'Custom App' | translate }} | ||
</a> | ||
<ix-icon name="more_vert"></ix-icon> | ||
</button> | ||
<mat-menu #customAppMenu="matMenu"> | ||
<button | ||
*ixRequiresRoles="requiredRoles" | ||
mat-menu-item | ||
ixTest="custom-app-yaml" | ||
[disabled]="customAppDisabled$ | async" | ||
[ixUiSearch]="searchableElements.elements.customAppYaml" | ||
(click)="openCustomAppYamlCreation()" | ||
>{{ 'Install via YAML' | translate}}</button> | ||
</mat-menu> | ||
</div> |
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,5 @@ | ||
.custom-app-wrapper { | ||
align-items: center; | ||
display: flex; | ||
gap: 8px; | ||
} |
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
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
Oops, something went wrong.