From 50f8a6cd3156ec1d55420799a91863a040e963da Mon Sep 17 00:00:00 2001 From: edeocarizanee Date: Sun, 28 Jan 2024 21:25:39 -0800 Subject: [PATCH] Fix npm error and address comments --- README.md | 94 ++++++++++++++++++++++++++--------------------- package-lock.json | 15 ++++++++ 2 files changed, 67 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 2cc3916..f81e71d 100755 --- a/README.md +++ b/README.md @@ -1,22 +1,68 @@ -# [Deprecated] Tableau _Viz_ LWC is being replaced by native Tableau LWC +# [Deprecated] Tableau _Viz_ LWC is being replaced by native Tableau _View_ LWC In the spirit of innovation, we're delighted to announce a major update to the Tableau LWC. With the recent Spring '24 release, we've unveiled a native version of the [Tableau _View_ LWC](https://help.tableau.com/current/online/en-us/lwc_seamless_auth.htm) to seamlessly integrate Tableau within the Salesforce ecosystem. The native Tableau _View_ LWC will replace the open-source Tableau _Viz_ LWC. -_What's New:_ +**What's New:** The native Tableau View LWC brings a host of exciting features and optimizations, promising a more intuitive and integrated experience. This strategic enhancement is designed to elevate your workflow and empower you to create even more powerful and impactful solutions. -_Migration to Native LWC:_ +**Migration to Native LWC:** To align with this exciting evolution, we've made the strategic decision to discontinue support for the open-source LWC version. As a result, we will no longer support the Tableau _Viz_ LWC. Over the coming weeks we will address and close open Issues. -_Next Steps:_ +**Next Steps:** -We encourage you to dive into the possibilities offered by the new native LWC. Should you encounter any challenges or if the issue persists, please feel free to file a bug report. We're committed to providing you with the support you need in this transformative phase. +- We encourage you to dive into the possibilities offered by the new native [Tableau _View_ LWC](https://help.tableau.com/current/online/en-us/lwc_seamless_auth.htm). +- Should you encounter any challenges or if the issue persists, please feel free to file a bug report. We're committed to providing you with the support you need in this transformative phase. Thank you for being part of this exciting chapter in Tableau's journey. -## Deprecated Project Information +## Release Notes + +### Project Archival + +January 29, 2024 + +- Deprecation of the Tableau Viz Lighting web component +- Please migrate to [Tableau _View_ LWC](https://help.tableau.com/current/online/en-us/lwc_seamless_auth.htm). + +### Version 1.3 + +
+February 9, 2023 +Updated the component to use the latest version of the Tableau JavaScript API. + +**Fixed in this release** + +- [Fixed] Error "[Cannot read properties of null (reading 'width')]" When Viewing Viz Embedded in Salesforce Using Lightning Web Component. There was a conflict with the Embedding JavaScript API used in the app that required an update. +
+ +### Version 1.2 + +
+October 17, 2020 + +**Using the Tableau Viz Lightning web component on Lighting communities** + +Salesforce Spring '21 is removing the **Allow Inline Scripts and Script Access to Any Third-party Host** Content Security Policy (CSP) setting for Lightning communities. For Winter `21, Salesforce recommends switching your community to a more secure option now. + +To support the increased level of security, version 1.2 of the Tableau Viz Lightning web component adds Tableau Public and Tableau Online as trusted web sites in the managed package. If you are using the Tableau Viz Lighting web component on Lighting community pages and want to embed Tableau views from Tableau Public and Tableau Online, the version 1.2 package handles the CSP change for you. However, if you want to add views from Tableau Server, you need to add the Tableau Server URL as a CSP Trusted Site. For information about how to add Tableau Server as a trusted site, see the Salesforce Help documentation, [Create CSP Trusted Sites to Access Third-Party APIs](https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/csp_trusted_sites.htm). + +**Fixed in this release** + +- [Fixed] When you opened a Salesforce page for editing that contains a Tableau view from Tableau Online on the page, the tabs and the toolbar are shown even if the **Show Toolbar** and **Show Tabs** options were not selected. +
+ +### Version 1.1 + +
+September 21, 2020 + +- Initial public release of the Tableau Viz Lighting web component. + +
+ +## Legacy Tableau Viz LWC Documentation
Archived README @@ -291,40 +337,4 @@ Welcome to the **#DataDev** Community! > For more information about fixing problems with deployment, see [Troubleshoot Salesforce DX](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_troubleshoot.htm) in the [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm). -## Release Notes - -### Version 1.3 - -_February 9, 2023_ - -Updated the component to use the latest version of the Tableau JavaScript API. - -**Fixed in this release** - -- [Fixed] Error "[Cannot read properties of null (reading 'width')]" When Viewing Viz Embedded in Salesforce Using Lightning Web Component. There was a conflict with the Embedding JavaScript API used in the app that required an update. - ---- - -### Version 1.2 - -_October 17, 2020_ - -**Using the Tableau Viz Lightning web component on Lighting communities** - -Salesforce Spring '21 is removing the **Allow Inline Scripts and Script Access to Any Third-party Host** Content Security Policy (CSP) setting for Lightning communities. For Winter `21, Salesforce recommends switching your community to a more secure option now. - -To support the increased level of security, version 1.2 of the Tableau Viz Lightning web component adds Tableau Public and Tableau Online as trusted web sites in the managed package. If you are using the Tableau Viz Lighting web component on Lighting community pages and want to embed Tableau views from Tableau Public and Tableau Online, the version 1.2 package handles the CSP change for you. However, if you want to add views from Tableau Server, you need to add the Tableau Server URL as a CSP Trusted Site. For information about how to add Tableau Server as a trusted site, see the Salesforce Help documentation, [Create CSP Trusted Sites to Access Third-Party APIs](https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/csp_trusted_sites.htm). - -**Fixed in this release** - -- [Fixed] When you opened a Salesforce page for editing that contains a Tableau view from Tableau Online on the page, the tabs and the toolbar are shown even if the **Show Toolbar** and **Show Tabs** options were not selected. - ---- - -### Version 1.1 - -_September 21, 2020_ - -- Initial public release of the Tableau Viz Lighting web component. -
diff --git a/package-lock.json b/package-lock.json index 5ce19c6..633826a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11227,6 +11227,21 @@ "is-typedarray": "^1.0.0" } }, + "node_modules/typescript": { + "version": "5.3.3", + "resolved": "https://nexus-proxy.repo.local.sfdc.net/nexus/content/groups/npm-all/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/unbox-primitive": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",