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

Additional customizations to dialog boxes #494

Closed
cmdcolin opened this issue Jul 11, 2014 · 3 comments
Closed

Additional customizations to dialog boxes #494

cmdcolin opened this issue Jul 11, 2014 · 3 comments
Labels
feature req this adds new functionality to JBrowse 1

Comments

@cmdcolin
Copy link
Contributor

The ability to customize dialog boxes was introduced in jbrowse 1.11.3. There are a couple of use cases that still remain that could be added

  • Ability to access feature information inside a callback. Currently only the data item that is being customized is available to the callback. This can be useful if you wanted to for example access to ID when you are customizing the name field (to add a link out for example).
  • Ability to remove specific fields entirely. This has been requested several times on the mailing list. Also add ability to add a new fields.
@cmdcolin
Copy link
Contributor Author

"RE: the ability to access feature information inside a callback": This can also help you customize top level features instead of "subfeature" attributes by calling feature.get('type') in your callback

Also, here's a reference of current status of this feature http://gmod.org/wiki/JBrowse_Configuration_Guide#Customizing_parts_of_the_.27View_details.27_Pop-ups_with_callbacks

@cmdcolin
Copy link
Contributor Author

Added: allow user to access the feature object from within the callback functions
Added: allow user to remove a field entirely by returning null from fmtDetailField callback
Added: allow user to make mouse over/yellow style box using fmtDetailDescription
Added: disable application of callback functions to the "About track" panel
Added: customizable fmtMetaField/fmtMetaValue/fmtMetaDescription callbacks for the "About track" panel

cmdcolin added a commit that referenced this issue Aug 1, 2014
…e and view details dialogs, and example of multiline callback for VCF. See #489 and #494 for reference
cmdcolin added a commit that referenced this issue Aug 26, 2014
…the name field of the View details popups. See #494
@cmdcolin
Copy link
Contributor Author

cmdcolin commented Sep 5, 2014

The changes so far have been documented here http://gmod.org/wiki/JBrowse_Configuration_Guide#Additional_customizations_to_the_pop-up_boxes
Unless there are specific requests from users I will close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature req this adds new functionality to JBrowse 1
Projects
None yet
Development

No branches or pull requests

1 participant