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

minimap plugin: added ability to use a customized regions plugin #1943

Merged
merged 39 commits into from
May 12, 2020

Conversation

marizuccara
Copy link
Contributor

Short description of changes:

To support customized regions plugin, it was added new parameter into minimap plugin, regionsPluginName, which could be setted to your custom region plugin name.

Breaking in the external API:

New parameter regionsPluginName for minimap plugin.

  • Its default value is 'regions'
  • If you setted showRegions to true and you're using a customized regions plugin calling it with a custom name, set its name to regionsPluginName parameter

Breaking changes in the internal API:

  • Added regionsPluginName in minimap parameters
  • Added new variable this.regionsPlugin, so it can be accessed from outside

Related Issues and other PRs:

PR #1934 #1928

marizuccara and others added 30 commits October 7, 2019 13:00
… HTML5 audio tag and use it with WebAudio features.
- Put the possibility of handle audio tag with API Web Audio directly in the MediaElement backend, setting a new wavesurfer boolean parameter, 'mediaElementWebAudio', to true.
- fixed version number and switch-case
marizuccara added 8 commits May 3, 2020 21:16
…for Region class, and moved both to plugin/regions dir

- added findInDirectory function in the plugin build file, so the plugins entries can be found also if in deeper directories, recursively
# Conflicts:
#	CHANGES.md
#	src/plugin/regions/region.js
- updated the way of building plugins, in particular using parent directory name for the plugin when its name is index.js
- updated versioning and comments
… plugin through a new parameter `regionsPluginName`
@coveralls
Copy link

coveralls commented May 11, 2020

Coverage Status

Coverage remained the same at 80.62% when pulling 5b5cf6c on marizuccara:master into f1a9429 on katspaugh:master.

@marizuccara
Copy link
Contributor Author

Hi, I think that the plugin inheritance example should be updated, because we removed all private methods, so we can override them, instead of copying. What do you think? If yes open another pull request or reopen the old one?

@thijstriemstra thijstriemstra changed the title Added the ability to use a customized regions plugin in the minimap plugin minimap plugin: added ability to use a customized regions plugin May 12, 2020
@thijstriemstra
Copy link
Contributor

What do you think? If yes open another pull request or reopen the old one?

Sounds good; in a new one.

Copy link
Contributor

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@thijstriemstra thijstriemstra merged commit a3712fb into katspaugh:master May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants