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

Add File watcher and Mapbox Style support #34

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

panaaj
Copy link
Member

@panaaj panaaj commented Sep 27, 2024

This PR includes the following changes:

  1. Adds a file watcher to charts folders to detect new files placed in the folder. This makes the new charts available to subsequent requests without having to restart the plugin (Feature request - Possible to re-read charts on the fly? #28).

  2. Adds support for processing mapbox style json files placed in the folder paths configured in the plugin settings, which will in-turn produce a chart metadata entry.

Removing the use of a shared path aligns better with multi-provider support.
Tile paths have a fully qualified path, remove use of relative path.
@panaaj panaaj added enhancement New feature or request feature labels Sep 27, 2024
@panaaj panaaj changed the title Mapbox Style support WIP: Mapbox Style support Sep 27, 2024
@panaaj panaaj requested review from tkurki and sbender9 October 2, 2024 06:46
@panaaj panaaj changed the title WIP: Mapbox Style support Add Mapbox Style support Oct 2, 2024
@panaaj panaaj changed the title Add Mapbox Style support Add File watcher and Mapbox Style support Nov 30, 2024
@panaaj
Copy link
Member Author

panaaj commented Nov 30, 2024

@tkurki Can you please review and if all is OK it's good to publish.

This code seemed to solve Freeboard-SK issue SignalK/freeboard-sk#211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant