From ab6b660d8964a34fac711555c8dbc8b8e81ad241 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 9 Nov 2023 09:48:24 +0100 Subject: [PATCH 01/29] 1.20.1 (#213) Bugfix #211 --- CHANGES.md | 4 ++++ addon/manifest.json | 2 +- addon/popup.js | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f9d7660e..09ec914d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Release Notes +## Version 1.20.1 + +- Bugfix User selection not displaying information (for orgs without community enabled) [issue 211](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/211) + ## Version 1.20 - Move popup arrow icon in Flow Builder because of Winter 24 UI changes [feature 200](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/200) diff --git a/addon/manifest.json b/addon/manifest.json index 1737080c..dd895a25 100644 --- a/addon/manifest.json +++ b/addon/manifest.json @@ -1,7 +1,7 @@ { "name": "Salesforce Inspector reloaded", "description": "Productivity tools for Salesforce administrators and developers to inspect data and metadata directly from the Salesforce UI.", - "version": "1.20", + "version": "1.20.1", "icons": { "128": "icon128.png" }, diff --git a/addon/popup.js b/addon/popup.js index 535ffead..17e8f3c3 100644 --- a/addon/popup.js +++ b/addon/popup.js @@ -552,7 +552,9 @@ class AllDataBoxUsers extends React.PureComponent { } //Optimistically attempt broad query (fullQuery) and fall back to minimalQuery to ensure some data is returned in most cases (e.g. profile cannot be queried by community users) const fullQuerySelect = "SELECT Id, Name, Email, Username, UserRole.Name, Alias, LocaleSidKey, LanguageLocaleKey, IsActive, FederationIdentifier, ProfileId, Profile.Name, ContactId, IsPortalEnabled"; - const minimalQuerySelect = "SELECT Id, Name, Email, Username, UserRole.Name, Alias, LocaleSidKey, LanguageLocaleKey, IsActive, FederationIdentifier, ContactId, IsPortalEnabled"; + //TODO implement a try catch to remove non existing fields ProfileId or IsPortalEnabled (experience is not enabled) + const mediumQuerySelect = "SELECT Id, Name, Email, Username, UserRole.Name, Alias, LocaleSidKey, LanguageLocaleKey, IsActive, FederationIdentifier, ProfileId, Profile.Name, ContactId"; + const minimalQuerySelect = "SELECT Id, Name, Email, Username, UserRole.Name, Alias, LocaleSidKey, LanguageLocaleKey, IsActive, FederationIdentifier, ContactId"; const queryFrom = "FROM User WHERE Id='" + selectedUserId + "' LIMIT 1"; const compositeQuery = { "compositeRequest": [ @@ -560,6 +562,10 @@ class AllDataBoxUsers extends React.PureComponent { "method": "GET", "url": "/services/data/v" + apiVersion + "/query/?q=" + encodeURIComponent(fullQuerySelect + " " + queryFrom), "referenceId": "fullData" + }, { + "method": "GET", + "url": "/services/data/v" + apiVersion + "/query/?q=" + encodeURIComponent(mediumQuerySelect + " " + queryFrom), + "referenceId": "mediumData" }, { "method": "GET", "url": "/services/data/v" + apiVersion + "/query/?q=" + encodeURIComponent(minimalQuerySelect + " " + queryFrom), From fe70967e0373ffad26f71cb48a4c2f7778046700 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:42:57 +0100 Subject: [PATCH 02/29] Create troubleshooting.md --- docs/troubleshooting.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/troubleshooting.md diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md new file mode 100644 index 00000000..d0bfee49 --- /dev/null +++ b/docs/troubleshooting.md @@ -0,0 +1,17 @@ +# Troubleshooting + +## Common issues that may occurs + +### Blank popup + +You've just installed Salesforce Inspector Reloaded and ... the popup is blank 😥 +Make sure that third party cookies are enabled in your browser: + +![image](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/503852db-37fd-48fb-9a83-f3008a1be9f1) + +### Salesforce Inspector Reloaded is not working anymore +One of the cause can be a domain update (hyperforce migration, MyDomain activation ...) +What you need to do is to delete the sid cookie (and website associated cookies if sid did not worked) + +![image](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/637656f6-fcb0-4419-b2da-98853049c473) + From dc5612bb1bad5ee370c28e258ba691b73a0803ce Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:45:49 +0100 Subject: [PATCH 03/29] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 1c230fb4..c004786b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,6 +6,8 @@ labels: bug assignees: tprouvot --- +**Make sure to read the troubleshooting section before creating an issue** +[Common issues](https://tprouvot.github.io/Salesforce-Inspector-reloaded/troubleshooting/) **Describe the bug** A clear and concise description of what the bug is. From 9921d64e333e950ab11dba02d791808bbb1aa012 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:49:48 +0100 Subject: [PATCH 04/29] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index c004786b..17909f9c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,7 +7,8 @@ assignees: tprouvot --- **Make sure to read the troubleshooting section before creating an issue** -[Common issues](https://tprouvot.github.io/Salesforce-Inspector-reloaded/troubleshooting/) + +- [ ] I've read the [common issues](https://tprouvot.github.io/Salesforce-Inspector-reloaded/troubleshooting/) and the one I'm about to create is not one of those documented. **Describe the bug** A clear and concise description of what the bug is. From bd487ce92a5ae0f22ede1bed6e525700b85e816e Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Fri, 10 Nov 2023 09:56:35 +0100 Subject: [PATCH 05/29] Update how-to.md Add update api how to --- docs/how-to.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/how-to.md b/docs/how-to.md index 0218aeb0..a74a8caf 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -146,3 +146,12 @@ You can enable this view for the Shortcut search by creating a new localVariable ![image](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/f3093e4b-438c-4795-b64a-8d37651906a5) Then when you click on a PermissionSet / PermissionSetGroups search result, you'll be redirected to the summary. + +## Update API Version + +Since the plugin's api version is only updated when all productions have been updated to the new release, you may want to use the latest version during preview windows. +> [!IMPORTANT] +> When you manually update the API version, it won't be overriden by extension future updates. + +![2023-11-10_09-50-55 (1)](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/6ae51a29-9887-41a6-8148-d9e12c2dc10d) + From 67b60ec5b02e11d425a805177ba70094570c057c Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:21:35 +0100 Subject: [PATCH 06/29] Update README.md (#222) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index feae840a..94a4358d 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,10 @@ Contributions are welcomed ! To submit a PR, please create a branch from releaseCandidate which is the work in progress next version. This branch will be merge into master when the new version is published on web store. +Make sure to update CHANGES.md file by describing the improvement / bugfix you realised. + +In order to make sure everyone who reads documentation is aware of your improvment, you can update the 'how-to' page to document / expose this new functionnality. + Linting : to assure indentation, formatting and best practices coherence, please install ESLint extension. ## Development From cbdb4d16f521639e8133c11ac2b2111a160c0a00 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:52:13 +0100 Subject: [PATCH 07/29] Create pull_request_template.md (#229) --- .github/pull_request_template.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..96eba584 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,12 @@ +## Describe your changes + +## Issue ticket number and link + +## Checklist before requesting a review +- [ ] I have read and understand the [Contributions section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions) +- [ ] Target branch is releaseCandidate and not master +- [ ] I have performed a self-review of my code +- [ ] I ran the [unit tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests) and my PR does not break any tests +- [ ] I documented the changes I've made on the [CHANGES.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/CHANGES.md) and followed actual conventions +- [ ] I added a new section on [how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md) (optional) + From 393f1f192756e5940d22ba0876c37a4e9e588ee1 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Tue, 5 Dec 2023 09:50:44 +0100 Subject: [PATCH 08/29] Add beta version section --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 94a4358d..97c6d75a 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ We all know and love Salesforce Inspector: As the great Søren Krabbe did not ha - [Chrome Web Store](https://chrome.google.com/webstore/detail/salesforce-inspector-relo/hpijlohoihegkfehhibggnkbjhoemldh) - [Firefox Browser Add-ons](https://addons.mozilla.org/en-US/firefox/addon/salesforce-inspector-reloaded/) - [Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/salesforce-inspector-relo/noclfopoifgfgnflgkakofglfeeambpd) + - [Beta Version](#beta-version) + - [Chrome Web Store](https://chromewebstore.google.com/detail/salesforce-inspector-relo/lopjgjcglnncikiocpacfdbkmpbfmkcf) - [Troubleshooting](#troubleshooting) - [Contributions](#contributions) - [Development](#development) @@ -74,6 +76,19 @@ Follow steps described in [how-to documentation](https://tprouvot.github.io/Sale - [Firefox Browser Add-ons](https://addons.mozilla.org/en-US/firefox/addon/salesforce-inspector-reloaded/) - [Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/salesforce-inspector-relo/noclfopoifgfgnflgkakofglfeeambpd) +### Beta Version + +Welcome to the beta testing phase! Your input is crucial for refining our extension. Here's why we need you: + +Why Beta Testing? +- Diverse Testing: Identify issues across various setups. +- Real-World Scenarios: Discover unforeseen issues in different user contexts. + +Report Bugs: If you discover a bug, please fill in an issue [here](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/new?assignees=tprouvot&labels=bug,beta&projects=&template=bug_report.md&title=[BETA]). Detailed bug reports help us address issues quickly. + +To become a beta tester, [install the release candidate version](https://chromewebstore.google.com/detail/salesforce-inspector-relo/lopjgjcglnncikiocpacfdbkmpbfmkcf). +Thank you for shaping our extension's future! Your feedback makes it better. + ### Local Installation 1. Download or clone the repo. From 22048f39b2fe41a269f7b164103eb1f65468f49e Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Wed, 3 Jan 2024 13:57:03 +0100 Subject: [PATCH 09/29] Create dependabot.yml (#262) ## Describe your changes ## Issue ticket number and link ## Checklist before requesting a review - [ ] I have read and understand the [Contributions section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions) - [ ] Target branch is releaseCandidate and not master - [ ] I have performed a self-review of my code - [ ] I ran the [unit tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests) and my PR does not break any tests - [ ] I documented the changes I've made on the [CHANGES.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/CHANGES.md) and followed actual conventions - [ ] I added a new section on [how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md) (optional) --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..3a3cce57 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" From bdfe7ba63bf30346b6a8b01e56dbcacf21808e10 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Mon, 18 Mar 2024 14:56:10 +0100 Subject: [PATCH 10/29] Add generate token troubleshooting --- docs/troubleshooting.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 5479fb02..43c7fbe8 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -24,3 +24,18 @@ To troubleshoot, clean Local Storage, and then try to reauthenticate in the exte When redirected to the "Data Export" tab at the end of the OAuth flow, check the URL parameters in your address bar: if it contains `error=OAUTH_APP_BLOCKED&error_description=this+app+is+blocked+by+admin` this means that your org has API Access Control enabled. In that situation, you must ask your Salesforce admin to install and allow the Salesforce Inspector Connected App before you can use it. ![image](screenshots/oauthError.png) + +### Generate new token error + +## If you did not enabled 'API Access Control' and continuously see the banner generate token + +You may have seen this message because of an expired token, and since this was the only available option clicked on 'Generate new Token'. + +Try to run this code in chrome dev console, after inspecting the extension' popup code: + +```js +let tokens = Object.keys(localStorage).filter((localKey) => + localKey.endsWith("access_token") +); +tokens.forEach((element) => localStorage.removeItem(element)); +``` From 5c5fa56aeeca65fea957aa6994860c45aedfb30c Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Mon, 18 Mar 2024 20:38:32 +0100 Subject: [PATCH 11/29] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de16f63f..7984aa1f 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,8 @@ Thank you for shaping our extension's future! Your feedback makes it better. ## Contributions Contributions are welcome! - + +Before starting developments, create a feature request and explain the goal of it and the uses cases that it addresses. To submit a PR, please create a branch from releaseCandidate which is the work in progress next version. This branch will be merge into master when the new version is published on web store. From 0674f67276ac6cab80303b1291a9264ca017d492 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Mon, 25 Mar 2024 13:42:18 +0100 Subject: [PATCH 12/29] Add connected app installation error documentation --- docs/troubleshooting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 43c7fbe8..378b91a8 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -39,3 +39,7 @@ let tokens = Object.keys(localStorage).filter((localKey) => ); tokens.forEach((element) => localStorage.removeItem(element)); ``` + +### Managed Application Installation Error + +When installing the default connected app when `API Access Control` is enabled, if you face the error `Managed Application Installation Error` you may have an existing connected app named `Salesforce Inspector reloaded`. From 32eedba579ee26b70ef4a5ee7d72ffb729f41d67 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Mon, 8 Apr 2024 10:00:01 +0200 Subject: [PATCH 13/29] Re-align title --- docs/troubleshooting.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 378b91a8..9746c673 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -26,8 +26,7 @@ When redirected to the "Data Export" tab at the end of the OAuth flow, check the ![image](screenshots/oauthError.png) ### Generate new token error - -## If you did not enabled 'API Access Control' and continuously see the banner generate token +If you did not enabled 'API Access Control' and continuously see the banner generate token You may have seen this message because of an expired token, and since this was the only available option clicked on 'Generate new Token'. From 875160aea501c56c64b7e1b4a771b2ba11571e96 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Mon, 8 Apr 2024 17:03:51 +0200 Subject: [PATCH 14/29] Add resolution for generate new token error --- docs/troubleshooting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 9746c673..642a4849 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -26,6 +26,7 @@ When redirected to the "Data Export" tab at the end of the OAuth flow, check the ![image](screenshots/oauthError.png) ### Generate new token error + If you did not enabled 'API Access Control' and continuously see the banner generate token You may have seen this message because of an expired token, and since this was the only available option clicked on 'Generate new Token'. @@ -39,6 +40,9 @@ let tokens = Object.keys(localStorage).filter((localKey) => tokens.forEach((element) => localStorage.removeItem(element)); ``` +Still facing the issue ? Try to connect to your org in an anonymous window (make sure you allowed the extension to run in private mode). +If the error disappeared, clear site data to solve the issue in normal navigation. + ### Managed Application Installation Error When installing the default connected app when `API Access Control` is enabled, if you face the error `Managed Application Installation Error` you may have an existing connected app named `Salesforce Inspector reloaded`. From b5e87114aa4db44b95d303155b8a97d54f27b233 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:06:59 +0200 Subject: [PATCH 15/29] Add select all fields doc --- docs/how-to.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/how-to.md b/docs/how-to.md index cc3f3937..c15984f1 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -210,5 +210,10 @@ You can update the debug level (configuration is per organization) and duration `display(sfConn.rest("/services/data/v59.0/graphql", {method: "POST", body: myQuery}));` ![2024-02-09_17-01-42 (1)](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/6689fad3-9549-41b9-8371-55adae037793) +## Select all fields in a query +This functionality already exists in the legacy version but since many users don't know about it, I would like to document it. +When on the export page, put the cursor between `SaELECT` and `FROM` and press `Ctrl + space` for inserting all fields (if you don't have the rights for a particular field, it wont' be added). +If you want to insert only custom fields, enter `__c` between `SELECT` and `FROM`. +![2024-04-16_08-53-32 (1)](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/ef7ba7a0-c9c4-4573-9aaa-b72e64430f64) From e30c07f49c36d2c33fa80f233550fe15cb6f8201 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Mon, 6 May 2024 14:24:26 +0200 Subject: [PATCH 16/29] Add gif to enable the extension --- docs/welcome.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/welcome.md b/docs/welcome.md index 5428b270..ff214fcc 100644 --- a/docs/welcome.md +++ b/docs/welcome.md @@ -12,6 +12,7 @@ With this extension, you can: - Generate REST API requests from Explore API. You can enable the extension by clicking on the **Salesforce Inspector Reloaded** icon in the toolbar, or by pressing `Ctrl+Shift+I` (Windows) / `Ctrl+Option+I` (Mac) on your keyboard. +![2024-05-06_14-16-10 (1)](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/ab6e5461-9952-4305-9773-0074561678ca) For more information, please read this [article](https://www.salesforceben.com/salesforce-inspector-reloaded/) or the [documentation page](https://tprouvot.github.io/Salesforce-Inspector-reloaded/). From dce7a4a050268e40cea7c9dea3fd2f8b65c79c8d Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Mon, 6 May 2024 17:15:03 +0200 Subject: [PATCH 17/29] Mention Rebbe Pod for flow versions button --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index cb4f73ff..f8a02a3b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,7 +7,7 @@ - Add option to hide 'Delete Records' button from Data Export page - Fix popup not closing in inspect page [issue 159](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/159) (contribution by [Luca Bassani](https://github.com/baslu93)) - On inspect page, when double clicking on a picklist field, iterate through available values [feature 366](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/366) -- Add 'Flow Versions' button in popup when recordId is a flow [feature 362](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/362) +- Add 'Flow Versions' button in popup when recordId is a flow [feature 362](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/362) (feature request by [Rebbe Pod](https://github.com/RebbePod)) - Format relations as expected in import process [feature 26](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/26) (contribution by [Olivier Dufour](https://github.com/dufoli)) - Ability to choose header theme [feature 294](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/294) - Add query template customization in Option page [feature 349](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/349) From 6eedd462ed177e6f07a7709541936ab65eda59a4 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Mon, 3 Jun 2024 09:01:30 +0200 Subject: [PATCH 18/29] Add articles, video and podcast links --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73e58806..b19fa499 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,10 @@ We all know and love Salesforce Inspector: As the great Søren Krabbe did not ha [![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://tprouvot.github.io/Salesforce-Inspector-reloaded/ "Go to extension documentation") +- SalesforceBen [article](https://www.salesforceben.com/salesforce-inspector-reloaded/), [video](https://youtu.be/dvYp5mKxxzM?si=hBCIaGOyqAJlerea) +- ApexHours [article](https://www.apexhours.com/salesforce-inspector-reloaded/) +- SalesforceWay [podcast](https://salesforceway.com/podcast/salesforce-inspector-reloaded/) + ## New features compared to original SF Inspector - Allow users to update API Version [feature 58](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/58) @@ -104,7 +108,7 @@ Thank you for shaping our extension's future! Your feedback makes it better. ## Contributions Contributions are welcome! - + Before starting developments, create a feature request and explain the goal of it and the uses cases that it addresses. To submit a PR, please create a branch from releaseCandidate which is the work in progress next version. This branch will be merge into master when the new version is published on web store. From 2da16a9ee08baa44a9553487942c869217749e98 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Tue, 4 Jun 2024 10:59:25 +0200 Subject: [PATCH 19/29] Detail connected app usage section --- docs/how-to.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/how-to.md b/docs/how-to.md index a09c0fd2..00a14155 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -9,11 +9,18 @@ If you enabled "API client whitelisting" (a.k.a "API Access Control") in your org, SF Inspector may not work anymore. To secure the extension usage, you can use a OAuth 2.0 flow to get an access token, linked to a connected app installed in your org. -To install the default "SF Inspector reloaded" connected app, open popup and click 'Generate Access Token' button - Generate Token +1. Open the extension and scroll down to the “Generate Access Token” button. +2. You should see the “OAUTH_APP_BLOCKED” error which is normal at this stage. +3. Go to “Connected Apps OAuth Usage” in setup and search for “Salesforce Inspector reloaded”. +4. Click “Install” and then confirm installation. +5. Now configure the profiles or permissions sets which will have the right to use the extension. +6. Go back to “Connected Apps OAuth Usage” and click “Unblock” next to “Salesforce Inspector reloaded” +7. Once again, open the extension and scroll down to the “Generate Access Token” button + +![2024-05-28_16-12-29 (1)](https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/1cb41271-ea61-4e25-9c68-2a50764c4cec) -Then navigate to Setup | Connected Apps OAuth Usage, and click "Install" on the Salesforce Inspector reloaded app. +This is it ! You can use the extension with the default connected app. From now when the token will be expired, this banner will show up and provide a link to re-generate the access token From 7da6a9f6b4ddbd938ee95f3f41d0877f57cb26cd Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:14:30 +0200 Subject: [PATCH 20/29] Add checkbox for existing fixes --- .github/ISSUE_TEMPLATE/bug_report.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 17909f9c..eb081d39 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -9,6 +9,7 @@ assignees: tprouvot **Make sure to read the troubleshooting section before creating an issue** - [ ] I've read the [common issues](https://tprouvot.github.io/Salesforce-Inspector-reloaded/troubleshooting/) and the one I'm about to create is not one of those documented. +- [ ] I've read the [release note](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/releaseCandidate/CHANGES.md) and the one I'm about to create is not already fixed. **Describe the bug** A clear and concise description of what the bug is. From 0b146f5912080173698641377e2467329bfa0fd1 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:56:16 +0200 Subject: [PATCH 21/29] Update doc with Salesforce Developer blog --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b19fa499..da9bca52 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ - - + # Salesforce inspector reloaded ![GitHub release](https://img.shields.io/github/v/release/tprouvot/Salesforce-Inspector-reloaded?sort=semver) @@ -43,6 +42,7 @@ We all know and love Salesforce Inspector: As the great Søren Krabbe did not ha [![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://tprouvot.github.io/Salesforce-Inspector-reloaded/ "Go to extension documentation") +- Salesforce Developers Blog [Improve Your Productivity with Salesforce Inspector Reloaded]([https://www.apexhours.com/salesforce-inspector-reloaded/](https://developer.salesforce.com/blogs/2024/07/improve-your-productivity-with-salesforce-inspector-reloaded)) - SalesforceBen [article](https://www.salesforceben.com/salesforce-inspector-reloaded/), [video](https://youtu.be/dvYp5mKxxzM?si=hBCIaGOyqAJlerea) - ApexHours [article](https://www.apexhours.com/salesforce-inspector-reloaded/) - SalesforceWay [podcast](https://salesforceway.com/podcast/salesforce-inspector-reloaded/) From 9954b5dafd0f985de3a00f862bbae1a8dcfb8c18 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:56:40 +0200 Subject: [PATCH 22/29] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index da9bca52..dbfcdd5f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ + # Salesforce inspector reloaded ![GitHub release](https://img.shields.io/github/v/release/tprouvot/Salesforce-Inspector-reloaded?sort=semver) From 2a0df7aa6252289829ad66e61ab9f840341baaba Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:57:45 +0200 Subject: [PATCH 23/29] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dbfcdd5f..d6324262 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ We all know and love Salesforce Inspector: As the great Søren Krabbe did not ha [![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://tprouvot.github.io/Salesforce-Inspector-reloaded/ "Go to extension documentation") -- Salesforce Developers Blog [Improve Your Productivity with Salesforce Inspector Reloaded]([https://www.apexhours.com/salesforce-inspector-reloaded/](https://developer.salesforce.com/blogs/2024/07/improve-your-productivity-with-salesforce-inspector-reloaded)) +- Salesforce Developers Blog [Improve Your Productivity with Salesforce Inspector Reloaded](https://developer.salesforce.com/blogs/2024/07/improve-your-productivity-with-salesforce-inspector-reloaded)) - SalesforceBen [article](https://www.salesforceben.com/salesforce-inspector-reloaded/), [video](https://youtu.be/dvYp5mKxxzM?si=hBCIaGOyqAJlerea) - ApexHours [article](https://www.apexhours.com/salesforce-inspector-reloaded/) - SalesforceWay [podcast](https://salesforceway.com/podcast/salesforce-inspector-reloaded/) From c0963af2624c01563cbfa3eb17e79997a38de592 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Wed, 28 Aug 2024 15:22:45 +0200 Subject: [PATCH 24/29] Fix issue on data export (add deleted records & tooling api batches) --- CHANGES.md | 1 + addon/data-export.js | 8 ++++---- addon/manifest.json | 2 +- addon/popup.js | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f0d1c5c9..d119e7d9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Version 1.24 +- Fix issue [issue 543](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/543) and [issue 538](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/538) - Add new REST Explore page to call Salesforce APIs from the extension - Add Global Search in Shortcut tab when no result was found - Enable users to configure custom headers on Data Import (AssignmentRuleHeader, DuplicateRuleHeader, OwnerChangeOptions ...) [feature 478](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/478) diff --git a/addon/data-export.js b/addon/data-export.js index cb83341e..2e900e7a 100644 --- a/addon/data-export.js +++ b/addon/data-export.js @@ -865,8 +865,8 @@ class Model { } throw err; }).then(data => { - let isQueryMode = exportedData.queryMethod === "query"; - let fieldsResponses = {query: "records", "tooling/query": "records", search: "searchRecords", graphql: "data"}; + let fieldsResponses = {query: "records", queryAll: "records", "tooling/query": "records", search: "searchRecords", graphql: "data"}; + let isSoql = fieldsResponses[exportedData.queryMethod] === "records"; if (exportedData.queryMethod === "graphql"){ exportedData.sobject = Object.keys(data.data.uiapi.query)[0]; let dataGraph = data.data.uiapi.query[exportedData.sobject].edges.map(record => { @@ -891,10 +891,10 @@ class Model { let recs = exportedData.records.length; let total = exportedData.totalSize; if (data.totalSize != -1) { - exportedData.totalSize = isQueryMode ? data.totalSize : recs; + exportedData.totalSize = isSoql ? data.totalSize : recs; total = exportedData.totalSize; } - if (!data.done && isQueryMode) { + if (!data.done && isSoql) { let pr = batchHandler(sfConn.rest(data.nextRecordsUrl, {progressHandler: vm.exportProgress})); vm.isWorking = true; vm.exportStatus = `Exporting... Completed ${recs} of ${total} record${s(total)}.`; diff --git a/addon/manifest.json b/addon/manifest.json index 845f5699..c55514cf 100644 --- a/addon/manifest.json +++ b/addon/manifest.json @@ -1,7 +1,7 @@ { "name": "Salesforce Inspector Reloaded", "description": "Productivity tools for Salesforce administrators and developers to inspect data and metadata directly from the Salesforce UI.", - "version": "1.24", + "version": "1.241", "version_name": "1.24", "icons": { "128": "icon128.png" diff --git a/addon/popup.js b/addon/popup.js index 44029aac..8a4afb01 100644 --- a/addon/popup.js +++ b/addon/popup.js @@ -45,7 +45,7 @@ function showApiName(e) { } function init({sfHost, inDevConsole, inLightning, inInspector}) { - let addonVersion = chrome.runtime.getManifest().version; + let addonVersion = chrome.runtime.getManifest().version_name; sfConn.getSession(sfHost).then(() => { ReactDOM.render(h(App, { From 5ba238fa4e020818ebb1c97ee8f9d53e279dddac Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Wed, 28 Aug 2024 16:57:55 +0200 Subject: [PATCH 25/29] Fix 545 issue --- CHANGES.md | 2 +- addon/data-export.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d119e7d9..10f910bb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,7 @@ ## Version 1.24 -- Fix issue [issue 543](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/543) and [issue 538](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/538) +- Fix issue [issue 543](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/543), [issue 538](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/538) and [issue 545](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/545) - Add new REST Explore page to call Salesforce APIs from the extension - Add Global Search in Shortcut tab when no result was found - Enable users to configure custom headers on Data Import (AssignmentRuleHeader, DuplicateRuleHeader, OwnerChangeOptions ...) [feature 478](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/478) diff --git a/addon/data-export.js b/addon/data-export.js index 2e900e7a..2cbce59a 100644 --- a/addon/data-export.js +++ b/addon/data-export.js @@ -255,7 +255,7 @@ class Model { let delimiter = ":"; if (this.selectedSavedEntry != null) { let queryStr = ""; - if (this.selectedSavedEntry.query.includes(delimiter) && this.selectedSavedEntry.query.indexOf(":SELECT") >= 0) { + if (this.selectedSavedEntry.query.includes(delimiter) && this.selectedSavedEntry.query.toLowerCase().indexOf(":select") >= 0) { let query = this.selectedSavedEntry.query.split(delimiter); this.queryName = query[0]; queryStr = this.selectedSavedEntry.query.substring(this.selectedSavedEntry.query.indexOf(delimiter) + 1); From fa16f4c8f3b8ca46ea2d5244a4a834e829fb09f1 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Thu, 29 Aug 2024 13:49:40 +0200 Subject: [PATCH 26/29] Fix 546 --- CHANGES.md | 2 +- addon/data-export.html | 1 - addon/data-export.js | 31 +++++-------------------------- 3 files changed, 6 insertions(+), 28 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 10f910bb..4e0c6d9f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,7 @@ ## Version 1.24 -- Fix issue [issue 543](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/543), [issue 538](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/538) and [issue 545](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/545) +- Fix issues [543](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/543), [538](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/538), [545](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/545) & [546](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/545) - Add new REST Explore page to call Salesforce APIs from the extension - Add Global Search in Shortcut tab when no result was found - Enable users to configure custom headers on Data Import (AssignmentRuleHeader, DuplicateRuleHeader, OwnerChangeOptions ...) [feature 478](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/478) diff --git a/addon/data-export.html b/addon/data-export.html index a9fe7ee9..edf3cf33 100644 --- a/addon/data-export.html +++ b/addon/data-export.html @@ -5,7 +5,6 @@ Data Export - diff --git a/addon/data-export.js b/addon/data-export.js index 2cbce59a..851ee9ed 100644 --- a/addon/data-export.js +++ b/addon/data-export.js @@ -1394,6 +1394,10 @@ class App extends React.Component { ), h("button", {onClick: this.onClearHistory, title: "Clear Query History"}, "Clear") ), + h("div", {className: "pop-menu saveOptions", hidden: !model.expandSavedOptions}, + h("a", {href: "#", onClick: this.onRemoveFromHistory, title: "Remove query from saved history"}, "Remove Saved Query"), + h("a", {href: "#", onClick: this.onClearSavedHistory, title: "Clear saved history"}, "Clear Saved Queries") + ), h("div", {className: "button-group"}, h("select", {value: JSON.stringify(model.selectedSavedEntry), onChange: this.onSelectSavedEntry, className: "query-history"}, h("option", {value: JSON.stringify(null), disabled: true}, "Saved Queries"), @@ -1401,32 +1405,7 @@ class App extends React.Component { ), h("input", {placeholder: "Query Label", type: "save", value: model.queryName, onInput: this.onSetQueryName}), h("button", {onClick: this.onAddToHistory, title: "Add query to saved history"}, "Save Query"), - h("div", {ref: "buttonQueryMenu", className: "slds-dropdown-trigger slds-dropdown-trigger_click slds-button_last"}, - h("button", {className: "slds-button slds-button_icon slds-button_icon-border-filled", onMouseEnter: () => this.toggleQueryMoreMenu(), title: "Show more options"}, - h("svg", {className: "slds-button__icon"}, - h("use", {xlinkHref: "symbols.svg#down"}) - ), - h("span", {className: "slds-assistive-text"}, "Show more options") - ), - h("div", {className: "slds-dropdown slds-dropdown_left", onMouseLeave: () => this.toggleQueryMoreMenu()}, - h("ul", {className: "slds-dropdown__list", role: "menu"}, - h("li", {className: "slds-dropdown__item", role: "presentation"}, - h("a", {onClick: () => console.log("menu item click"), target: "_blank", tabIndex: "0"}, - h("span", {className: "slds-truncate"}, - h("span", {className: "slds-truncate", onClick: this.onRemoveFromHistory, title: "Remove query from saved history"}, "Remove Saved Query") - ) - ) - ), - h("li", {className: "slds-dropdown__item", role: "presentation"}, - h("a", {onClick: () => console.log("menu item click"), target: "_blank", tabIndex: "0"}, - h("span", {className: "slds-truncate"}, - h("span", {className: "slds-truncate", onClick: this.onClearSavedHistory, title: "Clear saved history"}, "Clear Saved Queries") - ) - ) - ) - ) - ) - ), + h("button", {className: model.expandSavedOptions ? "toggle contract" : "toggle expand", title: "Show More Options", onClick: this.onToggleSavedOptions}, h("div", {className: "button-toggle-icon"})) ), ), h("div", {className: "query-options"}, From 4a8d4ebffa57a0e791c2559dcf819d7c0c9b57ce Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 12 Sep 2024 09:19:54 +0200 Subject: [PATCH 27/29] Update README.md Add info on the localStorage stored variables --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04a75a21..656b41d7 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,15 @@ We all know and love Salesforce Inspector: As the great Søren Krabbe did not ha ## Security and Privacy -The Salesforce Inspector browser extension/plugin communicates directly between the user's web browser and the Salesforce servers. No data is sent to other parties and no data is persisted outside of Salesforce servers after the user leaves the Salesforce Inspector pages. -The Inspector communicates via the official Salesforce webservice APIs on behalf of the currently logged in user. This means the Inspector will be capable of accessing nothing but the data and features the user has been granted access to in Salesforce. +The Salesforce Inspector Reloaded browser extension/plugin communicates directly between the user's web browser and the Salesforce servers. No data is sent to other parties. -All Salesforce API calls from the Inspector re-uses the access token/session used by the browser to access Salesforce. To acquire this access token the Salesforce Inspector requires permission to read browser cookie information for Salesforce domains. +We are saving some info in the browser localStorage to avoid redundant queries and save user extension's preferences. None of the saved elements are related to Salesforce SObject data (Account, Contact etc.) + +You can find the list of all the localStorage saved [here](https://github.com/search?q=repo:tprouvot/Salesforce-Inspector-reloaded+"localStorage"+path:addon&type=code) and inspect what is stored by following [this tutorial](https://developer.chrome.com/docs/devtools/storage/localstorage) + +The extension communicates via the official Salesforce webservice APIs on behalf of the currently logged in user. This means the extension will be capable of accessing nothing but the data and features the user has been granted access to in Salesforce. + +All Salesforce API calls from the Inspector re-uses the access token/session used by the browser to access Salesforce (or the generated on if API Access Control is enabled). To acquire this access token the Salesforce Inspector requires permission to read browser cookie information for Salesforce domains. To validate the accuracy of this description, inspect the source code, monitor the network traffic in your browser or take my word. From e16c5396ea04d17d1d540a845f86fe09083551b7 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot <35368290+tprouvot@users.noreply.github.com> Date: Thu, 12 Sep 2024 09:21:42 +0200 Subject: [PATCH 28/29] Update PRIVACY.md Add info on localStorage variables --- PRIVACY.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/PRIVACY.md b/PRIVACY.md index b37116e0..b1c25f7d 100644 --- a/PRIVACY.md +++ b/PRIVACY.md @@ -1,12 +1,16 @@ # Privacy Policy -The Salesforce Inspector browser extension/plugin communicates directly between the user's web browser and the Salesforce servers. No data is sent to other parties and no data is persisted outside of Salesforce servers after the user leaves the Salesforce Inspector pages. -The Inspector communicates via the official Salesforce webservice APIs on behalf of the currently logged in user. This means the Inspector will be capable of accessing nothing but the data and features the user has been granted access to in Salesforce. +The Salesforce Inspector Reloaded browser extension/plugin communicates directly between the user's web browser and the Salesforce servers. No data is sent to other parties. -All Salesforce API calls from the Inspector re-uses the access token/session used by the browser to access Salesforce. To acquire this access token the Salesforce Inspector requires permission to read browser cookie information for Salesforce domains. +We are saving some info in the browser localStorage to avoid redundant queries and save user extension's preferences. None of the saved elements are related to Salesforce SObject data (Account, Contact etc.) -To validate the accuracy of this description, inspect the source code, monitor the network traffic in your browser or take my word. +You can find the list of all the localStorage saved [here](https://github.com/search?q=repo:tprouvot/Salesforce-Inspector-reloaded+"localStorage"+path:addon&type=code) and inspect what is stored by following [this tutorial](https://developer.chrome.com/docs/devtools/storage/localstorage). + +The extension communicates via the official Salesforce webservice APIs on behalf of the currently logged in user. This means the extension will be capable of accessing nothing but the data and features the user has been granted access to in Salesforce. +All Salesforce API calls from the Inspector re-uses the access token/session used by the browser to access Salesforce (or the generated on if API Access Control is enabled). To acquire this access token the Salesforce Inspector requires permission to read browser cookie information for Salesforce domains. + +To validate the accuracy of this description, inspect the source code, monitor the network traffic in your browser or take my word. ## Local Storage Policy Local storage objects are sets of data that can be stored on your browser and/or hard drive by us. @@ -17,4 +21,4 @@ We use local storage objects to remember your : - Environment type (PROD or Sandbox) - Client Id @ Session Id (only if you're using Salesforce Extension with a connected App) -We do not use local storage objects for any other purpose. You may erase the local storage objects by deleting your browser's history. \ No newline at end of file +We do not use local storage objects for any other purpose. You may erase the local storage objects by deleting your browser's history. From 980da936b8b46f3f51e5cd5de35c78bd0ae9cc81 Mon Sep 17 00:00:00 2001 From: Thomas Prouvot Date: Fri, 27 Sep 2024 12:19:44 +0200 Subject: [PATCH 29/29] Minor fixes for firefox --- addon/manifest-firefox.json | 76 +++++++++++++++++++++++++++++++++++++ addon/rest-explore.css | 1 + 2 files changed, 77 insertions(+) create mode 100644 addon/manifest-firefox.json diff --git a/addon/manifest-firefox.json b/addon/manifest-firefox.json new file mode 100644 index 00000000..763ba127 --- /dev/null +++ b/addon/manifest-firefox.json @@ -0,0 +1,76 @@ +{ + "name": "Salesforce Inspector Reloaded", + "description": "Productivity tools for Salesforce administrators and developers to inspect data and metadata directly from the Salesforce UI.", + "version": "1.240", + "version_name": "1.24", + "icons": { + "128": "icon128.png" + }, + "applications": { + "gecko": { + "id": "salesforceinspector@reloaded", + "strict_min_version": "60.0" + } + }, + "permissions": [ + "https://*.salesforce.com/*", + "https://*.salesforce-setup.com/*", + "https://*.force.com/*", + "https://*.cloudforce.com/*", + "https://*.visualforce.com/*", + "https://*.sfcrmapps.cn/*", + "https://*.sfcrmproducts.cn/*", + "https://*.salesforce.mil/*", + "https://*.force.mil/*", + "https://*.cloudforce.mil/*", + "https://*.visualforce.mil/*", + "https://*.crmforce.mil/*", + "https://*.force.com.mcas.ms/*", + "cookies" + ], + "content_scripts": [ + { + "matches": [ + "https://*.salesforce.com/*", + "https://*.salesforce-setup.com/*", + "https://*.visual.force.com/*", + "https://*.vf.force.com/*", + "https://*.lightning.force.com/*", + "https://*.cloudforce.com/*", + "https://*.visualforce.com/*", + "https://*.sfcrmapps.cn/*", + "https://*.sfcrmproducts.cn/*", + "https://*.salesforce.mil/*", + "https://*.visual.force.mil/*", + "https://*.vf.force.mil/*", + "https://*.lightning.force.mil/*", + "https://*.cloudforce.mil/*", + "https://*.visualforce.mil/*", + "https://*.crmforce.mil/*", + "https://*.lightning.force.com.mcas.ms/*", + "https://*.builder.salesforce-experience.com/*" + ], + "all_frames": true, + "css": ["button.css", "inspect-inline.css"], + "js": ["button.js", "inspect-inline.js"] + } + ], + "background": { + "scripts": ["background.js"] + }, + "web_accessible_resources": [ + "popup.html", + "data-export.html", + "data-import.html", + "inspect.html", + "metadata-retrieve.html", + "explore-api.html", + "rest-explore.html", + "limits.html", + "field-creator.html", + "options.html", + "streaming.html" + ], + "incognito": "spanning", + "manifest_version": 2 +} diff --git a/addon/rest-explore.css b/addon/rest-explore.css index 36f63210..a104e1eb 100644 --- a/addon/rest-explore.css +++ b/addon/rest-explore.css @@ -264,6 +264,7 @@ input[type="checkbox"] { } input.query-control{ + width: -moz-available; width: -webkit-fill-available; } textarea:not([readonly]):focus,