Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixapex #384

Closed
wants to merge 122 commits into from
Closed

Fixapex #384

wants to merge 122 commits into from

Conversation

dufoli
Copy link
Contributor

@dufoli dufoli commented Apr 13, 2024

fix #63

tprouvot and others added 30 commits January 29, 2024 10:50
## Describe your changes
I created a new pull request, following @tprouvot suggestion.
Now only when the object is one of the following:
| Object Name | Key Prefix |
| ------------- | ------------- |
| entitlementcontact | 000 |
| entitysubscription | 000 |
| productentitlementtemplate | 000 |
| casecomment | 00a |
| ideacomment | 00a |
| accountpartner | 00I |
| opportunitypartner | 00I |
| partner | 00I |
| leadstatus | 01J |
| opportunitystage | 01J |
| contentdocument | 069 |
| contentnote | 069 |

a callout using `/ui-api/records/` is fired to get the exact Object
ApiName.
The api has `layoutTypes=Compact` so that not all the layout infos are
pulled, but just the compact layout infos.
In the objects listed above the changes that can be applied to the
compact layout are limited, so that I expect the api speed cannot
drammatically change.

### Test executed:
- Click "Show all data" in the query results of "SELECT Id FROM Account"
- Click "Query record" in the query results of "SELECT Id FROM Account"
- Click "Show all data" in the query results of "SELECT Id FROM
ContentDocument"
- Click "Query record" in the query results of "SELECT Id FROM
ContentDocument"
- Click "Show all data" in the query results of "SELECT Id,WhatId FROM
Task" (both Id and WhaId)
- Click "Query record" in the query results of "SELECT Id,WhatId FROM
Task" (both Id and WhaId)

## Issue ticket number and link
[Issue
63](tprouvot#63)

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] 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 ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [ ] I added a new section on
[how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md)
(optional)

---------

Co-authored-by: DIR\luca.bassani <[email protected]>
Co-authored-by: Thomas Prouvot <[email protected]>
tprouvot#287)

## Describe your changes
- add performance metrics to data export for queries with batch count
and min/max/avg time
- created reusable CheckboxToggle for tab options
- added Display Query Execution Time checkbox toggle to Data Export tab
on options
- minor cleanup/linting
- Replaced data export "record(s)" with plural function to display
"Exported n records" for 0 or more than 1 record, "Exported 1 record"
for 1

## Issue ticket number and link
n/a

## Checklist before requesting a review
- [ x ] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [ x ] Target branch is releaseCandidate and not master
- [ x ] I have performed a self-review of my code
- [ x ] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [ x ] 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
- [ x ] I added a new section on
[how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md)
(optional)

---------

Co-authored-by: nshulman <[email protected]>
Co-authored-by: Nathan Shulman <[email protected]>
## Describe your changes
Display API version in the org tab

<img width="279" alt="image"
src="https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/887b5edc-2a73-42e7-a740-2f983356dcf7">

## Issue ticket number and link
tprouvot#293 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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
- [x] I added a new section on
[how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md)
(optional)
## Describe your changes
Hide RecType field when no record type on record.

## Issue ticket number and link
Closing tprouvot#298 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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)
## Describe your changes
Added number of filtered records in data export page

<img width="1334" alt="image"
src="https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/3770d8f7-a005-4857-99c1-48ed064ca1c8">

## Issue ticket number and link
Closes tprouvot#300 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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)
## Describe your changes
Make data export suggestions scrollable

<img width="1434" alt="image"
src="https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/daa7c7e4-6776-4a6a-8566-6769065873f0">


## Issue ticket number and link
Close tprouvot#301 

## 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)
## Describe your changes
Align Data Type in Inspector with Salesforce:

## Issue ticket number and link
tprouvot#311 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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)
## Describe your changes
Add query plan button to get info for the current query, display
articles link in order to understand the results and how to improve
query perfs

<img width="1422" alt="image"
src="https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/583a4328-372d-4de6-92cd-fdd1de2fd2a9">


## Issue ticket number and link
Closing tprouvot#314 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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)
## Describe your changes

## Issue ticket number and link
tprouvot#321 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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)
## Describe your changes
Moved 1 item from 1.22 to 1.23 in CHANGES.md (since not present in
1.22).

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] 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
- [x] 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)

Co-authored-by: DIR\luca.bassani <[email protected]>
## Describe your changes
Display 15-char Org Id in Org Tab (instead of 18-char Id)

## Issue ticket number and link
Fixes tprouvot#323 

## Checklist before requesting a review
- [X] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [X] Target branch is releaseCandidate and not master
- [X] I have performed a self-review of my code
- [X] 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)

Co-authored-by: Mehdi Cherfaoui <>
## Describe your changes
Add the batchSize and thread size to the configurable options.

## Issue ticket number and link
tprouvot#329 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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)
## Describe your changes
This PR allows users to customize favicons with a custom url or
predefined colors (green, orange, pink, purple, red, yellow)

## Issue ticket number and link
#197

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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
- [x] I added a new section on
[how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md)
(optional)

<img width="901" alt="image"
src="https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/35368290/1bbd9cc8-2425-4e79-8a92-a4e954f3d369">
## Describe your changes
Entering consumer key from data export was failing since the sf host was
null.
Removing the input and keep the normal process on Option page.

## Issue ticket number and link
tprouvot#338 

## Checklist before requesting a review
- [x] I have read and understand the [Contributions
section](https://github.com/tprouvot/Salesforce-Inspector-reloaded#contributions)
- [x] Target branch is releaseCandidate and not master
- [x] I have performed a self-review of my code
- [x] I ran the [unit
tests](https://github.com/tprouvot/Salesforce-Inspector-reloaded#unit-tests)
and my PR does not break any tests
- [x] 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
- [x] I added a new section on
[how-to.md](https://github.com/tprouvot/Salesforce-Inspector-reloaded/blob/master/docs/how-to.md)
(optional)
@dufoli dufoli closed this Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data-export] Double "Show all data" button
6 participants