dannysummerlin / force-navigator Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mickle00/force-navigator
Force Navigator
License: MIT License
This project forked from mickle00/force-navigator
Force Navigator
License: MIT License
It seems that after the Winter 24 release in production, all object-related links are broken due to a "null" text value appearing in the URL. By object-related links I mean [object] > Fields, [object] > Details, etc.
Example: my home URL is
https://acme.lightning.force.com/lightning/page/home
When I invoke the navigator and go to Setup > Accounts > Details, it goes to this URL:
https://acme.lightning.force.comnull/lightning/setup/ObjectManager/Account/Details/view
This occurs for any standard or custom object.
This is happening on both OS X 12.7 and Windows 11. Chrome v. 118.0.5993.70
When using the '?' command to trigger a global search and hitting return, then nothing happens.
The Chrome console shows this
main.js:85 Uncaught Error: Extension context invalidated.
at goToUrl (main.js:85:55)
at invokeCommand (main.js:81:5)
at kbdCommand (main.js:378:4)
at E (mousetrap.min.js:22:1095)
at Object.S [as handleKey] (mousetrap.min.js:22:1480)
at HTMLInputElement.x (mousetrap.min.js:22:1723)
goToUrl @ main.js:85
invokeCommand @ main.js:81
kbdCommand @ main.js:378
E @ mousetrap.min.js:22
S @ mousetrap.min.js:22
x @ mousetrap.min.js:22
Just making sure I have a reminder
Great work on the new release, pretty much all the stuff that bothered me you fixed.
When there are certain menu options missing, is the best way to notify you to raise a ticket? I'm not sure how dynamic the process is, or if you just have to add them all manually.
The first one I've noticed is the "DKIM Keys" screen - /lightning/setup/EmailDKIMList/home
This isn't urgent in any way, just thought I'd get it logged.
Not working on Classic or Lightning when clicking on Ctrl + Shift + Space on Sandbox.
Getting an error:
Uncaught TypeError: Cannot read properties of undefined (reading 'setBadgeText')
at main (popup.js:7:23)
at HTMLDocument. (popup.js:3:2)
Still getting the classic links, particularly on the flow screen. The current link to flow is :
https://x.lightning.force.com/300?setupid=InteractionProcesses&retURL=%2Fui%2Fsetup%2FSetup%3Fsetupid%3DWorkflow
Should be something like https://x.sandbox.lightning.force.com/one/one.app#/setup/Flows/home
On version 3.2.13.
@dannysummerlin - was a release rolled back recently?
I had new links available that went directly to the correct Lightning pages but in the last day or so(?) they are no longer available,and nearly all links directl to the Classic pages instead
force-navigator/app/scripts/background.js
Line 26 in a3af7a8
The link generated for the "All Sites" page gets the extension URL or something embedded in it? Didn't seem to happen in the chrome version, just the
Example below.
https://xx.lightning.force.commoz-extension//2dd8a1de-7697-47f6-802b-4e6e7a7c36ca/_ui/networks/setup/SetupNetworksPage
force-navigator/app/scripts/shared.js
Line 200 in 19448ad
I'm going to add some sort of check to make sure "Flows" takes priority over "Login Flows", because 99% of the time it is "Flows" I actually want.
When I open a custom object via the extension shortcut, the URL is like:
https://orgname.sandbox.lightning.force.com/lightning/setup/ObjectManager/**_CustomObject__c_**/PageLayouts/view
When trying to create a new field, page layout... I have this error:
This error does not exist with standard navigation.
The URL is with an Id with the standard navigation:
https://orgname.sandbox.lightning.force.com/lightning/setup/ObjectManager/**_01I7Q000002a21L_**/PageLayouts/view
Firefox requires a bit of extra configuration for the extension to fully function since it blocks a lot more by default.
I'm happy to submit a PR for this, but wasn't sure which file to update.
Searching for "profiles" (Setup > Manage Users > Profiles), should take me to the profiles page in Lightning Experience (Anticipated URL: https://<salesforce-domain>/lightning/setup/Profiles/home
)
Currently the navigator takes you to a dead link/404 page:
https://<salesforce-domain>/lightning/setup/EnhancedProfiles/home
This occurs regardless of whether "Enable Improved Setup User Interface" is enabled or disabled in the org (Found under Setup > Customize > User Interface)
Hi Danny, I've tried running npm run format
and the result is a ton of changes. It seems that the formatting definition is not aligned with the current code format shape. For example the .editorconfig
states indent_style = space
but most of the code is formatted with tabs. Including a patch from my IDE. It also could be some of my local setting overriding the repo setup, using JetBrains IntelliJ Idea.
I've reported this on the Chrome Store but figured it would be useful here too. The add-on works perfectly on my Production but not in either of my Sandboxes (Full and Dev) - none currently have a custom domain setup.
When pressing the shortcut key on my Mac I get this in the Chrome console
Uncaught TypeError: Cannot read property 'style' of null at <anonymous>:2:48
Which points to
document.getElementById("sfnav_searchBox").style.zIndex = 9999
this seems unnecessary:
"Setup > Release Updates": {
"url": "/ui/setup/releaseUpdate/ReleaseUpdatePage?setupid=ReleaseUpdates&retURL=%2Fui%2Fsetup%2FSetup%3Fsetupid%3DAdminSetup",
"key": "Setup > Release Updates"
},
"Setup > Manage Users > Users": {
"url": "/005?isUserEntityOverride=1&retURL=%2Fui%2Fsetup%2FSetup%3Fsetupid%3DUsers&setupid=ManageUsers",
"key": "Setup > Manage Users > Users"
},
It would be awesome if the extension would have an option to “open currently open record in classic” and vice versa
It seems like the CSP Trusted Site Definition isn't needed for the extension to function as the description indicates...what was it that did not function when that wasn't added? It's possible I'm just unaware of what isn't working.
Only tested in Firefox, but this seems like something that wouldn't be browser dependent.
This is the first one I noticed, new URL, but mostly could use a going over
force-navigator/app/scripts/shared.js
Line 153 in 6297376
When it works, it works like a charm, but the only problem I see is that for some of the orgs it does not work but for some it does. It really is behaving based on the org and I am not sure why. For example - this is working on the domain "https://bataustria--uat.sandbox.lightning.force.com/". But not on domain "https://ptorg--aotfpoc.sandbox.lightning.force.com/"
Could you please help if you are aware of this issue? Is this expected and what is the resolution to make it work on every org?
Issue still persistent. Works in dev org with more security settings, but not in sandbox/production with less security settings. Both use enhanced domain
Sandbox/production does have a custom domain, but I made a CSP for the classic URL. Still no dice
Originally posted by @VAscendedSaiyan in #29 (comment)
Hi, after the last update I am missing few important navigation items:
all site
but that is now not availablepaused flow
but that is now not availableplease make those available.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.