Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

2.2.0 Release #102

Merged
merged 161 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
c959a0f
Non-working- upgraded with 1013
DarpanLalani May 2, 2022
d67f171
initial commit
DarpanLalani Aug 23, 2022
287d3f3
initial commit 2
DarpanLalani Aug 23, 2022
d520542
Merge remote-tracking branch 'origin/dev' into 1.4.0-dev-1
DarpanLalani Aug 23, 2022
c8947cf
updated version and image fix
DarpanLalani Aug 23, 2022
86c6f5e
optimized AppService calls
DarpanLalani Aug 29, 2022
8a52afc
updated with 1015
DarpanLalani Sep 5, 2022
1453de0
updated with plugin support in widget catalog
DarpanLalani Sep 5, 2022
52983fa
Added validation for simulators
SheethalJR Sep 8, 2022
4a2b1b2
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Sep 8, 2022
3c6af3a
widget catalog upgraded to support plugins
DarpanLalani Sep 8, 2022
3f74007
reverted code in simulator manager service
DarpanLalani Sep 8, 2022
5e292cc
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
DarpanLalani Sep 8, 2022
59c8b28
ngx-echart added as part of app builder core build
DarpanLalani Sep 12, 2022
ce4b62c
Added plugin specific code changes in widget details component
SheethalJR Sep 13, 2022
6af0b02
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Sep 13, 2022
9895d84
plugin verfication feature implemented
DarpanLalani Sep 14, 2022
d059198
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
DarpanLalani Sep 14, 2022
1b49aaf
Added progress indicator while installing,updating and deleting plugins
SheethalJR Sep 14, 2022
1e48f20
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Sep 14, 2022
fcfb965
updated plugin verification logic
DarpanLalani Sep 14, 2022
fc39502
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
DarpanLalani Sep 14, 2022
ac69b2e
Hide progress modal after uninstall
SheethalJR Sep 14, 2022
5b74b98
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Sep 14, 2022
17cca46
upgraded timeout
DarpanLalani Sep 14, 2022
a70faf6
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
DarpanLalani Sep 14, 2022
5778164
updated delaytimeout
DarpanLalani Sep 14, 2022
d391a39
removed echart widget module
DarpanLalani Sep 14, 2022
1517218
CSS Changes in widget catalog
SheethalJR Sep 14, 2022
e7cd04e
Merge branch '1.4.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Sep 14, 2022
c321a2b
Added pluginType entry in grid and list view, fixed simulator issue
SheethalJR Sep 19, 2022
501d70d
Dashboard Catalog Changes to Support Plugins
SheethalJR Sep 20, 2022
c856a4d
Code changes w.r.t Plugin Install/Uninstall/Update
SheethalJR Sep 26, 2022
6de6f0a
Lock Dashboard, Search Dashboard and Branding Issue related code changes
SheethalJR Oct 6, 2022
9d82b7b
updated for seamless upgrade from 1.3.x to 1.4.x
DarpanLalani Oct 10, 2022
7b56c72
Merge branch 'dev' of https://github.com/SoftwareAG/cumulocity-app-bu…
DarpanLalani Oct 10, 2022
ac526ab
updated package.json
DarpanLalani Oct 10, 2022
746d512
updated with dev branch and verify widget update for seamless upgrade…
DarpanLalani Oct 10, 2022
7e86197
Search Dashboard With Reordering Issue Fixed
SheethalJR Oct 11, 2022
4d5bc94
Merge branch 'dev' of https://github.com/SoftwareAG/cumulocity-app-bu…
SheethalJR Oct 11, 2022
11aff58
Branding issue fixed
SheethalJR Oct 11, 2022
17dae50
Lock Dashboard code issue fix
SheethalJR Oct 11, 2022
7438d9a
Lock Unlock icon css, branding issue fix when primary color is white
SheethalJR Oct 11, 2022
63e1bf6
Drag and drop issue fixed
SheethalJR Oct 12, 2022
8215d4c
Drag and Drop issue fix on search
SheethalJR Oct 17, 2022
ebdec4b
plugin installation
DarpanLalani Oct 18, 2022
3c4f030
search dashboard issue fix and simulator code change to add required …
SheethalJR Oct 18, 2022
9cd6328
Branding issue w.r.t pagination
SheethalJR Oct 18, 2022
014c35f
added overall progress bar and changed widget catalog to plugin catalog
DarpanLalani Oct 19, 2022
8200feb
updated with upgrade changes
DarpanLalani Oct 20, 2022
fb2ca6f
updated with plugin message
DarpanLalani Oct 21, 2022
7787e8e
added context-path condition to restict app builder upgrade notification
DarpanLalani Oct 21, 2022
0130409
dashboard catalog changes
SheethalJR Oct 21, 2022
b62816f
Merge branch 'dev' of https://github.com/SoftwareAG/cumulocity-app-bu…
SheethalJR Oct 21, 2022
ab5482e
initial commit with version upgrade
DarpanLalani Dec 5, 2022
5f29ff7
1.3.2 dev (#76)
SheethalJR Dec 7, 2022
b3ef53d
updated with new plugin service api integration
DarpanLalani Dec 8, 2022
629ae6c
updated readme for 1.3.2 release
DarpanLalani Dec 8, 2022
e02fda5
updated readme
DarpanLalani Dec 8, 2022
323d7a2
1.3.2 dev (#77)
SheethalJR Dec 8, 2022
cc33f9b
updated readme
DarpanLalani Dec 9, 2022
06ef13d
1.3.2 dev (#78)
SheethalJR Dec 9, 2022
0310be2
updated version
DarpanLalani Dec 13, 2022
8be5d7a
updated for dev testing
DarpanLalani Dec 13, 2022
f9ca6bd
Merge remote-tracking branch 'origin/dev' into 2.0.0-dev-1
DarpanLalani Dec 14, 2022
1cd194b
update with remove unused binary and upgrade service merge fixed
DarpanLalani Dec 14, 2022
d298dd7
Fixed issues
SheethalJR Dec 30, 2022
5b860f6
added code for c8y1015 compatibility
DarpanLalani Jan 10, 2023
da9f946
Reverted catalog name to widget catalog
DarpanLalani Jan 10, 2023
ed72ff3
external asset service updated
DarpanLalani Jan 11, 2023
dca9a71
updated error handling in template catalog json
DarpanLalani Jan 12, 2023
7d79a7e
code updated for preprod branch
DarpanLalani Jan 13, 2023
b75b87e
Dynamic select of dev/preprod branch, css fix in widget catalog and e…
SheethalJR Jan 17, 2023
a522473
Upgraded c8y to 1016.0.93
SheethalJR Jan 24, 2023
a25fa3d
updated by removing basic auth in simulator
DarpanLalani Jan 24, 2023
f612787
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
DarpanLalani Jan 24, 2023
6738700
Fixed undefined error in Applications page
SheethalJR Jan 27, 2023
0aaeb09
updated with subscribe tenant fix. error handling incase of widget is…
DarpanLalani Feb 1, 2023
8b6bd64
updated message for subscribed app builder
DarpanLalani Feb 2, 2023
ae2756d
updated to 1016.0.109
DarpanLalani Feb 6, 2023
2eb291d
updated with selectable dashboard path
DarpanLalani Feb 8, 2023
743461f
url modified for template details
DarpanLalani Feb 8, 2023
6ec6117
added support for assets in dashboard catalog
DarpanLalani Feb 9, 2023
5d20a19
updated error handling in verify plugin
DarpanLalani Feb 9, 2023
ca127b7
Added Under Maintenance Code
SheethalJR Feb 9, 2023
0ba0d88
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Feb 9, 2023
2bf277a
Updated under maintenance check
SheethalJR Feb 9, 2023
c2e6a5e
Merge branch 'master' into dev
DarpanLalani Feb 15, 2023
a8c1ea0
1.3.3 dev (#81)
SheethalJR Feb 16, 2023
a4a1dc8
change label
DarpanLalani Feb 20, 2023
1439cb6
demo catalog multiple version support added
DarpanLalani Feb 21, 2023
139d17e
added support for multiple demo catalog version
DarpanLalani Feb 21, 2023
59ea15c
added iscompatible check
SheethalJR Feb 21, 2023
9e9bd5e
Custom Branding and Branding Issue Code Changes
SheethalJR Feb 22, 2023
dbf3cf4
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Feb 22, 2023
c8e5835
Changes in app list component
SheethalJR Feb 23, 2023
570f6ae
Fixed issue in verify widget compatibility method
SheethalJR Feb 23, 2023
2576dc7
Custom Branding issue fixed
SheethalJR Feb 24, 2023
add6dcc
Fixed Custom Branding Issue
SheethalJR Feb 24, 2023
94d2cdc
Updated condition in findInstalledWidget method
SheethalJR Mar 2, 2023
b5a5342
RC flag removed
DarpanLalani Mar 6, 2023
7d44b30
updated readme
DarpanLalani Mar 6, 2023
51c4631
Updated readme for 1.3.3 release
DarpanLalani Mar 6, 2023
6705378
update implementation to get list of packages
DarpanLalani Mar 7, 2023
1db3a9d
Custom Branding Code Changes and fixed other issues
SheethalJR Mar 7, 2023
8bdcfcf
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Mar 7, 2023
4ded912
Code Changes w.r.t direct install of app builder from administration
SheethalJR Mar 14, 2023
f844993
Merge branch 'master' into dev
DarpanLalani Mar 20, 2023
55ff160
Bug fix for app with context path (#83)
DarpanLalani Mar 23, 2023
415549b
bug fix for app with context path
DarpanLalani Mar 23, 2023
2ef5d20
Changes while uninstalling widgets
SheethalJR Mar 23, 2023
4dd2223
Branding Issue fixed
SheethalJR Mar 24, 2023
becaae4
App Builder Home page changes
SheethalJR Mar 24, 2023
4a81641
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Mar 24, 2023
073edeb
Added await and changes while installing plugins
SheethalJR Mar 24, 2023
a493223
Changes in direct install of app builder
SheethalJR Mar 27, 2023
c5d502e
Changes in direct install method
SheethalJR Mar 28, 2023
238026d
added exception handling
DarpanLalani Mar 28, 2023
96fd7b4
added changes for clone app logic
DarpanLalani Mar 28, 2023
0485fb4
Changes in app builder direct install
SheethalJR Mar 28, 2023
ea4cd19
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Mar 28, 2023
9650b20
Default view changed to list view for dashboards
SheethalJR Mar 29, 2023
ff501a4
css issue fixed in list view
SheethalJR Mar 29, 2023
6b67bb4
Improved simulator locking behaviour.
DarpanLalani Mar 29, 2023
c93e109
White line branding issue and App builder direct install code fix
SheethalJR Mar 30, 2023
83c5a46
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Mar 30, 2023
f141386
updated messaging text
DarpanLalani Mar 30, 2023
131171f
Changes w.r.t app builder external assets
SheethalJR Mar 31, 2023
549beea
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Mar 31, 2023
4e806ff
removed duplicate code
DarpanLalani Mar 31, 2023
2bf16a3
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
DarpanLalani Mar 31, 2023
5304d9d
Branding Issue and Dashboard Config issue fixed
SheethalJR Apr 3, 2023
0e8bfb4
Merge branch '2.0.0-dev-1' of https://github.com/SoftwareAG/cumulocit…
SheethalJR Apr 3, 2023
2ac3752
Dashboard General Code Changes
SheethalJR Apr 4, 2023
8638753
fix dashboard config issue
DarpanLalani Apr 5, 2023
bbbf693
RC tag removed
DarpanLalani Apr 6, 2023
06d58ac
Merge branch 'master' into dev
DarpanLalani Apr 6, 2023
09a812a
Merge remote-tracking branch 'origin/2.0.0-dev-1' into dev
DarpanLalani Apr 7, 2023
b0c4d10
updated based on latest changes in 2.0
DarpanLalani Apr 7, 2023
ec97b35
updated with label changed
DarpanLalani Apr 10, 2023
11dbb41
2.0.0 dev 1 (#87)
SheethalJR Apr 14, 2023
b0bb3cd
2.0.0 dev 1 (#88)
SheethalJR Apr 17, 2023
6c33eea
update packages
DarpanLalani Apr 20, 2023
0b865fc
2.0.0 dev 1 (#89)
DarpanLalani Apr 20, 2023
df97a3a
Updated Readme
DarpanLalani Apr 21, 2023
9ab81e0
Updated readme
DarpanLalani Apr 21, 2023
9925143
Updated with video link
DarpanLalani Apr 27, 2023
cf8f46f
2.1.0 dev merge (#98)
DarpanLalani Nov 21, 2023
aadbe2c
Merge branch 'master' into dev
DarpanLalani Nov 22, 2023
f1c53d3
updated image and css
DarpanLalani Nov 22, 2023
fa9dfe9
updated version
DarpanLalani Nov 22, 2023
10b0274
Device availability issue fixed for browser based simulator
DarpanLalani Nov 27, 2023
ede6685
updated headers for simulator
DarpanLalani Nov 27, 2023
ab99029
Merge remote-tracking branch 'origin/master' into dev
DarpanLalani May 9, 2024
956d3ae
updated endpoint urls
DarpanLalani Jun 7, 2024
c428149
updated readme
DarpanLalani Jun 10, 2024
4036274
Migration to Blueprint Forge functionality added
DarpanLalani Jul 9, 2024
392dad6
updated readme
DarpanLalani Jul 15, 2024
7af12cb
Update README.md
DarpanLalani Jul 15, 2024
e85277f
Update README.md
DarpanLalani Jul 15, 2024
ed7ea5e
Updated package json
DarpanLalani Jul 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
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ Application Builder is an open-source tool for you to create web applications 

![](https://user-images.githubusercontent.com/38696279/72333172-47cec300-36b3-11ea-9abf-1bb29b490a22.png)

## What's new?
## What's new ?
* **Deploy with Blueprint Forge:** Users can now clone Application Builder apps and deploy it to Blueprint Forge apps.
![image](https://github.com/user-attachments/assets/a18fad95-93ce-4578-a10a-abedcf9decf9)
* **Widget Catalog:** The Widget catalog has been removed. You manage your widgets/plugins from Administration -> Ecosystem -> Extensions.

## 2.1.0

* **New default branding:** Introducing our new default branding, Inspired by Delite 2.0 – Software AG's in-house design system.
* **Enhanced group template dashboard:** Give an identical dashboard to every device/asset based on its type.
Expand All @@ -26,7 +31,6 @@ Application Builder is an open-source tool for you to create web applications 
* **Home Page:** User can find quick start videos, help and support information on home page.
* **Tabs:** Group your dashboards into tabs.
* **Dashboard Catalog:** User can select any pre-designed template for dashboard and ability to install dependent runtime widgets.
* **Widget Catalog:** Now user has ability to install/update widgets directly from Widget Catalog. This is single place where user can also find widget details such as documentation, preview, license and author details.
* **Branding:** Now user can use color picker to choose millions of colors to customize branding. Header, Action bar and tab bar are also customizable.
* **Theme:** Application builder now support one clicks theme selection and custom theme creation.
* **Server-Side Simulators:** Application Builder now supports Server-side simulators. User just need to install micro-service from [here](https://github.com/SoftwareAG/cumulocity-app-builder/releases/download/v1.3.1/simulator-app-builder.zip) and you will get option while creating simulator to "Run on Server".
Expand Down
3 changes: 2 additions & 1 deletion builder/app-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import {from, Observable} from "rxjs";
import {BehaviorSubject, from, Observable} from "rxjs";
import {Injectable} from "@angular/core";
import { ApplicationService, IApplication } from "@c8y/client";

Expand All @@ -29,6 +29,7 @@ export class AppDataService {
private appId: string | number = '';
private lastUpdated = 0;
forceUpdate = false;
refreshAppForDashboard = new BehaviorSubject<void>(undefined);
constructor(private appService: ApplicationService) {
}

Expand Down
15 changes: 14 additions & 1 deletion builder/app-list/app-list.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,28 @@ <h3>No application to list.</h3>
<i c8yIcon="times" ></i> <span> Remove</span>
</button>
</li>
<li role="menuitem" *ngIf="!isBlueprintApp(app)">
<button type="button" id="{{app.name}}-deployBlueprintForge" title="Deploy with Blueprint Forge" (click)="deployWithBlueprintForge(app)">
<i c8yIcon="deploy" ></i> <span> Deploy with Blueprint Forge</span>
</button>
</li>
</ul>
</div>
</div>
<div class="card-block text-center" style="margin-bottom: 5px;">
<h1 style="margin: 15px 0 10px; font-size: 42px;"><c8y-app-icon [app]="app"></c8y-app-icon></h1>
<p style="word-wrap: break-word;" class="e2e-appCardName">{{app.name}}</p>
</div>
<div class="card-block text-center">
<button *ngIf="!isBlueprintApp(app)" placement="top" class="btn-clean" title="Application Builder App">
<span class="label label-info"> Application Builder app </span>
</button>
<button *ngIf="isBlueprintApp(app)" placement="top" class="btn-clean" title="Blueprint Forge App">
<span class="label label-success"> Blueprint Forge App </span>
</button>
</div>
<div class="card-actions-group">
<a class="clickable" id="OpenApp-{{app.name}}">
<a class="clickable" id="OpenApp-{{app.name}}" >
<i c8yIcon="external-link"></i> Open
</a>
</div>
Expand Down
18 changes: 16 additions & 2 deletions builder/app-list/app-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { NewApplicationModalComponent } from "./new-application-modal.component"
import { Router } from "@angular/router";
import { contextPathFromURL } from "../utils/contextPathFromURL";
import { AppListService } from "./app-list.service";
import { NewBlueprintForgeModalComponent } from "./new-blueprint-forge-app-modal.component";

@Component({
templateUrl: './app-list.component.html'
Expand Down Expand Up @@ -106,6 +107,13 @@ export class AppListComponent {
});
}

deployWithBlueprintForge(app: IApplication) {
this.bsModalRef = this.modalService.show(NewBlueprintForgeModalComponent, {
class: 'c8y-wizard', initialState:
{ application: app, allApplications: this.allApplications }
});
}

async deleteApplication(id: number) {
await this.appService.delete(id);

Expand All @@ -121,7 +129,13 @@ export class AppListComponent {
this.router.navigateByUrl(`/application/${app.id}${subPath || ''}`);
}
}
exportApp(app: IApplication) {

isBlueprintApp(app: IApplication) {
return (app && app.manifest?.package === 'blueprint');
}

// TODO: not used. Alternative available in migration tool
/* exportApp(app: IApplication) {
const filename = app.name + '.json';
const jsonStr = JSON.stringify(app.applicationBuilder);
let element = document.createElement('a');
Expand All @@ -131,5 +145,5 @@ export class AppListComponent {
document.body.appendChild(element);
element.click();
document.body.removeChild(element);
}
} */
}
7 changes: 5 additions & 2 deletions builder/app-list/app-list.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {IconSelectorModule} from "../../icon-selector/icon-selector.module";
import {ApplicationService, IApplication, UserService} from "@c8y/client";
import { filter, first } from "rxjs/operators";
import {contextPathFromURL} from "../utils/contextPathFromURL";
import { NewBlueprintForgeModalComponent } from "./new-blueprint-forge-app-modal.component";

/**
* Some app-builder applications hide the ability to create new applications, they do this by having a default application that is redirected to if the user tries to access the '/' path.
Expand Down Expand Up @@ -80,10 +81,12 @@ export class RedirectToDefaultApplicationOrBuilder implements CanActivate {
],
declarations: [
AppListComponent,
NewApplicationModalComponent
NewApplicationModalComponent,
NewBlueprintForgeModalComponent
],
entryComponents: [
NewApplicationModalComponent
NewApplicationModalComponent,
NewBlueprintForgeModalComponent
],
providers: [
{ provide: HOOK_NAVIGATOR_NODES, useClass: AppListNavigation, multi: true}
Expand Down
7 changes: 4 additions & 3 deletions builder/app-list/app-list.navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,15 @@ export class AppListNavigation implements NavigatorNodeFactory {
path: `/settings-properties`,
priority: 0
}));
const widgetCatalogNode = new NavigatorNode({
// TODO: remove widget catalog
/* const widgetCatalogNode = new NavigatorNode({
label: 'Widget Catalog',
icon: 'registry-editor',
path: `/widget-catalog/my-widgets`,
priority: 2
});
}); */
if (this.userService.hasAllRoles(this.appStateService.currentUser.value, ["ROLE_INVENTORY_ADMIN","ROLE_APPLICATION_MANAGEMENT_ADMIN"])) {
appNode.push(widgetCatalogNode);
// appNode.push(widgetCatalogNode);
appNode.push(settingsNode);
}
return appNode;
Expand Down
Loading
Loading