2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00

8 Commits

Author SHA1 Message Date
Xjph
3fe3ef9901 Updated versioning 2022-04-04 12:29:59 -02:30
F K
a6408814f7
Add colony distance support to Botanist grid and notification (#69)
Fixes Xjph/ObservatoryCore/67.

Tested via read-all and realtime while collecting a sample. 

Required a bit of refactoring to use discrete classes for the main data structure vs. tuples. I think  worked out nicely though.
2022-03-23 08:17:34 -02:30
F K
4f4ba88878
Add event-based LogMonitor state changes to better handle batch reads (#59)
* Add event-based LogMonitor state changes to better handle batch reads

Pre-reading hackily used read-all to suppress notifications. But that broke some assumptions about what read-all meant. Furthermore, the Core UI told plugins about read-all rather than the log monitor telling them -- which is really what should be telling them.

To address these concerns, LogMonitor now provides an event that both the PluginCore and PluginEventHandler listens to or tracking logging state allowing more granular information about the activities of LogMonitor, including distinguishing between ReadAll and Pre-read batches. Plugins no longer need to track if LogMonitor is in batch-read mode or not -- PluginCore now provides it. 

I've also converted all built-in plugins to use the new event-based system. The old system is marked deprecated and will go away once other known contributed plugins have converted to the new system.

* Change LogMonitorState enum to [Flags], drop 'None' state

As requested, and did associated simplifications and cleanup that followed.
2022-03-03 16:39:49 -03:30
F K
9367114cff
Show notification with genetic sampling status while in progress (#51)
* Show notification with genetic sampling status while in progress

When first sample is taken, the notification is displayed showing what was sampled and number of samples taken. Number of samples taken is updated on the second sample. Notification is removed when the final sample is taken.

* Add setting and additional notification cleanup conditions

As requested:
- Added a setting to control the genetic sampler overlay.
- Added a few  more conditions (FSDJump, LeaveBody, Shutdown) to clean up the notification.
2022-01-23 11:04:52 -03:30
Xjph
2806c1f081 quote paths in post-build commands 2021-10-27 18:59:04 -02:30
Xjph
a21fe442ad updated pre/post-build actions 2021-10-26 19:46:00 -02:30
xjph
010c39f91f linux post-build support 2021-10-24 19:12:59 -02:30
Xjph
4c1031b8f9
Reorganize all observatory core projects into monorepo (#25)
* chore: move all observatory repos to core

* only save journal folder on change, don't constantly re-check during monitoring

* chore: monorepo project changes

* chore: monorepo migration
2021-10-21 19:31:32 -02:30