Prepare changelog.

This commit is contained in:
Ottermandias 2024-01-15 21:38:25 +01:00
parent b53a2f1def
commit 0ff7e49e4d
3 changed files with 24 additions and 10 deletions

View file

@ -25,8 +25,8 @@ public class MessageService(Logger log, UiBuilder uiBuilder, IChatGui chat) : Ot
new UIForegroundPayload(0),
new UIGlowPayload(0),
new TextPayload(item.Name),
new RawPayload(new byte[] { 0x02, 0x27, 0x07, 0xCF, 0x01, 0x01, 0x01, 0xFF, 0x01, 0x03 }),
new RawPayload(new byte[] { 0x02, 0x13, 0x02, 0xEC, 0x03 }),
new RawPayload([0x02, 0x27, 0x07, 0xCF, 0x01, 0x01, 0x01, 0xFF, 0x01, 0x03]),
new RawPayload([0x02, 0x13, 0x02, 0xEC, 0x03]),
};
// @formatter:on

View file

@ -46,10 +46,29 @@ public class PenumbraChangelog
Add8_1_2(Changelog);
Add8_2_0(Changelog);
Add8_3_0(Changelog);
Add1_0_0_0(Changelog);
}
#region Changelogs
private static void Add1_0_0_0(Changelog log)
=> log.NextVersion("Version 1.0.0.0")
.RegisterHighlight("Mods in the mod selector can now be filtered by changed item categories.")
.RegisterHighlight("Model Editing options in the Advanced Editing Window have been greatly extended (by Ackwell):")
.RegisterEntry("Attributes and referenced materials can now be set per mesh.", 1)
.RegisterEntry("Model files (.mdl) can now be exported to the well-established glTF format, which can be imported e.g. by Blender.", 1)
.RegisterEntry("glTF files can also be imported back to a .mdl file.", 1)
.RegisterHighlight("Model Export and Import are a work in progress and may encounter issues, not support all cases or produce wrong results, please let us know!", 1)
.RegisterEntry("The last selected mod and the open/close state of the Advanced Editing Window are now stored across launches.")
.RegisterEntry("Footsteps of certain mounts will now be associated to collections correctly.")
.RegisterEntry("Save-in-Place in the texture tab now requires the configurable modifier.")
.RegisterEntry("Updated OtterTex to a newer version of DirectXTex.")
.RegisterEntry("Fixed an issue with horizontal scrolling if a mod title was very long.")
.RegisterEntry("Fixed an issue with the mod panels header not updating its data when the selected mod updates.")
.RegisterEntry("Fixed some issues with EQDP files for invalid characters.")
.RegisterEntry("Fixed an issue with the FileDialog being drawn twice in certain situations.")
.RegisterEntry("A lot of backend changes that should not have an effect on users, but may cause issues if something got messed up.");
private static void Add8_3_0(Changelog log)
=> log.NextVersion("Version 0.8.3.0")
.RegisterHighlight("Improved the UI for the On-Screen tabs with highlighting of used paths, filtering and more selections. (by Ny)")

View file

@ -3,19 +3,14 @@ using Penumbra.Services;
namespace Penumbra.UI.Tabs;
public class MessagesTab : ITab
public class MessagesTab(MessageService messages) : ITab
{
public ReadOnlySpan<byte> Label
=> "Messages"u8;
private readonly MessageService _messages;
public MessagesTab(MessageService messages)
=> _messages = messages;
public bool IsVisible
=> _messages.Count > 0;
=> messages.Count > 0;
public void DrawContent()
=> _messages.Draw();
=> messages.Draw();
}