Compare commits

..

4 Commits

Author SHA1 Message Date
estrogen elf 94902c635e Increment version 2025-12-18 08:35:12 -06:00
estrogen elf d005e5ac56 Update thingies in about page 2025-12-18 08:34:32 -06:00
estrogen elf 221f21caa9 Merge pull request #9 from AoshiW/fix-Oopsies-Dialog-Spam 2025-12-18 08:26:01 -06:00
AoshiW b9f1b5a51e fix Oopsies Dialog Spam 2025-12-18 00:09:48 +01:00
4 changed files with 18 additions and 3 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 72 KiB

+1 -1
View File
@@ -11,7 +11,7 @@
<AvaloniaXamlIlDebuggerLaunch>False</AvaloniaXamlIlDebuggerLaunch>
<ApplicationIcon>app.ico</ApplicationIcon>
<AssemblyName>NeedleworkDotNet</AssemblyName>
<AssemblyVersion>0.14.0.0</AssemblyVersion>
<AssemblyVersion>0.14.1.0</AssemblyVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<AvaloniaXamlVerboseExceptions>False</AvaloniaXamlVerboseExceptions>
</PropertyGroup>
@@ -29,6 +29,8 @@ public partial class WebSocketViewModel : PageBase, IEnableLogger
{
private Dictionary<string, EventMessage> _events = [];
private readonly AvaloniaList<EventViewModel> _filteredEventLog = new();
private readonly IFlurlClient _githubUserContentClient;
private readonly NotificationService _notificationService;
@@ -53,7 +55,20 @@ public partial class WebSocketViewModel : PageBase, IEnableLogger
public CancellationTokenSource TokenSource { get; set; } = new();
public IReadOnlyList<EventViewModel> FilteredEventLog => string.IsNullOrWhiteSpace(Search) ? EventLog : [.. EventLog.Where(x => x.Key.Contains(Search, StringComparison.InvariantCultureIgnoreCase))];
public IReadOnlyList<EventViewModel> FilteredEventLog
{
get
{
IEnumerable<EventViewModel> events = EventLog;
if (!string.IsNullOrWhiteSpace(Search))
{
events = events.Where(x => x.Key.Contains(Search, StringComparison.InvariantCultureIgnoreCase));
}
_filteredEventLog.Clear();
_filteredEventLog.AddRange(events);
return _filteredEventLog;
}
}
[ObservableProperty]
private Vector _eventLogOffset = new();
@@ -46,7 +46,7 @@
<controls:UserCard UserImage="/Assets/Users/aoshiw.png"
UserName="AoshiW"
UserGithub="AoshiW">
For PR.
For PRs that we needed the most.
</controls:UserCard>
</WrapPanel>
</ScrollViewer>