Skip to content

Commit

Permalink
Assets refactor. Preview image for datapoints graph widget.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreSAG committed May 3, 2023
1 parent 2fdbd3f commit 15434a3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ As of now it only consists of two widgets, but further plugins will be added soo

A graph display of a collection of data points

![Data points graph screenshot](./assets/datapoints-graph-screenshot.png?raw=true "Data points graph screenshot")
![Data points graph screenshot](screenshots/datapoints-graph-screenshot.png?raw=true "Data points graph screenshot")

## `Example widget plugin`

A sample plugin for orientation purposes when developing your own plugin.

![Example widget plugin](./assets/example-widget-plugin-screenshot.png?raw=true "Data points graph screenshot")
![Example widget plugin](screenshots/example-widget-plugin-screenshot.png?raw=true "Data points graph screenshot")

## Contributing

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@
"to": "CHANGELOG.md"
},
{
"from": "assets",
"to": "assets"
"from": "screenshots",
"to": "screenshots"
},
{
"from": "c8y-widget-preview-img",
"to": "c8y-widget-preview-img"
}
]
},
Expand Down
File renamed without changes
1 change: 1 addition & 0 deletions src/datapoints-graph/datapoints-graph-widget.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ async function loadConfigComponent() {
),
loadComponent: loadViewComponent,
loadConfigComponent: loadConfigComponent,
previewImage: '/apps/sag-pkg-community-plugins/c8y-widget-preview-img/datapoints-graph-widget.png',
resolve: {
datapoints: DynamicDatapointsResolver,
},
Expand Down

0 comments on commit 15434a3

Please sign in to comment.