Skip to content

Commit d600da8

Browse files
committed
update README, add license
Signed-off-by: Shan He <[email protected]>
1 parent 619a31f commit d600da8

Some content is hidden

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

43 files changed

+761
-32
lines changed

.github/bug_report.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[Bug]'
5+
labels: bug
6+
assignees: demartsc
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. Mac or Windows]
28+
- Platform: [Tableau Desktop or Server]
29+
- Tableau Version [e.g. 2019.1.2]
30+
31+
**Additional context**
32+
Add any other context about the problem here.

.github/feature_request.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for kepler.gl
4+
title: ''
5+
labels: ''
6+
assignees: heshan0131
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

README.md

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,46 @@
11
# Kepler.gl Tableau
22

33
## Introduction
4-
This is the kepler.gl tableau extension. It will load a kepler.gl map visualization inside your Tableau Desktop App.
54

6-
## Links
7-
- [kepler.gl](http://kepler.gl)
8-
- [Tableau Extensions API](https://tableau.github.io/extensions-api/#)
5+
![kepler.gl for Tableau](./docs/kepler.gl-tableau.gif)
96

10-
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
7+
This is the kepler.gl tableau extension. It will load a kepler.gl map visualization inside your Tableau Desktop App. You can use the same UI as in the kepler.lg demo app to interact with your map. The map can also be set up to communicate with your other Tableau charts.
8+
9+
Due to the required WebGL support. This extension is supported on **Tableau Desktop (Mac Only) 2018.3** or **>= 2019.1.2** and **Tableau Server**.
10+
11+
## Env Requirements
12+
Tableau Desktop (Mac Only) 2018.3 or >= 2019.1.2 and Tableau Server
13+
14+
## Quick Start
15+
#### Step 1: Locate kepler.gl on the extension Gallery
16+
17+
#### Step 2: Click ‘Allow’ to permit the extension to run.
18+
19+
![Tableau Dashboard 3](./docs/Picture3.png)
20+
21+
#### Step 3: Custom configurations
22+
Select sheet to plot, setup your own mapbox access token (optional) and how to do you want Tableau dashboard to communicate with your kepler.gl map. **kepler.gl is a client-side app. Your data stays in your Tableau application.**
1123

12-
## Local Development
13-
Install [node](https://nodejs.org/en/download/package-manager/) (`> 6`), [yarn](https://yarnpkg.com/en/docs/install).
24+
![Tableau Dashboard 4](./docs/Picture4.png)
1425

15-
Use Node v6 and above, older node versions have not been tested.
16-
For best management of Node versions, use [nvm](https://github.com/creationix/nvm) `nvm install`.
26+
#### Step 4: Interact with your map in kepler.gl.
27+
28+
![Tableau Dashboard 5](./docs/Picture5.gif)
29+
30+
#### Step 5: Save and reload
31+
No action is needed to save your map. kepler.gl will automatically save it to your Tableau session.
32+
33+
#### Step 6: Submit Feedback and Help us Test!
34+
35+
## Local Development Setup
36+
For a development installation (requires npm, node and yarn):
37+
38+
Install [node](https://nodejs.org/en/download/package-manager/) (`> 8.15.0`), [yarn](https://yarnpkg.com/en/docs/install). For best management of Node versions, use [nvm](https://github.com/creationix/nvm)
39+
then simply run `nvm use 8`.
40+
41+
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
1742

18-
### Start Node app
43+
### Start local app
1944
##### 1. Clone repo
2045
```sh
2146
git clone [email protected]:uber/kepler.gl-tableau.git
@@ -52,7 +77,7 @@ A debug session will be available in browser http://localhost:8696
5277

5378
- Drag the extension onto view and select the trex file from your my tableau repository\extensions folder.
5479

55-
- More information on Tableau Extension API about [Get Started with Dashboard Extensions
80+
- More information on [Tableau Extensions API](https://tableau.github.io/extensions-api/#) about [Get Started with Dashboard Extensions
5681
](https://tableau.github.io/extensions-api/docs/trex_getstarted.html)
5782

5883
### Deploy

docs/Picture5.gif

391 KB
Loading

docs/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ Tableau Desktop (Mac Only) 2018.3 or >= 2019.1.2 and Tableau Server
1616

1717
#### Step 3: Custom configurations
1818

19-
The configuration capabilities of the extension will change over time, however, you will be able to set multiple configurations on your way into [kepler.gl](https://kepler.gl/) within Tableau. Each of these options also has a help description in the ? attached to each title. This content should explain what the purpose of the configuration is. If this is unclear to you during your use it would be great for us to know that we need to provide more guidance in this configuration screen.
19+
The configuration capabilities of the extension will change over time, however, you will be able to set multiple configurations on your way into [kepler.gl](https://kepler.gl/) within Tableau. Each of these options also has a help description in the `?` attached to each title. This content should explain what the purpose of the configuration is. If this is unclear to you during your use it would be great for us to know that we need to provide more guidance in this configuration screen.
2020

2121
![Tableau Dashboard 4](Picture4.png)
2222

2323
#### Step 4: Using [kepler.gl](https://kepler.gl/) within Tableau
2424

25-
At this point you can use [kepler.gl](https://kepler.gl/) as you normally would. If you need additional detail on how to use [kepler.gl](https://kepler.gl/) to begin with, please visit the kepler.gl demo and guidance documentation at https://kepler.gl/.
25+
At this point you can use [kepler.gl](https://kepler.gl/) as you normally would. If you need additional detail on how to use [kepler.gl](https://kepler.gl/) to begin with, please visit the kepler.gl demo and guidance documentation at https://kepler.gl/.
2626

27+
#### Step 5: Save and reload
28+
No action is needed to save your map. kepler.gl will automatically save it to your Tableau session.
2729

28-
#### Step 5: Submit Feedback and Help us Test!
30+
#### Step 6: Submit Feedback and Help us Test!
2931

3032
For feedback/ feature requests, please let us know through the [kepler.gl Slack Channel](https://github.com/keplergl/kepler.gl/issues/643). We also encourage you to share your maps here to the rest of the map enthusiasts in the room too.
3133

docs/kepler.gl-tableau.gif

1.24 MB
Loading

package.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
11
{
22
"name": "kepler.gl-tableau",
3+
"authors": [
4+
"Chris DeMartini <[email protected]>",
5+
"Shan He <[email protected]>"
6+
],
37
"version": "0.1.0",
4-
"homepage": "https://uber.github.io/kepler.gl-tableau",
5-
"private": true,
8+
"description": "kepler.gl is a webgl based application to visualize large scale location data in the browser",
9+
"homepage": "https://github.com/keplergl/kepler.gl-tableau",
10+
"license": "MIT",
11+
"main": "dist/index.js",
12+
"engines": {
13+
"node": ">=8.15.0",
14+
"npm": ">=6.1.0",
15+
"yarn": ">=1.6.0"
16+
},
17+
"keywords": [
18+
"babel",
19+
"es6",
20+
"react",
21+
"webgl",
22+
"visualization",
23+
"kepler.gl"
24+
],
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/keplergl/kepler.gl-tableau"
28+
},
629
"dependencies": {
730
"@atlaskit/css-reset": "^3.0.2",
831
"@material-ui/core": "^1.0.0",
@@ -33,13 +56,14 @@
3356
"eslint-config-uber-jsx": "^3.3.3",
3457
"eslint-plugin-babel": "^5.3.0",
3558
"eslint-plugin-prettier": "^3.0.1",
36-
"eslint-plugin-react": "~7.12.4"
59+
"eslint-plugin-react": "~7.12.4",
60+
"uber-licence": "^3.1.1"
3761
},
3862
"scripts": {
3963
"predeploy": "npm run build",
4064
"deploy": "gh-pages -d build",
4165
"start": "react-scripts start",
42-
"build": "react-scripts build",
66+
"build": "uber-licence && react-scripts build",
4367
"test": "react-scripts test --env=jsdom",
4468
"eject": "react-scripts eject"
4569
},

src/App.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
// Copyright (c) 2019 Uber Technologies, Inc.
2+
//
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
//
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
//
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
121
/* eslint-disable complexity */
222
import React, {Component} from 'react';
323
import {connect} from 'react-redux';

src/AppWrapper.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
// Copyright (c) 2019 Uber Technologies, Inc.
2+
//
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
//
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
//
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
121
import React, {Component} from 'react';
222
import App from './App';
323
import parse from 'url-parse';

src/TableauSettings.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
// Copyright (c) 2019 Uber Technologies, Inc.
2+
//
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
//
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
//
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
121
const tableauExt = window.tableau.extensions;
222

323
let EnvName = "DEFAULT";

0 commit comments

Comments
 (0)