Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(REPORT): Bold reports V5.4 Release Changes #40

Merged
merged 6 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ The samples requires the below requirements to run.
* [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/)
* [.NET 6.0 SDK](https://dotnet.microsoft.com/download/dotnet-core)

To export the data visualization report items in report writer, run the below mentioned command. Without this, the data visualization report items no longer available in the report exported documents only for the report writer.

```cmd
npm install
```

## Using the Reporting Samples

* Open the solution file `ReportsCoreSamples.sln` in Visual Studio.
Expand Down
17 changes: 0 additions & 17 deletions Views/Shared/Preview/_index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,13 @@
}
}
</script>
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-K73VBT8');</script>
<!-- End Google Tag Manager -->
<link rel="shortcut icon" type="image/x-icon" href="~/favicon.ico" />

<link href="~/bundles/preview/app.min.css" rel="stylesheet" />

</head>
<body>
<div hidden id="reports-analytics" data-queue="Bold Reports - Demos - ASP.NET Core"></div>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K73VBT8"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
@RenderBody()
<div class="splash">
<div class="message">ASP.NET Core Reports</div>
Expand Down
17 changes: 0 additions & 17 deletions Views/Shared/_index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,11 @@
}
}
</script>
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-K73VBT8');</script>
<!-- End Google Tag Manager -->
<link href="~/bundles/main/app.min.css" rel="stylesheet" />

</head>
<body>
<div hidden id="reports-analytics" data-queue="Bold Reports - Demos - ASP.NET Core"></div>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K73VBT8"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
@RenderBody()
<div class="splash">
<div class="message">ASP.NET Core Reports</div>
Expand Down
20 changes: 20 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
var gulp = require("gulp");
const download = require("gulp-download");
const { createReadStream } = require('fs');
const { rm, mkdir } = require('shelljs');
const unzipper = require('unzipper');
const puppeteerPath = './wwwroot/scripts/puppeteer/Win-901912';

gulp.task('puppeteer-download', (done) => {
mkdir('-p', `${puppeteerPath}`);
download('https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/901912/chrome-win.zip')
.pipe(gulp.dest(`${puppeteerPath}`))
.on('end', () => {
createReadStream(`${puppeteerPath}/chrome-win.zip`)
.pipe(unzipper.Extract({ path: `${puppeteerPath}` }))
.on('close', () => {
rm('-rf', [`${puppeteerPath}/chrome-win.zip`]);
done();
});
})
});
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "aspnet-core-samples",
"version": "5.4.20",
"author": "Syncfusion",
"license": "Syncfusion",
"scripts": {
"postinstall": "gulp puppeteer-download"
},
"devDependencies": {
"gulp": "4.0.2"
},
"dependencies": {
"shelljs": "0.8.5",
"unzipper": "0.10.11",
"gulp-download": "0.0.1"
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.