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] Use custom shortcuts #115

Closed
tprouvot opened this issue Jul 5, 2023 · 2 comments
Closed

[popup] Use custom shortcuts #115

tprouvot opened this issue Jul 5, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tprouvot
Copy link
Owner

tprouvot commented Jul 5, 2023

Is your feature request related to a problem? Please describe.
It would be nice to be able to customize shortcuts by adding new ones.

ie. setup sections that are not in all orgs and specific to a particular cloud or link to specific records.

The addition / deletion of links is made by editing property "$orgDomain_orgLinks" in the web browser localStorage:
In order to know what is your domain you can check for another property "orgInstance"

image

Here's an example of the content of the property :

[
  {
    "label": "Test myLink",
    "link": "/lightning/setup/SetupOneHome/home",
    "section": "Custom",
    "prod": false
  },
  {
    "label": "EnhancedProfiles",
    "section": "Setup",
    "link": "/lightning/setup/EnhancedProfiles/home",
    "prod": false
  }
]

image

@tprouvot tprouvot added the enhancement New feature or request label Jul 5, 2023
@tprouvot tprouvot self-assigned this Jul 5, 2023
tprouvot added a commit that referenced this issue Jul 5, 2023
@tprouvot tprouvot closed this as completed Jul 5, 2023
This was referenced Jul 12, 2023
tprouvot added a commit that referenced this issue Jul 18, 2023
Version 1.19
===========

General
-------

* Inspect Page Restyling (UI improvements, red background for PROD,
display / hide table borders)
[PR105](#105)
(contribution by [Pietro Martino](https://github.com/pietromartino))
* Navigate to record detail (Flows, Profiles and PermissionSet) from
shortcut search [feature
118](#118)
* Fix country codes from LocalSidKey convention
[PR117](#117)
(contribution by [Luca Bassani](https://github.com/baslu93))
* Use custom shortcuts [feature
115](#115)
* Add Export Query button [feature
109](#109)
(idea by [Ryan Sherry](https://github.com/rpsherry-starburst))
* Add permission set group assignment button from popup [feature
106](#106)
@saicharanreddyk
Copy link

@tprouvot Can we make this to work "$orgDomain_orgLinks" with all the domains?? Currently we need to have custom links for every org. Any thoughts?

@tprouvot
Copy link
Owner Author

@saicharanreddyk I think I can remove the org domain from the property name and handle it in the json.
It would look like this

[
  {
    "label": "Test myLink",
    "link": "/lightning/setup/SetupOneHome/home",
    "domain": ""
    "section": "Custom",
    "prod": false
  },
  {
    "label": "EnhancedProfiles",
    "section": "Setup",
    "link": "/lightning/setup/EnhancedProfiles/home",
    "domain": "myDomain.salesforce.com"
    "prod": false
  }
]

I have to think about it because it will affect users who actually use it today.

@saicharanreddyk Could you create a new enhancement with this requirement a a link to this discussion ?

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
Development

No branches or pull requests

2 participants