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

Refactor web extension class for re-use #379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kalikiana
Copy link
Member

@kalikiana kalikiana commented Sep 18, 2019

  • A new Extension base class supports both Peas plugins and web extensions
  • Preferences renders a list based on Extension instead of Peas' PluginManagerView
  • Separate loading and activation of web extensions
  • Allow loading of web extensions at runtime
  • Support icon and description for web extensions

Note: disabling of web extensions is not implemented here, a restart is still required.

Screenshot from 2019-09-18 20-31-19

On the screenshot you can't really "see" it unless you recognize the names of some of the Firefox example extensions. Web extensions don't look special, but they look the same as Gtk-based extensions. More importantly you can manage them in the GUI now.

You can test this by trying Borderify or Beastify by copying them to ~/.local/share/midori/extensions. (note that bugs with the extension itself won't be covered here, this is only about seeing if you can see them in the preferences and activate or deactive them).

@kalikiana kalikiana self-assigned this Sep 18, 2019
@kalikiana kalikiana marked this pull request as ready for review September 18, 2019 19:15
- A new Extension base class supports both Peas plugins and web extensions
- Preferences renders a list based on Extension instead of Peas' PluginManagerView
- Separate loading and activation of web extensions
- Allow loading of web extensions at runtime
- Support icon and description for web extensions

Note: disabling of web extensions is not implemented here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant