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

[NEW] Plugin API for custom UI modules [BETA] #913

Closed
exodus4d opened this issue Feb 1, 2020 · 0 comments
Closed

[NEW] Plugin API for custom UI modules [BETA] #913

exodus4d opened this issue Feb 1, 2020 · 0 comments
Assignees
Milestone

Comments

@exodus4d
Copy link
Owner

exodus4d commented Feb 1, 2020

New "plugin API" [BETA]:

The new "plugin API" provides an easy way for JS developers to code custom UI modules for Pathfinder.

Like default map modules ("Signatures", "Route", "Killboard",…), custom modules are auto loaded/rendered if a system or connection becomes active (e.g. selected by User) and/or the underlaying data structure changed.

"Custom modules" and "default modules" use the new "plugin API".

Demo:

There are two new UI modules added that demonstrate how the "plugin API" should be used.

demo_module2

Features:

  • Custom modules can be drag&dropped/sorted (like "default modules)
  • Custom modules have access to full map/system/connection data (like "default modules)
  • Custom modules get auto updated with new map data
  • Custom modules run in its own "scoped" context, where uncaught errors will not break other modules/functions

Some use cases for custom modules:

  • Embed I-Frames of other 3rd party EVE pages (e.g. Region map for current active system)
  • Send ajax requests to 3rd party APIs (e.g. ESI) for more data that can be rendered inside the module. (e.g. market ISK prices, killboard statistics,…)
  • Embed any kind of chat/widget...
@exodus4d exodus4d added this to the v2.0.0 milestone Feb 1, 2020
@exodus4d exodus4d self-assigned this Feb 1, 2020
@exodus4d exodus4d mentioned this issue Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant