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

Automatically request SObject type when data export from an SObject r… #179

Merged
merged 4 commits into from
Dec 27, 2023

Conversation

dufoli
Copy link
Contributor

@dufoli dufoli commented Oct 18, 2023

…ecord (#45)

@dufoli dufoli marked this pull request as draft October 18, 2023 18:55
@dufoli
Copy link
Contributor Author

dufoli commented Oct 18, 2023

DRAFT

@dufoli dufoli marked this pull request as ready for review October 19, 2023 09:49
@tprouvot
Copy link
Owner

Hi @dufoli
Thanks for the PR, I always wanted to adress this but didn't had the time to do so.

I can see a regression for the functionnality which detects the SObject on list view pages.
First load was from releaseCandidate branch, where we can see that Contact object is detected, second load is with your branch where the object is not detected.
2023-10-20_08-59-33 (1)

The second point is, when searching from the object tab and selecting a value, I would like to use this object for export query

Cf the following example, I'm on contact list view page when I click on export the selected object id Contact which is fine.
But if I'm selecting AccounCleanInfo, I'm expecting to have this object in export page.
What do you think about this ?
2023-10-20_09-04-22 (1)

@dufoli
Copy link
Contributor Author

dufoli commented Oct 20, 2023

first point is solved.
I will handle second point first.

@dufoli dufoli force-pushed the issue45 branch 3 times, most recently from 6923c72 to 1be7de6 Compare October 20, 2023 20:37
@dufoli
Copy link
Contributor Author

dufoli commented Oct 20, 2023

both point is fixed

@dufoli
Copy link
Contributor Author

dufoli commented Nov 2, 2023

rebase and need new review.

@dufoli
Copy link
Contributor Author

dufoli commented Nov 10, 2023

@tprouvot any news for review ?

@dufoli dufoli force-pushed the issue45 branch 2 times, most recently from c80085f to cc5be49 Compare December 21, 2023 09:54
@tprouvot
Copy link
Owner

Hi @dufoli,
Thanks for the PR !
Since this feature could modify existing behaviour I think we should let users decide if they want to enable / disable this functionality.
There's an incoming PR which will display settings in a dedicated page.
For now we can just use a localStorage variable "useSObjectContextOnDataImportLink"
ie localStorage.getItem("useSObjectContextOnDataImportLink")
Question is : should we enable it by default or disable ?

@dufoli
Copy link
Contributor Author

dufoli commented Dec 23, 2023

hello, yes it change behaviour but is it an issue?
People can get with first item of query history the last query so in just one click you get last query.
I prefer convention over configuration.
Imo, if tool is well design, we do not need a lot of configuration but you have access to all features you need.
If you really want option, I will add it but really but not sure.

@tprouvot tprouvot merged commit 0753e2a into tprouvot:releaseCandidate Dec 27, 2023
@tprouvot
Copy link
Owner

hello, yes it change behaviour but is it an issue? People can get with first item of query history the last query so in just one click you get last query. I prefer convention over configuration. Imo, if tool is well design, we do not need a lot of configuration but you have access to all features you need. If you really want option, I will add it but really but not sure.

Ok let's do this, we can add the parameter later if requested by community.
Thanks for the PR 👍

AntoineLeleu-Salesforce pushed a commit to AntoineLeleu-Salesforce/Salesforce-Inspector-reloaded that referenced this pull request Jan 4, 2024
AntoineLeleu-Salesforce pushed a commit to AntoineLeleu-Salesforce/Salesforce-Inspector-reloaded that referenced this pull request Jan 4, 2024
tprouvot added a commit that referenced this pull request Jan 23, 2024
@tprouvot
Copy link
Owner

tprouvot commented Mar 7, 2024

#341

@Dufgui Dufgui deleted the issue45 branch May 12, 2024 14:05
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.

2 participants