Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #37 from jhegele/development
Browse files Browse the repository at this point in the history
Build 0.3.2
  • Loading branch information
jhegele authored Jul 23, 2020
2 parents 0e2f22f + d3f1678 commit cd31f21
Show file tree
Hide file tree
Showing 9 changed files with 115 additions and 94 deletions.
76 changes: 76 additions & 0 deletions app/static/bundle.1e2266d9bd64e94e7fc7.js

Large diffs are not rendered by default.

76 changes: 0 additions & 76 deletions app/static/bundle.9e3a2b734b2fa9d82844.js

This file was deleted.

2 changes: 1 addition & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Einstein Scenarios for Tableau</title></head><body><div id="root"></div><script src="../static/bundle.9e3a2b734b2fa9d82844.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Einstein Scenarios for Tableau</title></head><body><div id="root"></div><script src="../static/bundle.1e2266d9bd64e94e7fc7.js"></script></body></html>
30 changes: 21 additions & 9 deletions docs/change-log.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,46 @@
# Change Log

## v0.3.2

_Released on: 23 July 2020_

This is a minor release consisting of security fixes detailed below.

- Upgraded lodash dependency to latest version due to a security issue identified in the prior version. The impacted function in lodash was _not_ being used in this project.

## v0.3.1

_Released on: 16 June 2020_

This is a minor release consisting of critical bug fixes detailed below.

* Fixed a bug where a dashboard with no Tableau parameters would allow the user to enter the setup phase, authenticate to Salesforce and then show a blank screen.
- Fixed a bug where a dashboard with no Tableau parameters would allow the user to enter the setup phase, authenticate to Salesforce and then show a blank screen.

## v0.3.0

_Released on: 15 June 2020_

This is a major (beta) release consisting of the following new features, enhancements, and bug fixes:

* Added support for Einstein's next best actions via a new Action page
* Added preference configuration for the new Action page
* Added suggested mappings during setup process based on string similarity
* Reworked preferences controls to make them more concise and consistent
* Updated build process to provide greater automation
- Added support for Einstein's next best actions via a new Action page
- Added preference configuration for the new Action page
- Added suggested mappings during setup process based on string similarity
- Reworked preferences controls to make them more concise and consistent
- Updated build process to provide greater automation

## v0.2.4

_Released on: 03 June 2020_

This is a minor release consisting of critical bug fixes detailed below.

* Added error messaging when Einstein returns no predictive models. Previously the extension would just spin endlessly.
- Added error messaging when Einstein returns no predictive models. Previously the extension would just spin endlessly.

## v0.2.3

_Released on: 02 June 2020_

This is a minor release consisting of critical bug fixes detailed below.

* Fixed a bug where two people authenticating at the same time could cause a collision and one user would see the other's models
* Fixed a bug where a prediction with no explanatory data would still show the Explain option as a page
- Fixed a bug where two people authenticating at the same time could cause a collision and one user would see the other's models
- Fixed a bug where a prediction with no explanatory data would still show the Explain option as a page
6 changes: 5 additions & 1 deletion docs/help/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Tableau Extensions are really, really cool things that allow you to add super co

Extensions, in Tableau, are basically web applications that can run inside your dashboard and are granted certain special permissions to interact with the dashboard. This **does not** necessarily mean that an extension has access to everything in your dashboard (though it _could_ have that level of access). By default, extensions are granted access to the Summary Data in Tableau (if you are a Tableau Creator, open a dashboard, right click on a worksheet, and choose View Data -- there are two tabs at the bottom, Summary Data and Full Data, extensions have access to Summary Data _only_ by default).

## When I launch the authentication process, I'm forced to authenticate against a different Salesforce instance than the one I want to use with this extension. How do I choose the correct instance?

Basically, what's happening here is, when you go to the login page for Salesforce, it will look to see if you have an active Salesforce session and forward you to the login page related to that specific session. So, let's say I work for ACME Corp and have access to ACME's Salesforce instance. I also have my own Trailhead instance of Salesforce that I use as a personal sandbox. If I'm logged into ACME's instance, then start the authentication process from the extension, Salesforce will force me to authenticate against ACME's Salesforce instance. In order to use my Trailhead instance, I need to explicitly log out of ACME Corp's Salesforce instance and _then_ launch the authentication flow. That will allow me to use the generic authentication page and, ultimately, hook up to the correct instance of Salesforce.

## When I use this extension and go through the Salesforce authentication for the first time, it asks for a lot of permissions. Why?

Yeah, that will eventually change. Honestly, I did that just to make life easier for me as I'm developing this. I've open sourced all of the code to provide full transparency around what this extension does. So, I'm definitely _not_ looking to gather any data or anything like that. I just requested full permissions because it makes it easier to focus on UI and functionality issues rather than permissions issues. Once this is stable, I'll update to request the minimum necessary permissions.
Expand All @@ -48,4 +52,4 @@ Your best option is to [open an issue](https://github.com/jhegele/tab-einstein-s

## Your extension is so awesome that I got promoted, paid off my house and student loans, and a news crew is asking to interview me. How can I thank you?

Well, I'm honestly just elated to hear that things are going so well and I hope that continues for you!
Well, I'm honestly just elated to hear that things are going so well and I hope that continues for you!
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tab-ext-einstein-scenarios",
"version": "0.3.1",
"version": "0.3.2",
"description": "A Tableau extension that allows \"what if\" style scenario analysis powered by Einstein Discovery's predictive models.",
"main": "index.js",
"repository": "[email protected]:jhegele/tab-einstein-scenarios.git",
Expand Down
2 changes: 1 addition & 1 deletion trex/tableau-einstein-scenarios.dev.trex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest manifest-version="0.1" xmlns="http://www.tableau.com/xml/extension_manifest">
<dashboard-extension id="com.tableau.gsi.sfdc-einstein-opp-win-predict-demo" extension-version="0.3.1">
<dashboard-extension id="com.tableau.gsi.sfdc-einstein-opp-win-predict-demo" extension-version="0.3.2">
<default-locale>en_US</default-locale>
<name resource-id="name"/>
<description>Einstein Scenarios (Beta)</description>
Expand Down
2 changes: 1 addition & 1 deletion trex/tableau-einstein-scenarios.trex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest manifest-version="0.1" xmlns="http://www.tableau.com/xml/extension_manifest">
<dashboard-extension id="com.tableau.gsi.sfdc-einstein-opp-win-predict-demo" extension-version="0.3.1">
<dashboard-extension id="com.tableau.gsi.sfdc-einstein-opp-win-predict-demo" extension-version="0.3.2">
<default-locale>en_US</default-locale>
<name resource-id="name"/>
<description>Einstein Scenarios (Beta)</description>
Expand Down
13 changes: 9 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1066,9 +1066,9 @@
integrity sha512-Zst90IcBX5wnwSu7CAS0vvJkTjTELY4ssKbHiTnGcJgi170uiS8yQDdc3v6S77bRqYQIN1App5a1Pc2lceE5/g==

"@types/lodash@^4.14.152":
version "4.14.152"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.152.tgz#7e7679250adce14e749304cdb570969f77ec997c"
integrity sha512-Vwf9YF2x1GE3WNeUMjT5bTHa2DqgUo87ocdgTScupY2JclZ5Nn7W2RLM/N0+oreexUk8uaVugR81NnTY/jNNXg==
version "4.14.158"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.158.tgz#b38ea8b6fe799acd076d7a8d7ab71c26ef77f785"
integrity sha512-InCEXJNTv/59yO4VSfuvNrZHt7eeNtWQEgnieIA+mIC+MOWM9arOWG2eQ8Vhk6NbOre6/BidiXhkZYeDY9U35w==

"@types/minimatch@*":
version "3.0.3"
Expand Down Expand Up @@ -3812,11 +3812,16 @@ lodash-es@^4.2.1:
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.15.tgz#21bd96839354412f23d7a10340e5eac6ee455d78"
integrity sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ==

lodash@^4.0.1, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.2.1:
lodash@^4.0.1, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.2.1:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==

lodash@^4.17.15:
version "4.17.19"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==

loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
Expand Down

0 comments on commit cd31f21

Please sign in to comment.