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

[popup] Add current release info #53

Closed
tprouvot opened this issue Apr 11, 2023 · 4 comments · Fixed by #57
Closed

[popup] Add current release info #53

tprouvot opened this issue Apr 11, 2023 · 4 comments · Fixed by #57
Assignees
Labels
enhancement New feature or request

Comments

@tprouvot
Copy link
Owner

Is your feature request related to a problem? Please describe.
It would be great to know the current version of the release

Describe the solution you'd like
We could add a title to the api version to describe the current release.

NB the api version can be lower than the current release, ie we're on a sandbox in preview.

image

@tprouvot tprouvot added the enhancement New feature or request label Apr 11, 2023
@tprouvot tprouvot self-assigned this Apr 11, 2023
@tprouvot tprouvot changed the title [popup] Add current release infor [popup] Add current release info Apr 11, 2023
@tprouvot
Copy link
Owner Author

For the moment, the way to get those information is to query the instance from Organization object:
SELECT InstanceName FROM Organization

Then run an api call to
https://api.status.salesforce.com/v1/instances/' + organization.InstanceName + '/status'

and parse the response to extract releaseVersion property:

{
    "key": "CS81",
    "location": "EMEA",
    "environment": "sandbox",
    "releaseVersion": "Spring '23 Patch 15.5",
    "releaseNumber": "242.15.5",

@tprouvot
Copy link
Owner Author

We could also display those information (with org id ) in a new tab "Org Info"

@tprouvot
Copy link
Owner Author

Option 2:
Query the org instance and persist it in localStorage, then display a link to the org status page from salesforce:

https://status.salesforce.com/instances/CS81

@tprouvot
Copy link
Owner Author

Ok so finally we will display the org instance at the bottom of the popup and the link will redirect users to the url:

https://status.salesforce.com/instances/INSTANCE

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant