2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 08:23:42 -04:00
Commit Graph

117 Commits

Author SHA1 Message Date
2807ea21b8 *not* exists... 2021-10-26 19:59:51 -02:30
a21fe442ad updated pre/post-build actions 2021-10-26 19:46:00 -02:30
c0cc115545 more reliable fallback for default directory 2021-10-26 19:36:57 -02:30
a2700d6dc0 save potential settings change after action 2021-10-26 08:31:25 -02:30
90fe467694 avoid hardcoded namespace URI 2021-10-25 10:56:47 -02:30
49636e8522 fix regression on spelling out body labels 2021-10-25 10:32:53 -02:30
f6fe653274 more tweaks for linux building 2021-10-24 19:24:17 -02:30
9e9659f71b Added HttpClient to Core interface. 2021-10-24 13:02:37 -02:30
212c8ec209 Add "action" setting type to create buttons. 2021-10-24 12:34:30 -02:30
310287b0af allow multiple simultaneous popup notifications to vertically stack 2021-10-23 15:47:38 -02:30
08a8aa3156 don't save empty fileinfo settings 2021-10-23 13:03:22 -02:30
5e8891c75f inject voice element into ssml without voice specified 2021-10-23 12:35:05 -02:30
66eb0e5e95 use basic ssml in speech test button to ensure normal functionality 2021-10-23 12:34:48 -02:30
41334ae375 feat: wire up core methods for updating and cancelling notifications 2021-10-23 11:19:25 -02:30
908ea59b20 feat: update check 2021-10-22 22:42:44 -02:30
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
a2261a5c6c feat: add plugin folder button 2021-10-18 10:33:42 -02:30
5edb32e8c7 feat: save text fields on focus loss 2021-10-16 12:31:12 -02:30
330f30c5e7 fix: string settings not saving 2021-10-16 11:59:42 -02:30
5159500644 Notification overhaul and update to avaloniaui 0.10.7 2021-10-12 20:45:00 -02:30
840ccad5bf add scale and timeout notification settings 2021-09-13 10:16:18 -02:30
289df0751a prevent exception when testing with no voice 2021-09-13 09:48:16 -02:30
b18f57b16f version bump 2021-09-06 18:38:48 -02:30
14a3998311 improve icon handling 2021-09-06 18:27:19 -02:30
7bb5a97696 include file name in error report 2021-09-06 18:18:54 -02:30
cd28a49647 use friendlier names for display 2021-09-04 19:35:42 -02:30
68e663c7f0 don't show notification window in taskbar 2021-09-04 18:40:18 -02:30
c883821fb6 voice notifications and settings UI rework 2021-09-04 18:36:03 -02:30
2070aa1c98 the rest of the settings commit 2021-09-04 18:35:30 -02:30
e68d8d0690 Save main window position/size. 2021-09-04 18:34:55 -02:30
c6daa10d0c New settings to support upcoming changes. 2021-09-04 18:34:31 -02:30
78ffcc167b feat: better internal handling for plugin settings 2021-09-04 15:20:52 -02:30
f644a56918 increase github and donate link sizes 2021-08-29 20:32:33 -02:30
7d2cc417ba feat: cosmetic overhaul of native notification popup (#13)
* feat: cosmetic overhaul of native notification popup

* fix: use correct screen default

* feat: move notification test from debug build type to button press

* fix: not debug anymore

* fix: rearrange native notification settings controls

* fix: account for display scaling when positioning notification

* fix: guard against a screen that no longer exists

* fix: safer way to get screens, in case control tree changes
2021-08-29 20:27:20 -02:30
4cebc3a344 Add application icon 2021-08-20 08:19:47 -02:30
F K
f7d5aa4bd2 Ensures notify-only plugin configuration UI is rendered (#12)
Switching the basic Announcer plugin to implement only `IObservatoryNotifier`, I noticed the config UI went missing. This PR fixes that.
2021-08-19 08:31:46 -02:30
e9a4f873b5 Merge pull request #10 from fredjk-gh/PreReadAsReadAllSettingsUIFixes
Implement int settings; de-dupe plugin table and show types, etc
2021-08-17 10:59:55 -02:30
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
e523dddfe3 Revert LogMonitor/CoreViewModel changes, implement Slider int setting
Also revert the PluginType enum.


Fix more whitespace
2021-08-15 17:02:35 -04:00
73c9b94b0f Remove auto-generated method 2021-08-14 00:19:02 -04:00
3c3aca8bfd Enclose pre-read with Read-all; de-dupe plugin table and show types, etc
A few changes in preparation for the upcoming Announcer plugin.
1) De-dupe entries in the plugin table in the core settings UI when a plugin implements both Worker and Notifier interfaces.
2) Also add a "Types" column to the plugin table indicating the set of implemented interfaces found.
3) Wrap the pre-reading logic in "Read-all" scope to properly suppress  a stampede of notifications (particularly audio ones) when starting the log monitor.
4) Fix the int setting UI. It rendered incorrectly, it didn't get the value from the settings class, nor wrote it back. Also implemented optional value bounding using the new setting attribute (see the related Framework PR). 
5) Applied similar fixes to string setting (addressed rendering, write-back although untested).
6) Minor visual fixes (height/vertical alignment) for non-boolean settings to address cut-off/overlapping inputs.

Sorry for the larger PR, but these *should* be all the loose ends before we could consider including Basic Announcer...
2021-08-14 00:14:13 -04:00
a4ad2fdd7d Fixes to PluginManager for proper Notifier plugin handling
Addresses 2 issues:
1) If a single plugin class implemented both the Worker and Notifier interfaces, multiple instances of the class were created, meaning no shared state within the plugin. Now only 1 instance is created.
2) Plugins implementing only Notifier weren't properly loaded.
2021-08-10 00:44:14 -04:00
51c9dc6c52 Update LogMonitor.cs
fix minor spelling error
2021-07-21 08:33:45 -02:30
13fecfa395 Add a setting to control pre-reading behavior
Also makes adding new rows to the settings grid a little more dynamic.
2021-07-20 19:35:33 -04:00
1ce63c40fc Implement "Pre-reading" of current system context when starting monitor
The first time you click "Start monitor" (assuming you haven't read-all), we read the last 2 log files to find the journal entries for the last system jumped into (if we can find the FSDJump entry) in order to re-populate the information in all interested plugins. Its much faster than reading all to restore current system context.

- For Botanist plugin, this will display what plants/planets you've already sampled and avoids placeholder planet entries with incorrect bio counts.
- For Explorer, it re-lists interesting items, in case you weren't done exploring the system.

See https://github.com/Xjph/ObservatoryCore/issues/5
2021-07-06 02:24:40 -04:00
8386586cdd Added checkbox to control native notifications. 2021-07-04 12:14:53 -02:30
93d691a1f6 Watchers being a little overzealous. 2021-06-30 08:35:18 -02:30
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
ce250e4f84 Don't throw exception when journal path doesn't exist. 2021-06-08 19:26:55 -02:30
2bc47a8647 Remove plugin signature enforcement. 2021-06-08 17:27:30 -02:30