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

9 Commits

Author SHA1 Message Date
Xjph
e7f7250c08 Correcting version check 2022-04-04 21:22:51 -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
Xjph
889825275d
New feature: Monitor on start (#42)
* Implement monitor on start

* finish implementation of monitor on start
2021-12-18 12:21:07 -03:30
Xjph
908ea59b20 feat: update check 2021-10-22 22:42:44 -02:30
Fred Kuipers
453ff2f793 Make Pre-read act similarly to "Read All"
This has the effect of suppressing notifications when restoring current system context after initial click on "Start Monitor".
2021-08-15 17:19:13 -04:00
Fred Kuipers
2d672e9c2a Implement scorlling BasicUIView grids to the bottom plus refactoring
Upon arrival of new records to the backing ObservableCollection, scroll the DataGrid to the last item. However, when the DataGrid is initialized, there's not yet a data context set, so when that happens, then we can listen to the CollectionChanged event to trigger scrolling (only really needed for additions).

In passing, also set the DataGrid to ReadOnly.

In the other two files, minor simplifications/cleanup.
2021-06-21 20:04:17 -04:00
Xjph
c76152d706 Added github and donate links. 2021-06-06 13:53:52 -02:30
Xjph
d591ec7f69 Notify workers when read all process is finished. 2021-06-06 10:35:50 -02:30
Xjph
a5154996ee Add project files. 2021-06-03 22:25:32 -02:30