Hotfix 0.1.9.1 - Update API & Double notification & Update Penumbra API Ref

This commit is contained in:
2025-09-29 02:10:03 +02:00
parent fca730557e
commit 7706ef1fa7
9 changed files with 54 additions and 26 deletions

View File

@@ -169,11 +169,19 @@ public sealed class ChangelogUi : WindowMediatorSubscriberBase
{
return new List<ChangelogEntry>
{
new(new Version(0, 1, 9, 1), "0.1.9.1", new List<ChangelogLine>
{
new("Début correctif pour la bulle de frappe."),
new("Les bascules de synchronisation n'affichent plus qu'une seule notification résumée."),
}),
new(new Version(0, 1, 9, 0), "0.1.9.0", new List<ChangelogLine>
{
new("Il est désormais possible de configurer par défaut nos choix de synchronisation (VFX, Music, Animation)."),
new("La catégorie 'En attente' ne s'affice uniquement que si une invitation est en attente"),
new("(EN PRÉ VERSION) Il est désormais possible de voir quand une personne appairé est en train d'écrire avec une bulle qui s'affiche."),
new("La catégorie 'En attente' ne s'affiche uniquement que si une invitation est en attente"),
new("(EN PRÉ VERSION) Il est désormais possible de voir quand une personne appairée est en train d'écrire avec une bulle qui s'affiche."),
new("(EN PRÉ VERSION) La bulle de frappe s'affiche également sur votre propre plaque de nom lorsque vous écrivez."),
new("Les bascules de synchronisation n'affichent plus qu'une seule notification résumée."),
new("Correctif : Désormais, les invitation entrantes ne s'affichent qu'une seule fois au lieu de deux."),
}),
new(new Version(0, 1, 8, 2), "0.1.8.2", new List<ChangelogLine>

View File

@@ -294,8 +294,7 @@ public class CompactUi : WindowMediatorSubscriberBase
{
_configService.Current.DefaultDisableSounds = state;
_configService.Save();
PublishSyncDefaultNotification(soundSubject, state);
Mediator.Publish(new ApplyDefaultsToAllSyncsMessage());
Mediator.Publish(new ApplyDefaultsToAllSyncsMessage(soundSubject, state));
},
() => DisableStateTooltip(soundSubject, _configService.Current.DefaultDisableSounds));
@@ -304,8 +303,7 @@ public class CompactUi : WindowMediatorSubscriberBase
{
_configService.Current.DefaultDisableAnimations = state;
_configService.Save();
PublishSyncDefaultNotification(animSubject, state);
Mediator.Publish(new ApplyDefaultsToAllSyncsMessage());
Mediator.Publish(new ApplyDefaultsToAllSyncsMessage(animSubject, state));
},
() => DisableStateTooltip(animSubject, _configService.Current.DefaultDisableAnimations), spacing);
@@ -314,8 +312,7 @@ public class CompactUi : WindowMediatorSubscriberBase
{
_configService.Current.DefaultDisableVfx = state;
_configService.Save();
PublishSyncDefaultNotification(vfxSubject, state);
Mediator.Publish(new ApplyDefaultsToAllSyncsMessage());
Mediator.Publish(new ApplyDefaultsToAllSyncsMessage(vfxSubject, state));
},
() => DisableStateTooltip(vfxSubject, _configService.Current.DefaultDisableVfx), spacing);
@@ -355,13 +352,6 @@ public class CompactUi : WindowMediatorSubscriberBase
return $"Synchronisation {context} par défaut : {state}.\nCliquez pour modifier.";
}
private void PublishSyncDefaultNotification(string context, bool disabled)
{
var state = disabled ? "désactivée" : "activée";
var message = $"Synchronisation {context} par défaut {state}.";
Mediator.Publish(new DualNotificationMessage("Préférence de synchronisation", message, NotificationType.Info));
}
private void DrawAddCharacter()
{
ImGui.Dummy(new(10));

View File

@@ -1086,7 +1086,9 @@ public class SettingsUi : WindowMediatorSubscriberBase
var useNameColors = _configService.Current.UseNameColors;
var nameColors = _configService.Current.NameColors;
var autoPausedNameColors = _configService.Current.BlockedNameColors;
if (ImGui.Checkbox("Color nameplates of paired players", ref useNameColors))
var typingIndicatorNameplates = _configService.Current.TypingIndicatorShowOnNameplates;
var typingIndicatorPartyList = _configService.Current.TypingIndicatorShowOnPartyList;
if (ImGui.Checkbox("Coloriser les plaques de nom des paires", ref useNameColors))
{
_configService.Current.UseNameColors = useNameColors;
_configService.Save();
@@ -1096,7 +1098,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
using (ImRaii.Disabled(!useNameColors))
{
using var indent = ImRaii.PushIndent();
if (InputDtrColors("Character Name Color", ref nameColors))
if (InputDtrColors("Couleur du nom", ref nameColors))
{
_configService.Current.NameColors = nameColors;
_configService.Save();
@@ -1105,7 +1107,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
ImGui.SameLine();
if (InputDtrColors("Blocked Character Color", ref autoPausedNameColors))
if (InputDtrColors("Couleur des noms bloqués", ref autoPausedNameColors))
{
_configService.Current.BlockedNameColors = autoPausedNameColors;
_configService.Save();
@@ -1113,6 +1115,20 @@ public class SettingsUi : WindowMediatorSubscriberBase
}
}
if (ImGui.Checkbox("Afficher la bulle de frappe sur les plaques", ref typingIndicatorNameplates))
{
_configService.Current.TypingIndicatorShowOnNameplates = typingIndicatorNameplates;
_configService.Save();
}
_uiShared.DrawHelpText("Ajoute une bulle '...' sur la plaque des paires en train d'écrire.");
if (ImGui.Checkbox("Tracer la frappe dans la liste de groupe", ref typingIndicatorPartyList))
{
_configService.Current.TypingIndicatorShowOnPartyList = typingIndicatorPartyList;
_configService.Save();
}
_uiShared.DrawHelpText("Consigne dans les journaux quand une paire du groupe est en train d'écrire (bulle visuelle ultérieure).");
if (ImGui.Checkbox("Show separate Visible group", ref showVisibleSeparate))
{
_configService.Current.ShowVisibleUsersSeparately = showVisibleSeparate;