GithubHelp home page GithubHelp logo

capeterson / grey-tab Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 9.0 594 KB

Chrome extension for making developing and supporting force.com apps less panful.

License: BSD 3-Clause "New" or "Revised" License

HTML 3.91% JavaScript 95.83% CSS 0.26%

grey-tab's People

Contributors

boxfoot avatar capeterson avatar cstupi avatar mickle00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

grey-tab's Issues

Remove background page dependency (stop the "running in background" message)

Grey tab currently uses a background page to cache organization metadata and internal log messages. There's an alternative, event pages (and the alarms API to replace our use of setInterval()) which only live as long as they need to and don't trigger this warning.

It's a fair bit of code to update, and we'd have to cache in localStorage or the like, but it should lower memory use and fix the scary message about running when chrome is fixed that shows up on windows.

extension requires an icon

Could not load extension from 'C:\Users...\Sites\Grey-Tab'. Could not load icon 'icon.png' for browser action.

Can't obtain Record Details for objects that have lots of fields

If a user has access to a lot of fields, the query for the record's data can come back with the exception "QUERY_TOO_COMPLICATED: Query is either selecting too many fields or the filter conditions are too complicated.". The popup in the extension says "undefined" but that is the error behind the scenes. Could you do multiple requests for the field data, limiting each query to the max number of fields allowed per query, then combine all of the data in the end? It's frustrating when users can use this great extension feature on certain objects but then can't on others.

Add User/Org info to session tab

This was temporarily removed due to it showing improper results in some cases. This will be readded along with more UserInfo details in the future.

Expired sessions are still cached

If your session to an organization expires and a new session is issued for the same user/org combination the old sessionId will be used, which causes an exception due to the invalid session.

Restarting chrome or disabling and re-enabling the extension is a workaround but quite ugly.

Not Working with sandboxes

Hello ,

The Grey tab is not working with sandboxes recently.

When we open the tab is shows ads below.
Org Id: undefined
Host: hostname
SessionId:

On record detail page it shows
An error occured trying to load record details: undefined

image

lightning ui support

Adding support for LUX would be awesome.. Seems doable -at least in my non-expert eyes- since the record ID is still being used.

Allow querying all data for deleted records

If a user is viewing a deleted record (the standard salesforce "this record has been deleted" page) then pressing the "Record Details" tab should still work by making a call to queryAll instead of query to return the full details of the deleted object.

Unable to view record details of standard Product2 object records

Works as expected on custom objects as well as objects like Person Accounts, but when accessed from a Product2 record page, session and org details are displayed as expected - but when clicking on Record Details the following error pops up: "An error occured trying to load record details: undefined"

Otherwise excellent tool!

Viewstate counting is broken

VF seems to have added a "i:" preamble to the base64 string. Need to strip this in pageinfo.js before base64 decoding.

Error message keeps popping since last week

When trying to use Grey tab on a SFDC record, i got an error message popping and i don't know where is the issue coming from.

The error (screenshot attached
greytab error)
says:

Error
An error occured trying to load record details: undefined

No support for visualforce pages

Visualforce pages have a totally unique sessionId that isn't valid for API calls.

Grey Tab needs to be modified to pul in the sid cookie for the "proper" salesforce domain using the chrome.coomies API to get a valid ssessionId.

Support code search

Taking a great idea from the dev console (which requires a bunch of permissons to open that you don't actually need to implement code search): implement a search across apex classes/triggers and visualforce pages/components for a specific string via SOSL.

No way to force a cache clear if metadata is changed

e.g. if a new object is created after the global describe is fetched the record details tab won't work with it as it's not in the cache.

Proposal: clear the global describe is an unknown recordId prefix is found, and add a button to clear the metadata cache for the current connection to the UI.

Old connection data should be cleared

The max salesforce session timeout is 12 hours - it makes no sense to keep inactives connections cached longer than this. While it's possible they might be valid it ends up as something of a memory leak if you access large numbers of orgs.

Proposal: include a last used timestamp on each connection and if it's >4 hrs (subject to configuration). They will be re-initialized on next use anyways, so the only penalty to this is a few extra API calls if the session was still valid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.