Refactor project configuration to use .json format

- Replaced the legacy .json5 project file with a new .json format for `plugin.project.json`.
- Updated `build.rs` to prioritize the new .json format while maintaining backward compatibility with .json5.
- Made adjustments to the Confirming.lua file to enhance UI consistency.
- Improved metadata handling in snapshot middleware to support both modern and legacy file extensions.
This commit is contained in:
Joe 2026-01-30 10:06:32 -06:00
parent 5f059dbc16
commit 5a85c5145c
7 changed files with 50 additions and 24 deletions

View file

@ -327,18 +327,18 @@ function ConfirmingPage:render()
self:setState({ showingAcceptConfirm = false })
end,
}, {
Content = e("Frame", {
Size = UDim2.fromScale(1, 1),
BackgroundColor3 = theme.Background2,
BorderSizePixel = 0,
}, {
Message = e("TextLabel", {
Text = string.format(
"%d item%s not been reviewed.\n\nAccept selected changes and skip the rest?",
self.state.unselectedCount,
self.state.unselectedCount == 1 and " has" or "s have"
),
FontFace = theme.Font.Regular,
Content = e("Frame", {
Size = UDim2.fromScale(1, 1),
BackgroundColor3 = theme.BackgroundColor,
BorderSizePixel = 0,
}, {
Message = e("TextLabel", {
Text = string.format(
"%d item%s not been reviewed.\n\nAccept selected changes and skip the rest?",
self.state.unselectedCount,
self.state.unselectedCount == 1 and " has" or "s have"
),
FontFace = theme.Font.Main,
TextSize = theme.TextSize.Body,
TextColor3 = theme.TextColor,
TextWrapped = true,