Skip to content

Commit 15df507

Browse files
Merge pull request #100 from 10gen/charts-saas
Merge Charts-SaaS into Master
1 parent 53501aa commit 15df507

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1326
-723
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ screenshots:
4848
#node build/docs-tools/tools/screenshot-tool/screenshots.js `pwd`/screenshot-scripts/user-management.js
4949
#node build/docs-tools/tools/screenshot-tool/screenshots.js `pwd`/screenshot-scripts/movie-tutorial.js
5050
#node build/docs-tools/tools/screenshot-tool/screenshots.js `pwd`/screenshot-scripts/data-sources.js `pwd`/screenshot-scripts/.properties.ini
51-
node build/screencapture-tool/screenshots.js `pwd`/screenshot-scripts/edit-chart-add-filter.js `pwd`/screenshot-scripts/.properties.ini
51+
node build/screencapture-tool/screenshots.js `pwd`/screenshot-scripts/data-table-dynamic.js `pwd`/screenshot-scripts/.properties.ini

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
'.. |charts| replace:: MongoDB Charts',
6161
'.. |charts-short| replace:: Charts',
6262
'.. |checkmark| unicode:: U+2713',
63-
'.. |tls-ssl| replace:: :abbr:`TLS (Transport Layer Security)`/:abbr:`SSL (Secure Sockets Layer)`'
63+
'.. |tls-ssl| replace:: :abbr:`TLS (Transport Layer Security)`/:abbr:`SSL (Secure Sockets Layer)`',
64+
'.. |service| replace:: Atlas'
6465
]
6566

6667
rst_epilog.extend(get_replacements(conf))

config/sphinx_local.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ theme:
2121
- /tutorial/order-data/order-data-tutorial-overview
2222
- /tutorial/movie-details/movie-details-tutorial-overview
2323
- /chart-types
24+
- /customize-charts
2425
sidebars:
2526
'**':
2627
- 'pagenav.html'
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
'use strict';
2+
3+
const screenshotNames = ['data-table-basic-example.png'];
4+
const screenshotDir = './screenshots-temp';
5+
const origImageDir = './source/images/charts';
6+
7+
exports.run = async function (options) {
8+
const nightmare = options.nightmare;
9+
const originalPath = `${origImageDir}/${screenshotNames[0]}`;
10+
const screenshotPath = `${screenshotDir}/${screenshotNames[0]}`;
11+
12+
await options.loginToCharts();
13+
await nightmare.wait(1000);
14+
await nightmare.goto('https://charts.mongodb.parts/dashboards/ee8f8a17-4d96-4cd8-8178-0d9bc1181513/charts/23e91471-eadd-4574-9bcf-a924a2b61c0c')
15+
await nightmare.wait('.ag-cell')
16+
await nightmare.wait(1500)
17+
await nightmare.screenshot(screenshotPath)
18+
await nightmare.wait(1000)
19+
await nightmare.end();
20+
21+
return [[originalPath, screenshotPath]];
22+
}
23+
24+
exports.nightmare_props = {
25+
show: true,
26+
typeInterval: 20,
27+
height: 1200,
28+
width: 1000,
29+
webPreferences: {
30+
zoomFactor: 0.8
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
'use strict';
2+
3+
const screenshotNames = ['data-table-dynamic-example.png'];
4+
const screenshotDir = './screenshots-temp';
5+
const origImageDir = './source/images/charts';
6+
7+
exports.run = async function (options) {
8+
const nightmare = options.nightmare;
9+
const originalPath = `${origImageDir}/${screenshotNames[0]}`;
10+
const screenshotPath = `${screenshotDir}/${screenshotNames[0]}`;
11+
12+
await options.loginToCharts();
13+
await nightmare.wait(1000);
14+
await nightmare.goto('https://charts.mongodb.parts/dashboards/ee8f8a17-4d96-4cd8-8178-0d9bc1181513/charts/b9f60d83-be4c-4df5-b5ef-506d1d35a952')
15+
await nightmare.wait('.ag-cell')
16+
await nightmare.wait(1500)
17+
await nightmare.screenshot(screenshotPath)
18+
await nightmare.wait(1000)
19+
await nightmare.end();
20+
21+
return [[originalPath, screenshotPath]];
22+
}
23+
24+
exports.nightmare_props = {
25+
show: true,
26+
typeInterval: 20,
27+
height: 1200,
28+
width: 1000,
29+
webPreferences: {
30+
zoomFactor: 0.8
31+
}
32+
}

source/administration.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

source/administration/backup-and-restore-keys.txt

Lines changed: 0 additions & 84 deletions
This file was deleted.

source/administration/configure-https-deployment.txt

Lines changed: 0 additions & 42 deletions
This file was deleted.

source/administration/configure-ssl-data-sources.txt

Lines changed: 0 additions & 52 deletions
This file was deleted.

source/administration/start-stop-charts.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)