Open Garywoo opened 1 week ago
Hi @Garywoo, To implement the Show All Data shortcut it required some extra work compared to the existing one but I managed to do it ! You can try it out here
It will be released in the 1.26 in beta first. I take the opportunity to thank you for the work you've done in your fork for the UI. You'll be mentioned in the next Sf Ben article which should be release Monday!
Thanks @tprouvot! I wasn't expecting such a quick implementation.
I've tested it out, and it looks like it will remember the last record you viewed and then open the view all data page for that record when you trigger the shortcut on any other page. This seems sensible to me.
I noticed that when viewing some pages, such as a dashboard, the shortcut will open the show all data page, but it will only show an error.
For example, on a dashboard, the show all data URL ends with path=/desktopDashboards/dashboardApp.app
, and the page error reads "Error describing object: NOT_FOUND: The requested resource does not exist". I understand why this is happening, but from an end user perspective, it might be better if it did not open the page in such a scenario, when the object cannot be found. I realise it could be tricky to prevent it from doing it's default action though.
P.S. I wish I had some more time to contribute to this project, as I have some more ideas of things I'd like to restyle, and some feature enhancements. Looking forward to the SF Ben article. Thanks for the shout out!
I've been testing this further, and I've noticed that on some occasions, I'll be viewing a record (i.e. a lead), and I'll use the shortcut to open the view all data page, but the context will be undefined. The URL will look like /inspect.html?host=undefined&path=undefined
. The following errors are be displayed:
Error describing object: Network error, offline or timeout Error querying tooling particles: Network error, offline or timeout
Is your feature request related to a problem? Please describe. I use the 'Show all data' feature most frequently out of all the features of this extension. I saw the recent update which enabled customisable keyboard shortcuts, but was disappointed to see that opening the 'Show all data' page was not available to be triggered from a keyboard shortcut.
Describe the solution you'd like Allow a keyboard shortcut to be defined which opens the 'Show all data' page. When the shortcut is triggered while viewing a record, it opens the 'Show all data' page (respecting the open in new tab preference). If no record context can be inferred from the active browser tab, then do nothing.
Describe alternatives you've considered I'm aware you can traverse to the page using a sequence of keypresses, i.e.
Ctrl + i
(open popup) >a
(open show all data), however I'd love to bind this to a single shortcut for ease of use.